Online Help > PowerShell Scripting

Remove-RDMSessionAttachment

SYNOPSIS

Remove session attachment.

 

SYNTAX

Remove-RDMSessionAttachment -Attachment [Attachment] <PSConnectionAttachment> -Force [Force] <SwitchParameter> [<CommonParameters>]

 

DESCRIPTION

Remove session attachment.

 

PARAMETERS

  -Attachment <PSConnectionAttachment>

(Required) Connection.

 

  -Force <SwitchParameter>

Forces removal of the attachment without confirmation by the user. Optional.

 

  <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 Remove-RDMSessionAttachment -detailed". For technical information, type "Get-Help Remove-RDMSessionAttachment -full".

 

EXAMPLE 1

PS C:\> $session = Get-RDMSession -Name MySession; $attachments = Get-RDMSessionAttachment -Session $session; Update-RDMSessionAttachment -Attachment $attachments[0]

 

Remove the first attachment in the session.

 

RELATED LINKS