Microsoft Windows PowerShell 3.0 First Look


Microsoft Windows PowerShell 3.0 First Look
eBook: $14.99
Formats: PDF, PacktLib, ePub and Mobi formats
$12.74
save 15%!
Print + free eBook + free PacktLib access to the book: $39.98    Print cover: $24.99
$24.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 200 pages [ 235mm x 191mm ]
Release Date : October 2012
ISBN : 1849686440
ISBN 13 : 9781849686440
Author(s) : Adam Driscoll
Topics and Technologies : All Books, Networking and Servers, Enterprise, Microsoft

Table of Contents

Preface
Chapter 1: Find What You're Looking for
Chapter 2: Usability Enhancements
Chapter 3: Improved Administration
Chapter 4: Windows Workflow in PowerShell
Chapter 5: Using the Common Informational Model
Chapter 6: New and Improved PowerShell Hosts
Chapter 7: Windows 8 and Windows Server 2012 Modules and Cmdlets
Index
  • Chapter 1: Find What You're Looking for
    • The Show-Command cmdlet
    • Updatable contextual help
      • What help is made of
      • The Save-Help cmdlet
      • The Update-Help cmdlet
      • The Get-Help cmdlet
    • The auto-discovery cmdlet
      • Understanding cmdlet auto-discovery
      • Things to know about auto-discovery
    • Summary
    • Chapter 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
      • Chapter 3: Improved Administration
        • Scheduling jobs
          • Creating a job trigger
            • Viewing scheduled jobs in the Windows Task Scheduler
          • Delegated administration
          • The 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
        • Chapter 4: Windows Workflow in PowerShell
          • Understanding 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
            • Adding a Microsoft workflow activity assembly
            • Adding a custom PowerShell workflow to Visual Studio
          • Summary
          • Chapter 5: Using the Common Informational Model
            • Introduction to the CIM IDE
            • Implementing a simple WMI provider
              • Adding a CIM Provider project
              • The implementation details
              • Generating PowerShell metadata
              • Registering a WMI provider
            • Automatically creating provider cmdlets
              • Why new cmdlets to interact with WMI?
            • Differences between the CIM and WMI cmdlets
              • Cmdlet differences between CIM and WMI
              • Registering CIM events
              • Updating CIM instances
            • Exploring the new CIM cmdlets
              • CIM sessions
              • Creating new CIM instances
              • Working with associated classes
            • NanoWBEM
            • Summary
            • Chapter 6: New and Improved PowerShell Hosts
              • Installing the Windows PowerShell Web Access feature
                • Configuring the Windows PowerShell Web Access
                  • Authorizing users
                • Accessing the PowerShell Web Access
              • Working with the PowerShell Web Access console
                • Additional input and output
                • Multiline statements
            • Enhancements to the PowerShell ISE
              • Intellisense
              • Snippets
                • Defining our own snippets
              • XML file syntax highlighting
              • Other editor enhancements
              • ISE options
                • List of ISE options
                • Colors
                • ISE add-ons
            • Summary
              • Chapter 7: Windows 8 and Windows Server 2012 Modules and Cmdlets
                • Core modules
                  • Invoke-WebRequest
                    • Usage examples
                  • Invoke-RestMethod
                    • Usage examples
                  • ConvertTo-Json
                    • Usage examples
                  • ConvertFrom-Json
                    • Usage examples
                  • ControlPanelItem
                    • Usage examples
                  • Rename-Computer
                    • Usage examples
                  • TypeData
                    • Usage examples
                  • Unblock-File
                    • Usage examples
                • Standard modules
                  • NetAdapter module
                    • NetAdapter cmdlets
                    • NetAdapterBinding
                    • NetAdapaterAdvancedProperty
                  • SmbShare module
                    • SmbShare
                    • SmbSession
                    • SmbShareAccess
                    • SmbOpenFile
                  • PrintManagement module
                    • Printer
                    • PrintJob
                    • PrintConfiguration
                  • Windows data access control module
                    • OdbcDsn
                    • OdbcDriver
                  • DnsClient module
                    • Resolve-DnsName
                    • DnsClientCache
                    • Get-DnsServerAddress
                    • DNSGlobalSettings
                  • Storage module
                    • Disk
                    • Partition
                    • Volume
                • Roles and feature based modules
                  • Hyper-V module
                    • VM
                    • VMDvdDrive, VMHardDiskDrive, and VMNetworkAdapter
                    • Measure-VM
                    • VMHost
                  • Active Directory deployment module
                    • Install-ADDSForest
                    • ADDSDomainController
                    • Test ADDSDeployment
                  • AppX module
                    • AppXPackage
                    • Get-AppXPackageManifest
                • Other modules
                  • Remote Desktop management module
                  • BranchCache module
                  • Windows Update Services module
                • Summary

                Adam Driscoll

                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 Madison, WI and was hired shortly thereafter by Quest. He has experience in authoring PowerShell modules and providers in both .NET and PowerShell, building PowerShell development tools for developers and administrators and frequently blogs about .NET technologies.

                Code Downloads

                Download the code and support files for this book.


                Submit Errata

                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                Sample chapters

                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                Frequently bought together

                Microsoft Windows PowerShell 3.0 First Look +    Windows Server 2012 Hyper-V Cookbook =
                50% Off
                the second eBook
                Price for both: $33.00

                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                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

                In Detail

                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.

                Approach

                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 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.

                Code Download and Errata
                Packt Anytime, Anywhere
                Register Books
                Print Upgrades
                eBook Downloads
                Video Support
                Contact Us
                Awards Voting Nominations Previous Winners
                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                Resources
                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software