Here′ s the complete guide to Windows PowerShell 2.0 for administrators and developers Windows PowerShell is Microsoft′ s next– generation scripting and automation language. This comprehensive volume provides the background that IT administrators and developers need in order to start using PowerShell automation in exciting new ways. It explains what PowerShell is, how to use the language, and specific ways to apply PowerShell in various technologies. Windows PowerShell is Microsoft′ s standard automation tool and something that every Windows administrator will eventually have to understand this book provides the background necessary to apply PowerShell automation. Covers how to use the language and specific ways to apply PowerShell in a variety of scenarios Addresses new features in the latest version of PowerShell and the additional functionality delivered by new products that provide direct or indirect ways to use PowerShell for scripting and automation purposes Explores the language fundamentals and how to use PowerShell for desktop, server, server application, and virtualization/cloud situations This thorough guide goes well beyond theory to offer real– world information and new scripting techniques, enabling administrators and developers to make the most of PowerShell 2.0. Here′ s the complete guide to Windows PowerShell 2. 0 for administrators and developers Windows PowerShell is Microsoft′ s next– generation scripting and automation language. This comprehensive volume provides the background that IT administrators and developers need in order to start using PowerShell automation in exciting new ways. Apply Windows PowerShell effectively at all levels If you seek robust, scalable scripting, you need Windows PowerShell. And if you want to apply Windows PowerShell automation to today′ s hottest technology areas, such as virtualized environments and cloud administration, this authoritative reference is exactly what you need. Four seasoned engineers who are well– known in the PowerShell community show you how to use Windows PowerShell 2.0 and apply the power of automation to desktops, servers, server apps, and the cloud. Get up to speed on Windows PowerShell basics and what′ s new in Version 2.0 Learn how to automate tasks at the desktop, server, server app, and cloud levels Tap Windows PowerShell for Microsoft Office 2010, Windows Server 2008 R2, and Microsoft Exchange Server tasks Make use of cmdlets for Active Directory, Group Directory, SCOM, SharePoint administration, SQL Server, and more Apply Windows PowerShell to virtualized environments, including Hyper– V, VMware vSphere, and Citrix XenApp and Citrix XenDesktop Install and use the Windows Azure Service Management cmdlets Companion Web Site Helpful code listings, so you can follow along Supplemental code snippets Discover all that WindowsPowerShell 2.0 can do Manage physical, virtual,and cloud environments Explore modules, snap– ins,and third– party cmdlets Apply Windows PowerShell effectively at all levels If you seek robust, scalable scripting, you need Windows PowerShell. And if you want to apply Windows PowerShell automation to today′ s hottest technology areas, such as virtualized environments and cloud administration, this authoritative reference is exactly what you need. Four seasoned engineers who are well– known in the PowerShell community show you how to use Windows PowerShell 2.0 and apply the power of automation to desktops, servers, server apps, and the cloud. Get up to speed on Windows PowerShell basics and what′ s new in Version 2.0 Learn how to automate tasks at the desktop, server, server app, and cloud levels Tap Windows PowerShell for Microsoft Office 2010, Windows Server 2008 R2, and Microsoft Exchange Server tasks Make use of cmdlets for Active Directory, Group Directory, SCOM, SharePoint administration, SQL Server, and more Apply Windows PowerShell to virtualized environments, including Hyper– V, VMware vSphere, and Citrix XenApp and Citrix XenDesktop Install and use the Windows Azure Service Management cmdlets Companion Web Site Helpful code listings, so you can follow along Supplemental code snippets Discover all that WindowsPowerShell 2.0 can do Manage physical, virtual,and cloud environments Explore modules, snap– ins,and third– party cmdlets Introduction xxxiii Part I: Introduction 1 Chapter 1: Introduction to Windows PowerShell  3 Chapter 2: What′ s New in Windows PowerShell V2  43 Part II: Windows Desktop 69 Chapter 3: Managing Windows 7 71 Chapter 4: Managing Microsoft Offi ce 2010 95 Chapter 5: Managing Security 123 Chapter 6: Managing and Installing Software 151 Part III: Server Management 163 Chapter 7: Managing Windows Server 2008 R2 165 Chapter 8: Performing Basic Server Management 189 Chapter 9: Performing Advanced Server Management 203 Chapter 10: Managing Active Directory 229 Chapter 11: Managing Group Policy 257 Part IV: Server Applications 269 Chapter 12: Managing Microsoft Exchange Server 271 Chapter 13: Managing SQL Server 2008 R2 341 Chapter 14: Managing Microsoft SharePoint 2010 Server 371 Chapter 15: Managing Internet Information Services 7 389 Chapter 16: Managing System Center Operations Manager 2007 R2 409 Chapter 17: Managing Microsoft Deployment Toolkit 2010 441 Chapter 18: Managing Citrix XenApp 6 455 Chapter 19: Managing Citrix XenDesktop 5 479 Part V: Virtualization and Cloud Computing 511 Chapter 20: Managing Hyper– V 2008 R2 513 Chapter 21: Managing System Center Virtual Machine Manager 2008 R2 523 Chapter 22: Managing Windows Azure 541 Chapter 23: Managing VMware vSphere PowerCLI 557 Part VI: Beyond the Console 579 Chapter 24: Creating User Interfaces 581 Chapter 25: Using the Windows PowerShell ISE 597 Index 623 Thomas Lee is a writer, trainer, and consultant living in the UK. A veteran MVP, Thomas today specializes in PowerShell, OCS/Lync, and Windows. Karl Mitschke is a systems engineer for the state of Montana. His focus is Microsoft Exchange administration, with an emphasis on Windows PowerShell. Mark E. Schill is the President of the Atlanta PowerShell User group and maintains the powershellgroup.org site. He specializes in Citrix environments and task automation. Tome Tanasovski is a Windows engineer for a Fortune 100 financial services firm and the leader of the New York City PowerShell User Group. He is a recipient of the Microsoft MVP award for Windows PowerShell.