Use your business data to your advantage with the help of Syncfusion’s new data science offerings. Discover how a custom big data solution can provide your company with valuable predictions about key market trends.

PowerShell 3.0 Advanced Administration Handbook

Progressing

Sherif Talaat, Haijun FuApril 2013

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

Want this title & more?

$21.99 p/month

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.

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

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

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

Sherif Talaat

Sherif Talaat is a young Computer Science addict. He holds many technology certificates. Sherif is working in the ICT industry since 2005; he used to work on Microsoft's core infrastructure platforms and solutions, with more focus on IT process automation and scripting techniques.

Sherif is one of the early adopters of Windows PowerShell in the Middle East and Africa. He speaks about Windows PowerShell at technical events and user groups' gatherings. He is the founder of Egypt PowerShell User Group ( http://egpsug.org) and the author of the first and only Arabic PowerShell blog (http:arabianpowershell.wordpress.com). He has been awarded the Microsoft Mo Valuable Professional ( MVP) for PowerShell five times in a row since 2009.

You may also catch him at sheriftalaat.com and follow him on Twitter @SherifTalaat .

He is also the author of PowerShell 3.0: Advanced Administration Handbook, Packt Publishing.

Haijun Fu

Haijun Fu is a computer programmer and an author living in China. He was educated at the Lanzhou University. He has been a Windows PowerShell Microsoft Most Valuable Professional (MVP) since 2011.
With a strong focus on PowerShell, cloud computing, the next generation of Internet security, Internet technology development, software testing, and database design, he has been writing many articles in order to share his experience with others on his blog. He has over 7 years of experience in software development and system architecture design. He is skilled especially at systems analysis, architecture design, and software project management.
In his spare time, he likes reading and writing. He is the author of two technical books called Windows PowerShell 2.0 Application Programming Best, Practices Publishing House of Electronics Industry in Mainland China and 350 PowerShell Utilize Example: Windows Automation Technology Manual in Taiwan.
He can be found on the Web at fuhaijun.com and on Twitter as @fuhj02. You can also reach him by e-mail at PowerShell@live.cn.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.