Open-RDMSession
Synopsis
Open the specified session in Remote Desktop Manager app.
Syntax
__AllParameterSets
Open-RDMSession [-ID] <guid> [[-TicketID] <string>] [[-Comment] <string>] [-Embedded] [-Silent]
[-ForceExternal] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]Description
Open the specified session in Remote Desktop Manager app.
Examples
Example 1
PS C:\> Open-RDMSession -ID "{00000000-0000-0000-0000-000000000000}"Open the session with ID = "{00000000-0000-0000-0000-000000000000}".
Example 2
PS C:\> $list = Get-RDMSession; Open-RDMSession -ID $list[1].IDRetrieves the list of available sessions and opens the second element in the list.
Example 3
Retrieves the list of available sessions and opens the second element in the list while filling the prompt, if required, with the the ticket ID and a comment.
Parameters
-Comment
Comment for the opening log
-Embedded
Open the session within PowerShell.
-ForceExternal
Open the session external
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-ID
Specifies the ID of the session to open.
Must be a valid GUID, in the form {00000000-0000-0000-0000-000000000000}.
-Silent
Silent
-TicketID
Ticket ID for the opening log
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.
Notes
For more information, type "Get-Help Open-RDMSession -detailed". For technical information, type "Get-Help Open-RDMSession -full".
Last updated
Was this helpful?