Rob van der Woude's Scripting Pages

Getting Started with PowerShell

Microsoft's new scripting shell, formerly known as Monad or MSH

Operating System:
PowerShell 2.0 is installed by default on Windows 7 and Server 2008 R2, and can be downloaded for Windows XP SP3, Windows Server 2003 SP2, Windows Vista SP1 and Windows Server 2008 SP2.
PowerShell 4.0 is installed by default on Windows 8.1, and can be downloaded for Windows 7 and Windows 8.
For PowerShell 4.0 on Windows 7 and 8, Microsoft .NET Framework 4.5 is required.
PowerShell won't run on Windows Server 2008 Core, as the Windows Server 2008 Core configuration doesn't support any .NET Framework version.
Interpreter:
The interpreter is the "engine" that executes scripts.
It is installed by default on Windows 7 and Server 2008 R2 and later.
See "Operating System" above for requirements and download links.
For PowerShell 2.0, you may need to uninstall older versions of PowerShell first.
Security:
If you want to create and run your own PowerShell scripts, you need to digitally sign your scripts.
To create your own so called "self-signed" certificate you'll need makecert.exe that comes with the .NET Framework 2.0 SDK.
To learn more about signing your scripts, start a PowerShell shell, type get-Help about_signing and read this text carefully.
Then type get-Help Set-AuthenticodeSignature -detailed and read this text just as carefully.
In PowerShell Plus creating a "self-signed" certificate takes only a couple of mouse clicks.
Development software:
As of version 2.0, PowerShell comes with its own PowerShell Integrated Scripting Environment (ISE).
Several "third party" IDEs and code generators are available for PowerShell too.
Help files:
Most up-to-date, right now, are Microsoft's PowerShell pages on MSDN and TechNet.
Much of the help available on the web applies to PowerShell 1.0, but it is still valid.
Read the Windows PowerShell Owner's Manual.
Other help on the web:
Books:
I compiled a short list of books on PowerShell.
TechNet PowerShell 1.0 webcasts by Don Jones:
Samples:
Start by examining sample PowerShell scripts and exploring other PowerShell related sites.
Newsgroups:

page last uploaded: 2016-09-19, 14:57