Monthly Archives: May 2014

Changing driver source paths in SCCM 2012 with powershell

From time to time I need to change the driver source file locations for all drivers imported in a SCCM 2012 environment. To do that I created a powershell command line utilizing some of the SCCM 2012 powershell cmdlets. Get-WmiObject SMS_Driver -Namespace … Continue reading

Posted in Operating System Deployment, SCCM 2012 | Leave a comment

Access denied error when deploying an untrusted computer

  Yesterday I had to build a new Windows 7 SP1 x64 image by a Customer. I created a new build and capture task sequence like I always do. I added the Windows 7 source files to SCCM 2012 R2, modified the Task … Continue reading

Posted in Operating System Deployment | Leave a comment

Adding or removing a management group from SCOM 2012 agent using powershell

To remove a management Group from a SCOM 2012 agent run the following commands from an elevated powershell: $SCOMAgent = New-Object -ComObject AgentConfigManager.MgmtSvcCfg $SCOMAgent.RemoveManagementGroup(“<ManagementGroupName>”) To add a management Group to a SCOM 2012 agent run the following commands from an … Continue reading

Posted in SCOM 2012 | Leave a comment