Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Disable commit changes at deadline when using powershell

  • Thread starter Thread starter leob
  • Start date Start date
  • Replies Replies 2
  • Views Views 10K

leob

New Member
Messages
3
Reaction score
0
Points
1
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
 
Commit changes at deadline or during a maintenance window (requires restarts) - This setting is for thin client PCs that use write filter technology only. This allows you to install things on the thin client then commit the changes later. If changes are not committed, they are lost when the thin client restarts.

If you do not use thin client with write filters, you can safely ignore the Commit changes at deadline… setting.
 
Thanks for the reply, Prajwal. I have found with some deployments that when that box is checked in the User Experience tab, that it can trigger reboots on clients.

Leo
 

Forum statistics

Threads
7,165
Messages
27,966
Members
18,268
Latest member
rlgura

Trending content

Back
Top