Enable-WmsWebLimiting
Enables web limiting for a session.
Syntax
WebLimitSession
Enable-WmsWebLimiting
[-SessionId] <UInt32[]>
[-Server <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
WebLimitAll
Enable-WmsWebLimiting
[-All]
[-Server <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Enable-WmsWebLimiting cmdlet enables web limiting for the specified sessions.
Examples
Example 1: Enable web limiting for a session
PS C:\> Enable-WmsWebLimiting -SessionId 2
This command enables web access restrictions for session 2 on the local computer.
Example 2: Enable web limiting for all sessions
PS C:\> Enable-WmsWebLimiting -Server "Sample.microsoft.com" -All
This command enables web access restrictions for all sessions on the computer Sample.microsoft.com.
Parameters
-All
Indicates that this operation applies to all sessions on the target host.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
WebLimitAll
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Server
Specifies the fully qualified host name of the MultiPoint system that is the target of the command. The parameter is optional and if omitted defaults to localhost.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | ComputerName |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-SessionId
Specifies an array of MultiPoint session IDs that are the target of the command.
Parameter properties
Type: | UInt32[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
WebLimitSession
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.