|If you’re managing servers or desktops, deploying infrastructure into Azure, or looking after Exchange, Lync or any other Microsoft product then you have probably heard of PowerShell. You probably fall into one of two camps: those who use PowerShell for everything and absolutely love it; or those who execute the odd command when instructed to by a manual, forum post, or blog, but are otherwise hesitant to use it.
There are a few key reasons why you should consider embracing PowerShell:
- Most new or updated Microsoft products and services use PowerShell for administrative tasks. Most Microsoft GUI management tools are now front-ends which issue PowerShell commands. Many new features are now accessible via PowerShell before they are available in the GUI.
- Many products from other vendors incorporate PowerShell libraries too – NetApp, for example, has a PowerShell toolkit with hundreds of commands that you can use to manage and provision storage
- It’s much easier to perform bulk operations using PowerShell. For example, you could run the same command against every user in your Active Directory with a single line of script
- If you’re configuring servers, clients, or products, then you can use PowerShell to script installations to save you time and ensure that your installations are consistent
This is the current shipping version of PowerShell that is included in Windows 8.1 and Windows Server 2012 R2. You can also download and install this version on Windows 7 SP1, Windows Server 2008 R2, and Windows Server 2012. Instructions here.
Whether you’re new to PowerShell, or a seasoned pro, you will probably find this collection of sample scripts useful. Grab the Script Browser and browse from 9000+ scripts covering all of the Microsoft Products.
There are a bunch of resources to help you learn more about PowerShell. Here are just some of them:
- Head in for one of my free hands-on ‘Infrastructure Modernisation’ IT Camps in AKL/WLG/CHC
- Check out some of these Microsoft Virtual Academy courses