Partager via


Script to Set Client Business Hours

Hi folks,

I just uploaded another script over in the TechNet Script Center. This script allows you to automate the setting of business hours on a ConfigMgr client. This is useful for servers, where you might want to configure this remotely or in other scenarios where user interaction is not desired.  You could also potentially extend this script to read the users working hours from Outlook.  The script uses PowerShell to call into the WMI ClientSDK namespace and invoke a single method.  Most of the script is actually focused on validating and formatting user input, the actual ConfigMgr work is a single line of code.

Get the script here: https://gallery.technet.microsoft.com/scriptcenter/Set-Client-Business-Hours-572ecb95

Regards,
Saud