Edit

Share via


Set-WmsWebLimiting

Configures web limiting for standard user sessions.

Syntax

AllowList

Set-WmsWebLimiting
    [-Sites] <String[]>
    [-Allow]
    [-Server <String>]
    [<CommonParameters>]

BlockList

Set-WmsWebLimiting
    [-Sites] <String[]>
    [-Block]
    [-Server <String>]
    [<CommonParameters>]

Description

The Set-WmsWebLimiting cmdlet configures web limiting for standard user sessions on the current Windows MultiPoint Server system.

Examples

Example 1: Block access to web sites

PS C:\> Set-WmsWebLimiting -Sites "www.test.com", "www.test1.com" -Block

This command blocks access to the specified URLs.

Parameters

-Allow

Indicates that this operation allows the specified web sites.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AllowList
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Block

Indicates that this operation blocks the specified web sites.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

BlockList
Position:Named
Mandatory:True
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 Server that is the target of the command. The default is 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

-Sites

Specifies an array of web sites.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
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.

Inputs

String

String

Outputs

Object