Hi, just starting to convert my WMI based Powershell scripts to 2012 sp1
when I stumbled on a issue with New-CMProgram, it only allows you to specify
the package name and not PackageID like the WMI class SMS_Program will.

 

This means the Name has to be unique and you cannot continue with something
like:

Manufacturer:"Adobe", Name:"Adobe Reader", Version:"xx.xx",
Language:"English"

Manufacturer:"Adobe", Name:"Adobe Reader", Version:"yy.yy",
Language:"German"

 

As two or more packages have the same name New-CMProgram fails with:

New-CMProgram : The parameters specified match more than one collection.

 

 

Not found any workarounds, any ideas ?

 

 



Reply via email to