New-RASLogonHours
Last updated
Last updated
New-RASLogonHours
Creates a new logon hours rule.
New-RASLogonHours []** (string) [[-] (uint)] [ (string)] [ (bool)] [()]
Creates a new logon hours rule.
The name of the target logon hours rule.
This must be the actual logon hours rule name used in the RAS Farm.
Site ID in which to create the specified logon hours rule.
If the parameter is omitted, the Site ID of the Licensing Server will be used.
Enable or disable the logon hours rule upon creation.
If the parameter is omitted, the logon hours rule is initialised as disabled.
A user-defined logon hours rule description.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
New-RASLogonHours "My Logon Hours"
Creates a new logon hours rule with the specified name.