PowerShell 3.0 Advanced Administration Handbook

Getting PowerShell to serve you even more effectively is simplified with this guide to advanced administration. Automating repetitive daily tasks and streamlining processes is demonstrated with real-world examples and screenshots.

PowerShell 3.0 Advanced Administration Handbook

Progressing
Sherif Talaat, Haijun Fu

Getting PowerShell to serve you even more effectively is simplified with this guide to advanced administration. Automating repetitive daily tasks and streamlining processes is demonstrated with real-world examples and screenshots.
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free sample

Book Details

ISBN 139781849686426
Paperback370 pages

About This Book

  • Discover and understand the concept of Windows PowerShell 3.0
  • Learn the advanced topics and techniques for a professional PowerShell scripting
  • Explore the secret of building custom PowerShell snap-ins and modules
  • Take advantage of PowerShell integration capabilities with other technologies for better administration skills
  • Step-by-step guide rich with real-world script examples, screenshots, and best practices

 

Who This Book Is For

If you are a system administrator who wants to automate repeated daily tasks and perform complex administration requirements in a timely manner with less effort, then this is the book for you.
In order to get the maximum benefit of this book you need to have some basic scripting knowledge and good administration experience.

Table of Contents

Chapter 1: Getting Started with PowerShell
Working with pipelines
Variables and objects
Looping and flow control
Lists, arrays, and hash tables
Operating script block
Functions
Scripts
Discovering what's new in Windows PowerShell 3.0
Windows PowerShell Web Access (PSWA)
Auto-loading of modules
Online and updatable Help
Scheduled jobs
The Show-Command cmdlet
Integrated Scripting Environment (ISE)
PowerShell remoting
Windows PowerShell Workflow (PSW)
Summary
Chapter 2: Developing Snap-ins for PowerShell
Creating a PowerShell snap-in
Writing a PowerShell snap-in
Registering and removing a PowerShell snap-in
Listing and executing cmdlets in a PowerShell snap-in
Debugging a PowerShell snap-in
Summary
Chapter 3: Using PowerShell Remoting
An overview of PowerShell remoting
Enabling/disabling remoting
Executing the remoting commands
Entering an interactive remoting session
Saving a remote session to a disk
Using session configurations
Summary
Chapter 4: Extending Windows PowerShell
Introduction to Windows PowerShell modules
PowerShell module types
The PSModulePath environment variable
Importing PowerShell modules
Removing PowerShell modules
Reloading PowerShell modules
Writing a PowerShell module
Storing modules on a disk
Working with multiple versions of modules
Checking PowerShell module dependencies
Signing PowerShell modules
Summary
Chapter 5: Managing Core Infrastructure with PowerShell
Preparing the operating system for first time use
Deploying the Active Directory Domain Services (ADDS) role
Managing and configuring the Domain Name System (DNS) role
Deploying and configuring the Dynamic Host Configuration Protocol (DHCP) role
Managing Windows Firewall
Using the Best Practice Analyzer (BPA)
Summary
Chapter 6: Managing Active Directory with PowerShell
Active Directory-related concepts
Installing an Active Directory Domain Service (ADDS)
New AD server roles in Windows 2012
Managing Active Directory with PowerShell
Summary
Chapter 7: Managing the Server with PowerShell
Working with Server Manager cmdlets
Managing networking using PowerShell
Managing Group Policy with PowerShell
Managing IIS with PowerShell
Managing a DNS server using PowerShell
Managing Hyper-V with PowerShell
Managing AppLocker with PowerShell
Summary
Chapter 8: Managing Unified Communication Environments with PowerShell
What Exchange Management Shell is
How to make Windows PowerShell understand Exchange Server cmdlets
Managing Exchange using PowerShell Remoting
Getting started with Exchange scripting
What Lync Server Management Shell is
How to make PowerShell understand Lync Server cmdlets
Managing Lync using PowerShell Remoting
Getting started with Lync scripting
Microsoft Office 365
Office 365 and Windows PowerShell
Summary
Chapter 9: Managing Collaboration and Data Platforms with PowerShell
What is SharePoint Management Shell
How to make Windows PowerShell understand the SharePoint server cmdlets
Getting started with SharePoint scripting
Managing SharePoint Online using PowerShell
Windows PowerShell Command Builder for SharePoint and Office 365
What is SQL Server PowerShell
Getting started with SQL Server scripting
Summary
Chapter 10: Managing Microsoft Desktop Virtualization with PowerShell
What Desktop Virtualization is
Understanding Desktop Virtualization components
What Remote Desktop Services is
Managing RDS using PowerShell
Getting started with RDS scripting
Summary
Chapter 11: Managing Microsoft Cloud Platform with PowerShell
What Windows Azure is
What Windows Azure PowerShell is
Installing Windows Azure PowerShell
Making Windows PowerShell understand Windows Azure cmdlets
Connecting to your Windows Azure environment
Getting started with Windows Azure scripting
Summary
Chapter 12: Integrating Windows PowerShell and System Center Orchestrator
Completing your ITPA story with PowerShell and Orchestrator
Summary

