Show-WmsDesktop

Displays the currently shared desktop to the specified sessions.

Syntax

Show-WmsDesktop
    [-SessionId] <UInt32[]>
    -Desktop <WmsDesktop>
    [-Server <String>]
    [<CommonParameters>]
Show-WmsDesktop
    [-All]
    -Desktop <WmsDesktop>
    [-Server <String>]
    [<CommonParameters>]
Show-WmsDesktop
    -Desktop <WmsDesktop>
    [-Title <String>]
    [-Server <String>]
    [<CommonParameters>]

Description

The Show-WmsDesktop cmdlet displays the currently shared desktop to the specified sessions on the current Windows MultiPoint Server system.

Examples

Example 1: Show a desktop

PS C:\> Show-WmsDesktop -Invitation "See My Shared Desktop" -SessionId "1,2" -Title "Teacher's Desktop"

This command projects the desktop to the specified session list.

Parameters

-All

Indicates that this operation applies to all sessions on the target host.

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

-Desktop

{{Fill Desktop Description}}

Type:WmsDesktop
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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

-SessionId

Specifies an array of session IDs.

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

-Title

Specifies a title.

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

Inputs

UInt32[]

Microsoft.WindowsServerSolutions.MultipointServer.PowerShell.Commands.Library.WmsDesktop

String

Outputs

Object