Basic PowerShell Cmdlets for ConfigMgr 2012 (SCCM 2012)

Basic PowerShell Cmdlets for ConfigMgr 2012 (SCCM 2012)

Back to ConfigMgr main menu

Back to ConfigMgr & PowerShell menu


Native PowerShell support for ConfigMgr 2012 was introduced with SP1. Microsoft have published a Configuration Manager Cmdlet Reference in the Technet Library. You can find it here


I'd like to highlight some of the more commonly used cmdlets (ones that I find very useful and could use daily). Click on the cmdlet to link to the Technet library page explaining its use and syntax.


Hierarchy

Add-CMBoundaryToGroup                                                         
Assigns boundaries to a boundary group

Add-CmDistributionPoint                                                             
Creates a distribution point

New-CMBoundary                                                                          
Creates a new boundary

New-CMBoundaryGroup                                                             
Creates a new boundary group

New-CMSecondarySite                                                                 
Creates a secondary site in Configuration Manager


Assets

Adds a direct membership rule to one or more Configuration Manager device collection

Approve-CMDevice                                                                        
Approves Configuration Manager device clients

Adds a query membership rule to one or more Configuration Manager device collections.

Install-CMClient                                                                                               
Installs a Configuration Manager client

New-CMDeviceCollection                                                            
Creates a collection for devices and adds the collection to the Configuration Manager hierarchy


Software Distribution

Add-CMDeploymentType                                                           
Adds a deployment type for an application

Approve-CMApprovalRequest                                                 
Approves a request to allow the installation of an application

Get-CMDeployment                                                                      
Gets a summary of Configuration Manager deployments

New-CMApplication                                                                       
Creates an application in Configuration Manager


Operating System Deployment

Add-CMDriverToDriverPackage                                                
Adds a device driver to a driver package

Clear-CMPxeDeployment                                                            
Clears the status of the most recent PXE deployment in Configuration Manager

New-CMDriverPackage                                                                 
Creates a driver package

New-CMOperatingSystemImage                                              
Creates an operating system image

New-CMTaskSequence                                                                
Creates a task sequence

Remove-CMDriverFromDriverPackage                                  
Removes a driver from a driver package

Set-CMDriverBootImage                                                              
Adds a driver to a boot image or removes a driver from a boot image


Software Updates

Add-CMSoftwareUpdateToGroup                                           
Adds a software update to a software update group in Configuration Manager

New-CMSoftwareUpdateGroup                                               
Creates a software update group

No comments:

Post a Comment