New-CMProgram has no PackageID option. - by LalliMB

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 789047 Comments
Status Resolved Workarounds
Type Suggestion Repros 0
Opened 5/31/2013 12:51:19 AM
Access Restriction Public


New-CMProgram 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“

Sign in to post a comment.
Posted by Dan [MSFT] on 6/5/2013 at 2:40 PM
This is an issue in the Configuration Manager cmdlets, not PowerShell.