Get-MSModuleAttachments
Get a list of attachment linked to an App,User,Device etc. This list includes a url that can be used to download the attachment.
Syntax
Get-MSModuleAttachments -Module (String) -Id (Int32)
Examples
## Get all attachments linked to UserMigration record with Id 15000
Get-MSModuleAttachments -Module UserMigrations -Id 15000
## Get all attachments with a display name similar to 'DemoAttachment.txt' linked to Application with AppId 3079
Get-MSModuleAttachments -Module Applications -Id 3079 | Where-Object { $_.DisplayName -like "DemoAttachment.txt*"}