CmdID / PowerShell / Cmdlets / Set
Set-WmsScheduledUpdate
Sets the schedule for Windows updates and custom maintenance scripts. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-AutomaticUpdateModeSpecifies the type of automatic updates to process.-CustomScriptSpecifies the full path of a user-supplied command to run at update time.-HourToScheduleUpdatesSpecifies the hour at which to run automatic updates.-MaxTimeAllowedForCustomScriptSpecifies the maximum amount of time that the custom script is allowed to run.-ReturnStateSpecifies the state in which to place the computer after updates are complete.-Server, -ComputerNameSpecifies the fully qualified host name of the MultiPoint Server that is the target of the command.