For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove-RASLogonHours

SYNOPSIS

Removes the logon hours rule specified by name from the Licensing Server site (default).

SYNTAX

Remove-RASLogonHours [-Id] <uint> [<CommonParameters>]
Remove-RASLogonHours [-InputObject] <LogonHours> [<CommonParameters>]
Remove-RASLogonHours [-Name] <string> [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Removes the logon hours rule specified by name from the Licensing Server site (default).

EXAMPLES

Example 1

Remove-RASLogonHours "My LogonHours"

Removes the logon hours rule specified by name from the Licensing Server Site (default).

To remove a logon hours property from a specific Site, specify the -SiteId parameter.

Example 2

Removes the logon hours rule specified by ID. To obtain the group ID, use the Get-LogonHours cmdlet.

Example 3

Removes a logon hours rule, which is identified by an object obtained from the pipeline output.

PARAMETERS

-Name

The name of the logon hours rule to remove from a Site.

-SiteId

Site ID from which to remove the logon hours rule.

-Id

The ID of the logon hours rule to remove from the Site.

To obtain the ID, use the Get-LogonHours cmdlet.

-InputObject

The logon hours property to remove from a Site.

To obtain a logon hours rule object LogonHours, use the Get-LogonHours command.

Type reference: LogonHours

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

LogonHours

OUTPUTS

None

Last updated