Add-RDMSessionAttachment check result - Success or Failure

Add-RDMSessionAttachment check result - Success or Failure

avatar

Hello,

is there any way how to check result of Add-RDMSessionAttachment command ?
I need to know if adding of attachment was successful or not.

Thank you in advance.

Best regards,

Ivo

All Comments (1)

avatar

Hello,

As the Add-RDMSessionAttachment cmdlet do not return anything on success, a method to check if the attachment has been successfully added to a session would be to test it with the Get-RDMSessionAttachment cmdlet.

Best regards,

Érica Poirier