Set-WmsWebLimiting

Configures web limiting for standard user sessions.

Syntax

Set-WmsWebLimiting
   [-Allow]
   [-Sites] <String[]>
   [-Server <String>]
   [<CommonParameters>]
Set-WmsWebLimiting
   [-Block]
   [-Sites] <String[]>
   [-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.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Block

Indicates that this operation blocks the specified web sites.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Server

Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.

Type:String
Aliases:ComputerName
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Sites

Specifies an array of web sites.

Type:String[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String[]

String

Outputs

Object