O'Reilly logo

PowerShell Deep Dives by Edited by Jeffery Hicks, Richard Siddaway, Oisín Grehan, and Aleksandar Nikoli

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 18. Using Source Control Software with PowerShell

Trevor Sullivan

Windows PowerShell is a phenomenal tool for automation, but with great power comes great responsibility. Over time you’ll find that your script repository will grow larger and larger, and you’ll frequently need to modify scripts to provide additional functionality, fix bugs, or make your code more readable. As your repository grows and morphs it’s important to maintain a history of changes to your script files. The benefits of keeping track of history are many, most importantly including the ability to revert to an old version of a script if you make a breaking modification.

In this chapter I’ll describe the benefits of using source control and how to perform basic source ...

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