O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Using PowerShell Scripts

After completing this chapter, you will be able to:

  • Understand the reasons for writing Windows PowerShell scripts.

  • Make the configuration changes required to run Windows PowerShell scripts.

  • Understand how to run Windows PowerShell scripts.

  • Understand how to break lines in a script.

  • Understand the use of variables and constants in a script.

  • Create objects in a Windows PowerShell script.

  • Call methods in a Windows PowerShell script.

With the ability to perform so many actions from inside Microsoft Windows PowerShell in an interactive fashion, you may wonder, “Why do I need to write scripts?” For many network administrators, one-line PowerShell commands will indeed solve many routine problems. This can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required