Skip to main content

Questions tagged [powershell-3.0]

Microsoft’s command-line scripting language. V 3.0, which was introduced in Windows 8 and Server 2012, supports code autocompletion (IntelliSense). Remote sessions are more reliable, and there is a bigger selection of cmdlets and built-in functions.

355 votes
12 answers
625k 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 ...
jsalonen's user avatar
  • 9,111
283 votes
14 answers
374k views

Equivalent of Linux `touch` to create an empty file with PowerShell [duplicate]

Is there an equivalent of touch in PowerShell? For instance, in Linux I can create a new empty file by invoking: touch filename On Windows this is pretty awkward -- usually I just open a new instance ...
jsalonen's user avatar
  • 9,111
42 votes
3 answers
97k views

Is there a way to disable script echoing in the PowerShell ISE?

Whenever I want to test execution of my script in the PowerShell ISE, the entire script gets echoed to the console before it executes. Then, any actual output from the script gets written starting on ...
Iszi's user avatar
  • 13.9k
36 votes
5 answers
182k views

Using make from Windows PowerShell

Under Linux, sources of projects commonly come with Makefile's. Makefiles contain directives to build these projects using the command make. I am currently forced to use Windows, and so as to be able ...
Malte Skoruppa's user avatar
28 votes
13 answers
223k views

PowerShell Get List Of Folders Shared

I am trying to get a list of folders that are shared on a file share. At the moment I have two test folders: \\MYPC\Test1 \\MYPC\Test2 This is the code I have at the moment: $FileServer = Read-...
The Woo's user avatar
  • 477
9 votes
2 answers
22k views

Remote powershell permissions restricted to machine

I am unable to execute powershell scripts on a remote server, but only on my current machine - please help. Running the following script to give a list of a temp directory on the remote server works ...
WestDiscGolf's user avatar
8 votes
1 answer
4k views

How to lock Powershell ISE console output scroll?

I'm using Powershell ISE for running some batch scripts. The outputs will be long and these programs will run for quite a some time. The problem I'm facing is I'm unable to lock the console output to ...
Buddha's user avatar
  • 495
6 votes
3 answers
4k views

Upgrading Windows 7's PowerShell v3, to Windows 8's PowerShell v3

I have becoming increasingly aware that Windows 7's PowerShell v3 lacks cmdlets / functions and modules found in Windows 8's version of PowerShell 3. My question: Is there anyway of 'upgrading' ...
Guy Thomas's user avatar
  • 3,328
5 votes
1 answer
18k views

Is it possible to install PowerShell 3 on a Windows Server 2003 or 2003 R2?

On a Windows Server 2003 rig (which already has .NET 4 but no 4.5 on it) that is to be expired before the end of the year, I'd like to run a few PowerShell 3 scripts on a scheduled base as the scripts ...
Jeroen Wiert Pluimers's user avatar
4 votes
4 answers
14k views

Can't install Powershell 3.0

Im trying to install powershell 3.0 on my Win7 64 bit pc, but I get the error "the update is not applicable to your computer." After googling the error, all the solutions I see are that you need to ...
Keltari's user avatar
  • 73.6k
4 votes
2 answers
14k views

How do you install the NETTCPIP from Powershell 3.0 in Windows 7.0

How do you install the new NETTCPIP from PowerShell 3.0 in Windows 7.0? I've double checked what I've got installed with $host.version and it's showing as 3.0, so why aren't the new NET TCP/IP ...
SteveC's user avatar
  • 2,154
4 votes
0 answers
4k views

Changing current culture

I need to change the current culture for a script and nothing I tried works. I've tried using the Set-Culture cmdlet. I've trued setting [System.Threading.Thread]::CurrentThread.CurrentCulture. Is ...
Paulo Morgado's user avatar
3 votes
2 answers
7k views

What is psprovider in powershell?

I am new to PowerShell and trying to understand the concept of psprovider. I know I can use Get-PSProvider to show a list of available psproviders All of the help I am finding, assumes I know things ...
James Jenkins's user avatar
3 votes
1 answer
116 views

Is Exchange User Out of Office?

Finding Users Who Have "Out Of Office" Enabled In Exchange 2010 describes how to use PowerShell to determine if a user has his/her out-of-office setting enabled. However, it requires the use of the ...
Craig's user avatar
  • 909
3 votes
2 answers
640 views

Recall PowerShell command for edit

I know about the Invoke-History command (alias r) to recall and execute a previous command, e.g. r 29 but is there a way to recall command 29 but not execute it, i.e. put it into the current line you ...
munrobasher's user avatar

15 30 50 per page
1
2 3 4 5