The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
53 views

ping results are opened in new window when using powershell 4.0

Whenever I ping any IP using PowerShell, a new window pops up which displays the output, see the screenshot below. Please help in restoring to default i.e. ping results shown in the same PowerShell ...
1
vote
0answers
51 views

PowerShell Remote Defrag

I have the following code that works fine on my Windows 7 computer: $Defrag = Get-WmiObject Win32_Volume -Filter "DriveLetter='c:'" -ComputerName "SRLVHOMAPP01" | Invoke-WmiMethod -Name Defrag But ...
0
votes
0answers
10 views

Powershell Polyfill for Windows 7

Are there any polyfill libraries available to give you cmdlets released for Windows 8 (e.g. Get-PrinterProperty) in Windows 7. Failing that, is there a list of what additional PowerShell ...
0
votes
1answer
267 views

Test network ports faster with PowerShell

In Windows 8.1, the Test-NetConnection cmdlet is useful for checking the state of a network port on a remote system. However, it can be unnecessarily slow sometimes. I'd like to know if there's some ...
1
vote
1answer
335 views

Can't install PowerShell 4.0

I'm trying to install PowerShell 4.0 on a Windows 2008R2 server Installed Windows6.1-KB2819745-x64-MultiPkg.msu with no errors or warning But when I run up PowerShell and check the $host.version, ...
0
votes
1answer
79 views

Can't get powershell to return where results from GCI using ACL

I'm trying to get Powershell to list files in a directory that are older than a certain date and match a certain user. I've got the below script so far which gives me all the files older than a ...
3
votes
1answer
168 views

Get-ChildItem | tree gives me a wierdly formatted tree

The following input: PS STG:\> Get-ChildItem | tree Gives me Folder PATH listing for volume Data Volume serial number is 6576-C540 D:. ÃÄÄÄAPK ÃÄÄÄAssets ³ ÃÄÄÄAnimations ³ ³ ...
3
votes
1answer
299 views

Why does running PowerShell change my console font?

I have a strange problem on my laptop - when I run Powershell within an existing console window, the font choice for the window changes. For example, this is cmd.exe immediately after opening the ...
0
votes
1answer
263 views

Invoke-Sqlcmd not working after PowerShell 4 install

I installed PowerShell 4 yesterday and ever since then, I get the error "The term 'Invoke-Sqlcmd' is not recognized as the name of a cmdlet, function". This has been working just fine for months ...
2
votes
1answer
597 views

Can the default PowerShell terminal keep a command history?

Is there a way to have PowerShell remember commands entered during the previous sessions? That is, after closing the window and opening it again, can PowerShell be setup to remember the commands?
97
votes
7answers
71k views

Native alternative to wget in Windows PowerShell?

I know I can download and install the aformentioned library (wget for Windows), but my question is this: In Windows PowerShell, is there a native alternative to wget? I need wget simply to retrieve ...