Online Help > PowerShell Scripting

Invoke-RDMUnparentSession

SYNOPSIS

Invoke a refactoring action to move out a connection under a parent connection.

 

SYNTAX

Invoke-RDMUnparentSession -Refresh [Refresh] <SwitchParameter> -Session [Session] <PSConnection[]> [<CommonParameters>]

 

DESCRIPTION

Move out a session under a parent session.

 

PARAMETERS

  -Refresh <SwitchParameter>

Send refresh notification to Remote Desktop Manager application.

 

  -Session <PSConnection[]>

(Required) PSSession object, must be retrieved from Get-RDMSession or created via New-RDMSession that you want to unparented.

 

  <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".

 

NOTES

For more information, type "Get-Help Invoke-RDMUnparentSession -detailed". For technical information, type "Get-Help Invoke-RDMUnparentSession -full".

 

EXAMPLE 1

PS C:\> $list = Get-RDMSession; $parent = $list[0]; Invoke-RDMUnparentSession -Session $parent.SubConnections -Refresh

 

The subconnections in the session in the variable $parent are unparented.

 

RELATED LINKS

Invoke-RDMUnparentSession