# Get-VaultItemAssociations ## Syntax Returns a collection of the item associations. ```powershell Get-VaultItemAssociations -Number [-Attachments] [-Primary] [-Secondaries] [-Tertiaries] [-StandardComponents] [] ``` ## Parameters | Type | Name | Description | Optional | |-----------------|--------------------|-------------------------------------------------------------------------|----------| | String | Number | Number of the item | no | | SwitchParameter | Attachments | If the SwitchParameter is set only attachments will be returned | yes | | SwitchParameter | Primary | If the SwitchParameter is set only the primary will be returned | yes | | SwitchParameter | Secondaries | If the SwitchParameter is set only secondaries will be returned | yes | | SwitchParameter | Tertiaries | If the SwitchParameter is set only tertiaries will be returned | yes | | SwitchParameter | StandardComponents | If the SwitchParameter is set only standard components will be returned | yes | ## Return type [File[]]() ← on success\ **empty** ← on failure ## Remarks The cmdlet returns the **exact version** of the associated *files* of an *item*.\ When no SwitchParameter is set, the cmdlet will return all types of associations for the item. ## Examples **Get all associations** ```powershell $allAssocs = Get-VaultItemAssociations -Number 100001 ``` **Get attachments only** ```powershell $attachments = Get-VaultItemAssociations -Number 100001 -Attachments ```