Chapter 4. Automating administration

This chapter covers

  • How to develop administration scripts
  • PowerShell best practices
  • PowerShell tools for development and administration
  • Making scripts secure

PowerShell is fun, and being able to rattle off a script to do something in a fraction of the time we’d take manually is cool, but what benefits do we actually get? In other words, why are we doing this? This point hasn’t been emphasized in the previous chapters, but the underlying theme has been that PowerShell is all about automation. Automation brings speed, efficiency, repeatability, and consistency. These are good things in their own right. When added to other things that you can do because of the time you’ve saved through your automation efforts, ...

Get PowerShell in Practice now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.