Monday 2 December 2013

Advanced Powershell for ConfigMgr 2012 (SCCM 2012)

Back to ConfigMgr main menu

Back to ConfigMgr & PowerShell menu


This will be the last post in my ConfigMgr 2012 & PoweShell series. The previous posts discussed the following topics:
  • PowerShell Basics
  • Connecting to ConfigMgr site via PowerShell
  • Basic PowerShell Cmdlets for ConfigMgr 2012.

In this section I will provide links to the best online resources I have found for advanced PowerShell for ConfigMgr 2012.

Getting Started with PowerShell: The Pipeline

http://blogs.technet.com/b/heyscriptingguy/archive/2013/12/02/getting-started-with-powershell-the-pipeline.aspx

This blog is by Ed Wilson (The Scripting Guy) and is an extract from his book "Windows PowerShell 3.0 First Steps".

It describes the way that the Windows PowerShell pipeline takes the output from one command, and sends it as input to another command. This is a very powerful scripting feature as it removes the necessity to store the results of the first command as a variable.

eg Get-NetAdapter | Enable-NetAdapter


Configuration Manager PowerShell SDK

http://cm12sdk.net/

This blog by Kaido Järvemets shares PowerShell scripts in the following areas


See sample scripts



Microsoft Configuration Manager 2012 and PowerShell

http://www.sepago.de/e/david/2012/02/25/microsoft-configuration-manager-2012-and-powershell-ae-part-2

This particular blog by David O' Brien describes how he wrote a PowerShell script to "Create Configuration Manager Device Collection".


Use the navigation arrows to find more scripts



Automate Microsoft System Center 2012 Configuration Manager with PowerShell

http://davidobrien.codeplex.com/

This is where David O' Brien has published his PowerShell scripts to Codeplex.

Click on the Source Code tab



ConfigMgr 2012 - PowerShell Right Click Tools

http://psrightclicktools.codeplex.com/

Download the PowerShell Console extensions for ConfigMgr 2012.



No comments:

Post a Comment