Get-RASLogonHours
Last updated
Last updated
Get-RASLogonHours
Retrieves information about one or multiple logon hours rules.
Get-RASLogonHours [[-]** (uint)] [()]
Get-RASLogonHours [[-]** (string)] [[-] (uint)] [()]
The cmdlet returns an object of the type logon hours rule.
To see the complete list of object properties, use the Format-List cmdlet (see examples).
The result set contains only the major properties of a group; it does not include the complete list of settings supported in RAS.
The name of the logon hours rule for which to retrieve the information.
This must be the actual logon hours rule name used in the RAS Farm.
Site ID from which to retrieve the logon hours rule information.
If the parameter is omitted, the Licensing Server Site ID will be used.
The ID of a logon hours rule for which to retrieve the information.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASLogonHours "My Logon Hours" | Format-List
Retrieves information about the logon hours rule specified by name from the Licensing Server Site.
To retrieve the info from a specific Site, specify the -SiteId parameter.
The Format-List cmdlet formats the display output to include all available group properties. **---------- EXAMPLE 2 ----------
Get-RASLogonHours -Id 10
Retrieves information about the logon hours rule specified by ID from the Licensing Server Site.