Quantcast
Channel: Configuration Manager 2012 - Security, Updates and Compliance forum
Viewing all articles
Browse latest Browse all 6382

ADR triggered from Powershell (Invoke-CMSoftwareUpdateAutoDeploymentRule ) downloads all languages instead of english only.

$
0
0

Hello everyone

I've an ADR configured over the SCCM Console. In the ADR I've checked only English in the Language Selection.  

When I run this ADR from the Console everything is fine.

Now I've created a Powershell-Script to change the ADR and then run it from Powershell with the SCCM-CMDlet "Invoke-CMSoftwareUpdateAutoDeploymentRule".

It works but the content is downloaded in all languages instead of english (and multi) only.

Has anyone used this CMDlet too with the same issue? Is it a bug of this CMDlet or is it just my fault and I'm didn't use it correctly? Unfortunately it takes quite a log time to download the content like this..

I'm using it like this in my Script:

$AutoDeploymentObject = Get-CMSoftwareUpdateAutoDeploymentRule -id 12
Invoke-CMSoftwareUpdateAutoDeploymentRule -InputObject $AutoDeploymentObject 

Regards

Nicolas



Viewing all articles
Browse latest Browse all 6382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>