Microsoft Windows PowerShell 3.0 Firstlook
Format: PDF / Kindle (mobi) / ePub
A quick, succinct guide to the new and exciting features in PowerShell 3.0
- Explore and experience the new features found in PowerShell 3.0
- Understand the changes to the language and the reasons why they were implemented.
- Discover new cmdlets and modules available in Windows 8 and Server 8.
- Quickly get up to date with the latest version of Powershell with concise descriptions and simple examples
In an ever growing and changing computer industry, learning how to manage systems effectively is necessary for any administrator. The new features in PowerShell 3.0 extend the already impressive language to support new features that makes working with complex and distributed systems simpler and faster.
Microsoft Windows PowerShell 3.0 First Look offers a quick look into the new features available in the most recent version of the language. Quick, to-the-point examples ensure that you will be able to easily understand the new features.
Starting with simple syntactical changes all the way through Windows Worflow integration, you will learn through concise feature analysis and simple examples.
Throughout this book you will get to grips with changes to the language to aid usability – making administrators' lives easier. New features will be explored such as Windows Workflow integration and extended WMI capabilities. This book includes a chapter outlining some of the most important new cmdlets and modules found in Windows 8 and Windows Server 8.
Microsoft Windows PowerShell 3.0 First Look will provide a jump start for administrators or power users who want to grasp new features, language changes, and cmdlet offerings found in the new version of Microsoft PowerShell.
What you will learn from this book
- Use enhancements to modules such as updatable help and cmdlet auto discovery
- Harness the Show-Command to view commands and help in a graphical user interface
- Employ the new usability improvements to cmdlets such as Where-Object and Get-ChildItem
- Develop and utilize Windows Workflow for PowerShell
- Install and configure the PowerShell web service
- Understand the basics of new Windows Management Implementation features
- Discover many of the new built-in cmdlet offerings found in Windows 8 and Windows Server 8
This book groups features into logical chapters by topic. Each feature is fully explained, with relevant background information, and simple examples.
Who this book is written for
.Administrators or power users looking to quickly learn and explore the new features of PowerShell 3.0 will find this book handy. Prior experience of Powershell is not required but may make some topics easier to understand.
merely calling PowerShell with a few special arguments. This is very similar to the way which we would have to set up a scheduled job in PowerShell 2.0, except it utilizes a new module, the PSScheduledJob module, to take care of all the execution and state management for us. Refer to the following commands: -NoLogo -NonInteractive -WindowStyle Hidden -Command "Import-Module PSScheduledJob; $jobDef = [Microsoft.PowerShell.ScheduledJob.Schedule dJobDefinition]::LoadFromStore('RestartFaultyService',
query WMI to ensure that MyProduct is correctly registered in the installed products on the target machine. The Restart-Computer cmdlet takes care of all the pinging of the remote machine to check to see if WMI is ready. Because the Restart-Computer cmdlet must constantly ping the remote machine until it is available, Microsoft exposed another related parameter which allows this functionality to be customized. Using the delay parameter The Delay parameter is used to specify the amount of time
Coordinator Yashodhan Dere Proofreader Linda Morris Shay Levy David Karapetyan Acquisition Editor Indexers Hemangini Bari Tejal Daruwale Dhwani Devater Graphics Lead Technical Editor Manu Joseph Susmita Panda Production Coordinator Technical Editor Nilesh R. Mohite Prasanna Joglekar Cover Work Nilesh R. Mohite About the Author Adam Driscoll is a young and enthusiastic Software Developer and Team Lead at Quest Software. Born and raised in Wisconsin, Adam attended Edgewood College in
Finding cmdlets and functions in PowerShell is very easy. You can simply type Get-Command to get a list of all the cmdlets and functions available in the current session. Adding new functions or cmdlets to the session can be done by running scripts, or even writing your own as you go. In PowerShell 2.0, the concept of a module was introduced. A module is a packaged set of cmdlets, aliases, functions, types and other components that can be loaded and unloaded from a session. Often these modules
effectively alleviates the two pain points seen in the previous versions of PowerShell. The cmdlets can be used without having to load their modules. This reduces script dependencies and saves a bit of typing. In addition, it enables administrators to search for cmdlets and the help of cmdlets without having to know the details of where they are stored. Things to know about auto-discovery The cmdlet auto-discovery is a great new feature but has a few caveats that need to be understood when