工作之余与埃及MVP Sherif Talaat合著的全英文书籍《PowerShell 3.0 Advanced Admin handbook》于今日由Packt Publishing正式出版上市，本书基于PowerShell3.0版本，历时8个月，从2012年8月16日Packt Publishing发邮件找我们约稿，经历1stDraft,2ndDraft, Rewrite,1stEdit,2ndEdit,Prefinal和Final很多次草稿，修改和校稿，全程跟国外合著者、编辑、reviewer通过两百多封邮件沟通，全书450页，是目前为止首本国内作者参与的关于PowerShell3.0最新编程开发技术的新书。
PowerShell 3.0 Advanced Admin handbook
Print Length: 450 pages
Publisher: Packt Publishing
Sample Chapters：download sample chapters in PDF format
PowerShell 3.0 Advanced Administration Handbook comes with a set of real-world scenarios and detailed scripts that will help you get started with PowerShell and learn what PowerShell is, how to write the syntax and build your scripts, and how to use and integrate PowerShell with different technologies, products, and tools.This handbook starts with the essential topics of PowerShell, and then introduces the new features in PowerShell 3.0. The book then goes through building PowerShell scripts, functions, and developing extensions such as snap-ins and modules, and continues with detailed examples showing the usage of PowerShell with different technologies and products to give you an idea of PowerShell usage in the real world.
What this book covers
Chapter 1, Getting Started with PowerShell, introduces us to PowerShell, which is built based on .NET and is an object-based shell and scripting language. This chapter shows us how we can make use of PowerShell's integration with COM, WMI, and ADSI technologies alongside its tight integration with .NET. Indeed, PowerShell is the only technology that enables you to create and work with objects from these various technologies in one environment.
Chapter 2, Developing Snap-ins for PowerShell, explains the use of snap-ins that are compiled into assemblies, when released as a program for third-party users. In this chapter you will see how you can extend Windows PowerShell by writing your own snap-ins. These may contain cmdlets and providers too. The author can also encrypt based on .NET code obfuscation to protect their source code. Thus the authors of programs need not worry about their snap-ins decompiling the source code.
Chapter 3, Using PowerShell Remoting, shows us how PowerShell remoting enables management of computers from a remote location. Remoting is built based on Windows remote management (WinRM). WinRM is Microsoft's implementation of the WS-Management protocol.
Chapter 4, Extending Windows PowerShell, introduces us to a very import feature in Windows PowerShell 3.0—modules. You can load most of the existing snap-ins as a module, which means you don't need to have administrator privileges to load a new snap-in. You can simply place it in any folder, access it, and tell PowerShell where to find it.
Chapter 5, Managing Core Infrastructure with PowerShell, demonstrates how PowerShell can be used to replace the GUI to perform different administration tasks on Windows Server, especially the installation of the server core.
Chapter 6, Managing Active Directory with PowerShell, introduces us to the Active Directory module for Windows PowerShell, which consolidates a group of cmdlets. The Active Directory module for Windows PowerShell provides a centralized experience for administering your directory services. In this chapter you will look at the Active Directory-related cmdlets, the Active Directory server roles, and how you can manage the Active Directory using PowerShell.
Chapter 7, Managing the Server with PowerShell, explains how you can manage your server with great flexibility using PowerShell, which is built into Windows Server 2012. Many PowerShell cmdlets exist to let you perform several of the key administrative tasks you may need to do on a daily basis, including installing features for your Windows Server 2012, managing networking, managing Group Policy, managing IIS, managing DNS server, managing Hyper-V and AppLocker, and many others.
Chapter 8, Managing Unified Communication Environments with PowerShell, introduces us to Windows PowerShell modules for Microsoft Exchange Server, Lync Server, and Office 365, and explains how it can be utilized for a better and easier administration and management.
Chapter 9, Managing Collaboration and Data Platforms with PowerShell, provides recipes on how to deal with Microsoft SQL Server, Microsoft SharePoint Server,and SharePoint Online.
Chapter 10, Managing Microsoft Desktop Virtualization with PowerShell, provides guidance and scripts on how to build end-to-end Desktop Virtualization scenarios that are session- and virtual-machine-based, using Windows PowerShell.
Chapter 11, Managing Microsoft Cloud Platform with PowerShell, tackles the Microsoft cloud platform with Windows Azure and explains how to use Windows PowerShell to automate Windows and SQL Azure tasks. It also provides ways to overcome the technical limitations of using Windows Azure Management Portal.
Chapter 12, Integrating Windows PowerShell and System Center Orchestrator, describes how PowerShell can be used in the real world in combination with Microsoft System Center Orchestrator to build an IT Process Automation standard framework.
What you need for this book
This book requires that you have Windows PowerShell 3.0, which is available
out of the box in Windows Server 2012 and Windows 8. It's also available for
earlier versions of Windows as part of Microsoft's Windows Management Framework (WMF) 3.0
This book is mainly about using Windows PowerShell with different technologies and tools, so you must have the following software in order to proceed:
•Windows Server 2012
•Exchange Server 2013
•Lync Server 2013
•SQL Server 2012
•SharePoint Server 2013
•An Office 365 subscription
•A Windows Azure subscription
•System Center Orchestrator 2012
•Microsoft Visual Studio 2010
Who this book is for
This book is intended for IT administrators who wish to learn Windows PowerShell, and want to quickly discover it's capabilities with different tools and technologies.
Table of Contents
Chapter 1: Getting Started with PowerShell
Chapter 2: Developing Snap-ins for PowerShell
Chapter 3: Using PowerShell Remoting
Chapter 4: Extending Windows PowerShell
Chapter 5: Managing Core Infrastructure with PowerShell
Chapter 6: Managing Active Directory with PowerShell
Chapter 7: Managing the Server with PowerShell
Chapter 8: Managing Unified Communication Environments with PowerShell
Chapter 9: Managing Collaboration and Data Platforms with PowerShell
Chapter 10: Managing Microsoft Desktop Virtualization with PowerShell
Chapter 11: Managing Microsoft Cloud Platform with PowerShell
Chapter 12: Integrating Windows PowerShell and System Center Orchestrator