Skip to content
9 Known Issues with SCCM ConfigMgr PowerShell

9 Known Issues with SCCM ConfigMgr PowerShell

Written By Anoop C Nair
Last Updated July 26, 2024
Posted In SCCM
SHARE

9 Known Issues with SCCM ConfigMgr PowerShell. Microsoft has released SCCM 2012 R2 CU1 and kb/2932274

The KB article describes the Windows PowerShell issues fixed in Cumulative Update 1 (CU1) for SCCM 2012 R2.

KB2932274 also contains beneficial information about the known issues with PowerShell (even after installing SCCM 2012 R2 CU1). There are 9 documented known issues with Powershell.

I hope we don’t have to maintain another list of known and unknown issues. This post provides all the details of the 9 Known Issues with SCCM ConfigMgr PowerShell.

Patch My PC
Index
9 Known Issues with SCCM ConfigMgr PowerShell
9 Known Issues with SCCM ConfigMgr PowerShell – Table 1

9 Known Issues with SCCM ConfigMgr PowerShell

Let’s discuss the 9 Known Issues with SCCM ConfigMgr PowerShell. The list below helps you to see them.

  1. Install-CMClient will not target all computers in a collection when the -collection ID parameter is used. To work around this issue, retrieve a set of devices using Get-CMDevice -CollectionID and pass each instance into Install -CMDevice -Device. For example, run the following command: Get-CMDevice -CollectionName MyCollection | foreach { Install-CMClient -Device $_ -IncludeDomainController $false -AlwaysInstallClient $false -ForceReinstall $false -SiteCode PSS } 
  2. Start-CMDistributionPointUpgrade does not work with secondary sites. To work around this issue, perform the task by using the Administrator Console.
  3. The Save-CMSoftwareUpdate cmdlet does not work in a 64-bit Windows PowerShell environment. Use a 32-bit version of Windows PowerShell or ISE to work around this issue.
  4.  New-CMVirtualEnvironmentGroup result does not show in the Administrator Console.  To work around this issue, perform the task by using the Administrator Console.
  5.  Set-CMSite -Comment parameter causes cmdlets to fail.  To work around this issue, perform the task by using the Administrator Console.
  6.  Remove-CMDeploymentType will not fail when you try to remove a deployment type that does not exist.  To work around this issue, use Get-CMDeploymentType to validate if the deployment type exists before you try to remove it.
  7.  New-CMSecondarySite creates a distribution point that cannot be configured through the Administrator Console when you use a self-signed certificate.  To work around this issue, use the following procedures instead of the New-CMSecondarySite cmdlet: Configure the secondary site using a certificate issued by a certification authority. Use Set-CMDistributionPoint to configure the distribution point after the secondary site is installed. Remove the secondary site’s distribution point and add a new one after the secondary site is installed.
  8. Some cmdlets may stop working after you use the New-CMTaskSequence cmdlet.  To work around this issue, restart Windows PowerShell.
  9. Start-CMApplicationDeployment fails when used with Windows Store applications because the content is expected to exist on a distribution point. To work around this issue, perform the task using the Administrator Console.
9 Known Issues with SCCM ConfigMgr PowerShell - Fig.1
9 Known Issues with SCCM ConfigMgr PowerShell – Fig.1

Resources

SCCM Related Posts Real World Experiences Of SCCM Admins

We are on WhatsApp now. To get the latest step-by-step guides, news, and updates, Join our Channel. Click here. HTMD WhatsApp.

Author

Anoop C Nair is Microsoft MVP from 2015 onwards for consecutive 10 years! He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is a Blogger, Speaker, and Local User Group Community leader. His main focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career, etc…

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 1 comment

  1. Hi Anoop,

    I want to push a powershell script through SCCM, which will delete the wallpaper from c:\install\optional\wallpaper.This script will delete the existing wallpaper and rename the present wallpaper with deleted one.

    When I am trying to do that it will delete the wallpapaer but wont rename the existing wallpaper with deleted one.Running the powershell script manually will work perfectly.

    Till now I tried below

    • We modified the package instead of MSI we went for Script Installer and found the script was executing this time but it was only deleting the wallpaper and it was not replacing the file.

    • After some debugging and checking the log file we found only certain part of the script was running and it was not executing the registry portion which was not working.

    • We modified the script and tested out by replacing the content from CCMCACHE folder(By replacing the file with new one in ccmcache folder the content which downloaded) and retried running the application from the software center and found this time it was working perfectly.

    • We distributed the new script to the distribution point replacing the old one.

    • Then we went to test machine and found the script was not downloading itself checked the logs and found it didn’t detected the application changed the detection method but didn’t worked.

    • Then we created a new application this time creating a dependencies file(running two packages in the same file and both were same script).

    • In the dependencies file we given a command “powershell.exe set-execution policy allsigned” and in the second part we just executed the power shell script.

    • This time application detected and popped up the plain PowerShell window but didn’t executed the script.

    It will be great if you can provide some tips to troubleshoot.

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read