Microsoft Windows PowerShell 3.0 first look - Driscoll, Adam (Packt Publishing, 2012)
A quick, succinct guide to the new and exciting features in PowerShell 3.0
Microsoft Windows PowerShell 3.0 First Look; Microsoft Windows PowerShell 3.0 First Look; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Instant Updates on New Packt Books; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Find What You're Looking for; The Show-Command cmdlet; Updatable contextual help; What help is made of
The Save-Help cmdletThe Update-Help cmdlet; The Get-Help cmdlet; The auto-discovery cmdlet; Understanding cmdlet auto-discovery; Things to know about auto-discovery; Summary; 2. Usability Enhancements; The problem with Where-Object and ForEach-Object; Fixing the problem with Where-Object; Fixing the problem with ForEach-Object; Enhancements to tab completion; Improvements to Get-ChildItem; The problem with Get-ChildItem; A better Get-ChildItem; Summary; 3. Improved Administration; Scheduling jobs; Creating a job trigger; Viewing scheduled jobs in the Windows Task Scheduler
Delegated administrationThe need for a more robust system; Examining PowerShell session configurations; Modifying existing session configurations; Creating a delegated session configuration; Registering new session configurations; Connecting to a newly registered session configuration; Robust and resilient remote sessions; A long running example; Using resilient sessions; Experimenting with resilient sessions; Improved Restart-Computer; The enhanced Restart-Computer; Installing a product which requires a restart; Using the delay parameter; Using different communication protocols; Summary
4. Windows Workflow in PowerShellUnderstanding Windows Workflow; Integrating Windows Workflow with PowerShell; First steps in workflows; Workflow common parameters; Workflow as a job; Remote execution; Custom workflow parameters; Scripts in workflows; Working between workflows; Parallel execution; Persisting data in workflows; Limitations of PowerShell workflows; Variable scope; No advanced function blocks; Activities that run only on the local machine; The cmdlets that have no activity implementation; Importing activities into PowerShell; Using PowerShell workflows in Visual Studio