I have successfully been deploying applications to collections using a command like this: New-CMApplicationDeployment -CollectionName “name” -Name “appname” -DeployAction Install -DeployPurpose Required -UserNotification HideAll -AvailableDateTime (get-date) -TimeBaseOn LocalTime -Verbose -RebootOutsideServiceWindow $False -OverrideServiceWindow $False
This works well to deploy the applications and 99% of the work is done, but I still need to go into the SCCM console, go the user experience tab for a deployment and uncheck the box "Disable changes at deadline or during a maintenance window (requires restart)".
Is there anything that I can add to my command line to do this and eliminate this manual step?
Thanks,
Leo
This works well to deploy the applications and 99% of the work is done, but I still need to go into the SCCM console, go the user experience tab for a deployment and uncheck the box "Disable changes at deadline or during a maintenance window (requires restart)".
Is there anything that I can add to my command line to do this and eliminate this manual step?
Thanks,
Leo