I've managed to use a Baseline Configuration to set business hours for my clients via remediation.
I'd like to do the same/similar for "Automatically install or uninstall required software and restart the computer only outside of the specified business hours" checkbox.
BACKGROUNDER
We used to install updates as soon as they came in... users don't like it so much when .NET churns their PC for an update, so I set an installation deadline of 7 days from when they are found via ADR.
The settings say "after deadline - install outside of maintenance window" I have updates that just came into my PC and are saying "What do you want to do with these"
Well, I'd LIKE these updates to install at the first available maintenance window and I think I need that little box checked, or will they install tonight, whether I do anything or not?
solution http://www.myitforum.com/forums/Software-Center-Business-Hours-and-Computer-Maintenance-m244096.aspx
That link brings you to another link which has the script I was looking for:
Powershell
VBScript
Or From Command line with WMIC.exe (
/node:PC_Name
can be inserted after wmic to execute on remote system):