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

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

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

See sample scripts

Microsoft Configuration Manager 2012 and PowerShell

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

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

Download the PowerShell Console extensions for ConfigMgr 2012.

No comments:

Post a comment