Chapter 17. Versioning scripts

When it comes to versioning scripts in Windows PowerShell, there is likely to be a wide divergence of opinion. At every TechEd conference in North America for the last four consecutive years, Windows PowerShell script versioning has come up in the “Birds of a Feather” session.

Why version control?

Version control involves tracking changes made to production scripts. There are several reasons for maintaining version control of production scripts, including the following:

  • Avoids introducing errors into existing production scripts

  • Enables accurate troubleshooting of production scripts

  • Tracks changes in production scripts

  • Maintains a master listing of production ...

Get Windows PowerShell Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.