Online Help > PowerShell Scripting

Update-RDMSessionAttachment

SYNOPSIS

Update attachment document.

 

SYNTAX

Update-RDMSessionAttachment -Attachment [Attachment] <PSConnectionAttachment> -Filename [Filename] <String> -Refresh [Refresh] <SwitchParameter> [<CommonParameters>]

 

DESCRIPTION

Update attachment document.

 

PARAMETERS

  -Attachment <PSConnectionAttachment>

(Required) Attachment to update the document to.

 

  -Filename <String>

(Required) New document filename

 

  -Refresh <SwitchParameter>

Send refresh notification to Remote Desktop Manager application.

 

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

 

EXAMPLE 1

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

 

Update the first attachment to the document at 'C:\Mytestfile.txt'.

 

RELATED LINKS