Edit

Share via


Show-WmsDesktop

Displays the currently shared desktop to the specified sessions.

Syntax

ShowSessionList

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

ShowAll

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

RemoteControl

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.

Parameter properties

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

Parameter sets

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

-Desktop

{{Fill Desktop Description}}

Parameter properties

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

Parameter sets

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

-SessionId

Specifies an array of session IDs.

Parameter properties

Type:

UInt32[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ShowSessionList
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Title

Specifies a title.

Parameter properties

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

Parameter sets

RemoteControl
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.

Inputs

UInt32

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

String

Outputs

Object