What You Will Learn

  • Learn Windows PowerShell 3.0 new features and enhancements
  • Learn PowerShell syntax and grammar such as pipeline, looping, and working with objects
  • Extend PowerShell capabilities with .NET framework, XML, WMI, and COM+
  • Configure and deploy Windows Server Core features, services, and components
  • Manage and configure the Microsoft virtualization platform, Hyper-V
  • Manage and configure Unified Communication environments such as Exchange Server and Lync Server
  • Manage and configure Collaboration and Data platforms such as SharePoint Server and SQL Server
  • Manage and configure Cloud technologies such as Office’365, Windows Azure, and SQL Azure
  • Explore PowerShell in real-world scenarios, problems, and solutions
  • PowerShell tips and tricks and best practices

In Detail

Technology’s growing rhythm is running faster than before, and business needs are getting more complex every day. So, it is time to learn something new to help conquer the challenge. With PowerShell in your toolbox, you can easily perform many tasks with less time, effort, and cost. PowerShell is a helpful scripting technology that enables the automation of system management tasks and the creation of system management tools.

"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, 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, then introduces the new features in PowerShell 3.0. The book then goes through building PowerShell scripts, function, and developing extensions like 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.

Authors

Table of Contents

Chapter 1: Getting Started with PowerShell
Working with pipelines
Variables and objects
Looping and flow control
Lists, arrays, and hash tables
Operating script block
Functions
Scripts
Discovering what's new in Windows PowerShell 3.0
Windows PowerShell Web Access (PSWA)
Auto-loading of modules
Online and updatable Help
Scheduled jobs
The Show-Command cmdlet
Integrated Scripting Environment (ISE)
PowerShell remoting
Windows PowerShell Workflow (PSW)
Summary
Chapter 2: Developing Snap-ins for PowerShell
Creating a PowerShell snap-in
Writing a PowerShell snap-in
Registering and removing a PowerShell snap-in
Listing and executing cmdlets in a PowerShell snap-in
Debugging a PowerShell snap-in
Summary
Chapter 3: Using PowerShell Remoting
An overview of PowerShell remoting
Enabling/disabling remoting
Executing the remoting commands
Entering an interactive remoting session
Saving a remote session to a disk
Using session configurations
Summary
Chapter 4: Extending Windows PowerShell
Introduction to Windows PowerShell modules
PowerShell module types
The PSModulePath environment variable
Importing PowerShell modules
Removing PowerShell modules
Reloading PowerShell modules
Writing a PowerShell module
Storing modules on a disk
Working with multiple versions of modules
Checking PowerShell module dependencies
Signing PowerShell modules
Summary
Chapter 5: Managing Core Infrastructure with PowerShell
Preparing the operating system for first time use
Deploying the Active Directory Domain Services (ADDS) role
Managing and configuring the Domain Name System (DNS) role
Deploying and configuring the Dynamic Host Configuration Protocol (DHCP) role
Managing Windows Firewall
Using the Best Practice Analyzer (BPA)
Summary
Chapter 6: Managing Active Directory with PowerShell
Active Directory-related concepts
Installing an Active Directory Domain Service (ADDS)
New AD server roles in Windows 2012
Managing Active Directory with PowerShell
Summary
Chapter 7: Managing the Server with PowerShell
Working with Server Manager cmdlets
Managing networking using PowerShell
Managing Group Policy with PowerShell
Managing IIS with PowerShell
Managing a DNS server using PowerShell
Managing Hyper-V with PowerShell
Managing AppLocker with PowerShell
Summary
Chapter 8: Managing Unified Communication Environments with PowerShell
What Exchange Management Shell is
How to make Windows PowerShell understand Exchange Server cmdlets
Managing Exchange using PowerShell Remoting
Getting started with Exchange scripting
What Lync Server Management Shell is
How to make PowerShell understand Lync Server cmdlets
Managing Lync using PowerShell Remoting
Getting started with Lync scripting
Microsoft Office 365
Office 365 and Windows PowerShell
Summary
Chapter 9: Managing Collaboration and Data Platforms with PowerShell
What is SharePoint Management Shell
How to make Windows PowerShell understand the SharePoint server cmdlets
Getting started with SharePoint scripting
Managing SharePoint Online using PowerShell
Windows PowerShell Command Builder for SharePoint and Office 365
What is SQL Server PowerShell
Getting started with SQL Server scripting
Summary
Chapter 10: Managing Microsoft Desktop Virtualization with PowerShell
What Desktop Virtualization is
Understanding Desktop Virtualization components
What Remote Desktop Services is
Managing RDS using PowerShell
Getting started with RDS scripting
Summary
Chapter 11: Managing Microsoft Cloud Platform with PowerShell
What Windows Azure is
What Windows Azure PowerShell is
Installing Windows Azure PowerShell
Making Windows PowerShell understand Windows Azure cmdlets
Connecting to your Windows Azure environment
Getting started with Windows Azure scripting
Summary
Chapter 12: Integrating Windows PowerShell and System Center Orchestrator
Completing your ITPA story with PowerShell and Orchestrator
Summary

Book Details

ISBN 139781849686426
Paperback370 pages
Read More

Recommended for You

Instant Windows PowerShell
$ 19.99
Microsoft Windows PowerShell 3.0 First Look
$ 14.99
Mastering Windows PowerShell Scripting
$ 39.99
PowerShell for SQL Server Essentials
$ 17.99