**Edit 2014/10/31 : I’m still struggling to make this cmdlet work with a Required schedule even if Microsoft says it’s fixed. If you have been able to make it work, leave a comment in this post. Start-cmpackagedeployment error **
**Edit 2014/06/27 : This issue is supposedly fix with R2 CU2 **
The Start-CMPackageDeployment cmdlet is failing with the following error when creating a “Required” deployment with a schedule.
This CMDLet starts the deployment of a software package to a Configuration Manager collection.
Run SCCM cmdlets and scripts by using the SCCM console or by using a Windows PowerShell session. When you run SCCM cmdlets by using the SCCM console, your session runs in the context of the site.
Example : Start-CMPackageDeployment -CollectionName “$Name” -PackageId $PkgId -StandardProgramName “Install” -DeployPurpose Available -DeploymentAvailableDay “2014/06/13” -DeploymentAvailableTime “12:12” -DeploymentStartDay “2014/06/19” -DeploymentStartTime “2:45”-RerunBehavior RerunIfFailedPreviousAttempt -SoftwareInstallation $True -SystemRestart $False
Error : Start-CMPackageDeployment : Parameter set cannot be resolved using the specified named parameters.
The command works well when creating an “Available” deployment.
I’ve filed a Microsoft Connect case concerning the issues :
The Microsoft Team confirmed the bug and post this :
Thanks for the feedback. This issue should be resolved in the upcoming R2 CU2 release.
I’ll update this post when CU2 gets available and confirmed that it’s resolved.
Let us know if this tip was helpful for you by using the comments section.
Calvin
09.29.2016 AT 05:20 AMDevraj
07.11.2016 AT 09:50 AMDevraj
07.11.2016 AT 09:47 AMGreg
09.29.2015 AT 03:21 PMEvan
05.11.2017 AT 10:59 PMBenoit Lecours
09.30.2015 AT 07:22 AMTrevor Jones
01.27.2015 AT 07:22 AMJerrett
05.03.2016 AT 10:15 AMShaheeda
11.03.2014 AT 07:04 AMShaheeda
10.30.2014 AT 04:17 AMhttp://www./
03.01.2017 AT 04:44 AMBenoit Lecours
10.30.2014 AT 09:00 AM