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.

Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies (Intelligent Robotics and Autonomous Agents series)

Cyberpatterns: Unifying Design Patterns with Security and Attack Patterns

Introduction to Game Development (2nd Edition)

The Future of Software Engineering

Automatic Design of Decision-Tree Induction Algorithms (Springer Briefs in Computer Science)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

With your PowerShell session and you want to return the command shell of the Server Core installation, type exit at the PowerShell session, and your PowerShell session will end. If you will be using PowerShell frequently on your Windows Server 2008 R2 Server Core system, you may want to add the PowerShell directory to the path statement of the server. To do that, run the following command on your Server Core installation at the command prompt of the server. This modifies the local path, and you.

2008 with Service Pack 1 Windows Server 2008 with Service Pack 2 Windows Server 2003 with Service Pack 2 Windows Vista with Service Pack 2 Windows Vista with Service Pack 1 Windows XP with Service Pack 3 Windows Embedded POSReady 2009 Windows Embedded for Point of Service 1.1 The ability to run PowerShell 2.0 on legacy operating systems and platforms in your infrastructure means you can leverage PowerShell 2.0 to manage your environment. However, unlike with Windows 7 or Windows Server 2008 R2,.

PowerShell, positional parameters can provide a quicker way to work with PowerShell. Use Wildcards To further work with parameters, PowerShell supports the use of wildcards. If you have worked with any command prompt environment in the past, you will find the wildcards to be similar to other languages. If you are new to command prompts and PowerShell, wildcards provide a quick and easy way to find things you are looking for if you are not quite sure of the exact name or spelling. Also, you can.

RequiredServices in the property names, the property values are filtered, showing only the required services. You will see in Chapter 4 how you can further control the results and how the properties are used to give you the results you want. In Appendix B, you will learn how to do even more with properties and create your own custom objects and properties. A Word on Case for PowerShell Although PowerShell 2.0 is a sensitive language in terms of spelling and syntax, it is mostly case.

Your scripts, you can step into, over, and out of the scripts, and you can even display the call stack, often with a single keystroke. There are cmdlets to work with the debugger. You can also display the values of variables and run standard commands in the debugger. The ISE makes it easy to interact with the debugger. Figure 1.7 shows the Debug menu. Figure 1.7 ISE's Debug menu You can also access the debugger in your PowerShell sessions. You can set breakpoints using the Set-PSBreakpoint.

Download sample

Download