Windows PowerShell is a Windows command-line shell designed
for ease-of-use not only by system administrators but also for application
and system developers. The shell includes an interactive prompt and a
scripting environment that can be used independently or in combination.
PowerShell V2 is available by default with both R2 and Windows 7 and, via
an optional update, previous versions of Windows.
For Developers specifically, Windows PowerShell in combination with the Windows
Management Infrastructure (WinRM, WS-Management, WMI) provides a great way
to automate server hosted solutions. For example, if you implement all
your administration logic via PowerShell, then layer the MMC GUI over the
top (i.e. MMC calls PowerShell to get the work done) - you will have given
your Enterprise customers the absolute best of all worlds; GUIs,
scripting, and delegated, remote automation.
Version 2 of Windows Powershell introduces an array of new features including
remote sessions, an integrated script environment, debugging tools, and
much more.
Hands-On Labs
-
PowerShell V2 for Developers
Version 2 of Windows PowerShell introduces an array of features including remoting,
an integrated script environment, debugging tools, and many more.
This lab will introduce you to many of these new features including the Integrated
Scripting Environment (ISE), remote sessions, and script debugger.
Videos
-
Windows PowerShell is Powerful Automation!
Learn about Windows PowerShell version 2.
See all videos within this topical category: http://channel9.msdn.com/tags/PSV2
-
Variables, Types, and Operators
Learn about Variables, Types, and Operators.
-
Arrays, Conditionals, Collections, and Loops
Learn about Arrays, Conditionals, Collections, and Loops.
-
Create Object CmdLets
Learn how to create your own Object CmdLets.
-
Remote Sessions
See demonstrations of how to create
and use Romote Sessions. Learn how to invoke remote commands, establish remote
session persistence, and enter an existing session.
-
Advanced Remote Sessions
See demonstrations of advanced
remoting concepts including command execution across a set of machines, session
connection optimization, user-prompts within remote sessions, background jobs,
connection state information, and passing session arguments.