Get-VaultItemAssociations

Returns a collection of the item associations.

Get-VaultItemAssociations [-Number] <String> [-Attachments] [-Primary] [-Secondaries] [-Tertiaries] [-StandardComponents] [<CommonParameters>]

Type Name Description Mandatroy Default value
String Number Number of the item.true
SwitchParameterAttachmentsIf the SwitchParameter is set only attachments will be returned.false
SwitchParameterPrimaryIf the SwitchParameter is set only the primary will be returned.false
SwitchParameterSecondariesIf the SwitchParameter is set only secondaries will be returned.false
SwitchParameterTertiariesIf the SwitchParameter is set only tertiaires will be returned.false
SwitchParameterStandardComponentsIf the SwitchParameter is set only standard components will be returned.false

Item[] ← on success
empty ← on failure

The cmdlet returns the exact version of the associated files and items.

When no SwitchParameter is set, the cmdlet will return all types of associations for the item.

Get all associations

$allAssocs = Get-VaultItemAssociations -Number 100001
Get attachments only
$attachments = Get-VaultItemAssociations -Number 100001 -Attachments