Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Unpublish-WmsDesktop

Last Updated: 3/31/2017

SYNOPSIS

Stops the sharing of the specified session desktop.

SYNTAX

Unpublish-WmsDesktop [-SessionId] <UInt32> [-Server <String>] [<CommonParameters>]

DESCRIPTION

The Unpublish-WmsDesktop cmdlet stops the sharing of the specified session desktop.

EXAMPLES

Example 1: Stop sharing a desktop

PS C:\> Unpublish-WmsDesktop -SessionId 2

This command stops desktop sharing of the desktop with the session ID of 2.

PARAMETERS

-Server

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

Type: String
Parameter Sets: (All)
Aliases: ComputerName

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-SessionId

Specifies the session ID to stop sharing.

Type: UInt32
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

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

None.

OUTPUTS

None.

NOTES

Publish-WmsDesktop

Show-WmsDesktop

© 2017 Microsoft