Automating Microsoft Windows Server 2008 R2 with Windows PowerShell 2.0

Automating Microsoft Windows Server 2008 R2 with Windows PowerShell 2.0

Matthew Hester, Sarah Dutkiewicz

Language: English

Pages: 432

ISBN: 1118013867

Format: PDF / Kindle (mobi) / ePub


Learn to automate the top server operating system, Windows Server 2008 R2

Windows PowerShell 2.0 allows you to automate nearly any task for managing Windows Server, going from dozens of clicks to a single command, and repeated tasks to automated tasks. Using screen shots and helpful exercises, this book walks you through the many benefits of automating Windows Server with PowerShell 2.0, such as allowing for scalable, flexible, and rapid deployments and changes; increasing cost effectiveness; providing a timely return on IT investment; lowering labor headcount; creating secure computing environments; and establishing reliable enterprise infrastructures. In addition, real-world examples provide reinforced learning, aimed at ensuring that you work as efficiently and effectively as possible by automating both simple and complex administrative tasks with Powershell 2.0.

  • Explains how to automate both simple and complex tasks in Windows Server 2008 R2 with Powershell 2.0
  • Addresses how Windows Server 2008 R2 comes with more than 550 cmdlets, allowing you to automate nearly anything
  • Offers numerous real-world examples, end-of-chapter exercises, and helpful screen shots to reinforce your learning process

The power is in your hands! Start working smarter, not harder, by automating Windows Server 2008 R2 tasks with Powershell 2.0.

Concise Computer Vision: An Introduction into Theory and Algorithms (Undergraduate Topics in Computer Science)

Software Engineering 3: Domains, Requirements, and Software Design (Texts in Theoretical Computer Science. An EATCS Series)

Foundations of Cryptography, Volume 1: Basic Techniques

Genetic Programming Theory and Practice II (Genetic Programming, Volume 8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

when we got carried away. Most of all, I would like to thank my awesome coauthor and great friend, Matt Hester, for the many commas and “great features” that I had to cut out while tech editing, the laughs throughout the process, and the advice when it came to writing the appendixes. Matt inspired me to create the term wrediting—writing and editing, as I had originally been set as a tech editor for Chapters 1–12 and later was added as a coauthor. It has been a great adventure, and I look forward

with PowerShell Choose Between WinForms and WPF Create a GUI in PowerShell Index Acquisitions Editor: Agatha Kim Development Editor: Dick Margulis Technical Editor: Sarah Dutkiewicz Production Editor: Liz Britten Copy Editor: Kim Wimpsett Editorial Manager: Pete Gaughan Production Manager: Tim Tate Vice President and Executive Group Publisher: Richard Swadley Vice President and Publisher: Neil Edde Book Designer: Franz Baumhackl Proofreader: Word One, New York Indexer: Jack Lewis Project

Coordinator, Cover: Katie Crocker Cover Designer: Ryan Sneed Cover Image: © Petrovich9 / iStockPhoto Copyright © 2011 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-1-118-01386-1 (Cloth) ISBN: 978-1-118-10306-7 (ebk) ISBN: 978-1-118-10308-1 (ebk) ISBN: 978-1-118-10309-8 (ebk) No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording,

session, and at any time you can see the status of your background jobs. The following command starts a command in the background to get the existing services: Start-Job -name Services scriptblock (Get-Service) To see the status of background jobs you started in your PowerShell session, you would run the following command: Get-Job Your results will look similar to Figure 1.5. Figure 1.5 Background jobs PowerShell with a GUI There was no built-in GUI in PowerShell 1.0, so you had only the

GUI is with the output cmdlet Out-GridView. This cmdlet allows you to take the output from a PowerShell command and display it in a Windows Explorer–style window, which not only displays your data but also allows you some interaction such as sorting and quickly filtering the data. For example, if you ran the command Get-Process | OutGridView, your results would look similar to Figure 1.9. Figure 1.9 Out-Gridview You can click any of the column headings in the Out-Gridview window, and the

Download sample

Download