# Get-VaultChangeOrderAssociations Returns a collection of Change Order associations. ## Syntax ```{code-block} powershell :linenos: Get-VaultChangeOrderAssociations -Number -Type [] ``` ## Parameters ```{eval-rst} .. csv-table:: :header: "Type","Name","Description","Optional" "String","Number","Number of the Change Order ","no" ":ref:`ChangeOrderAssocType `","Type","Specifies which association type is retrieved ","no" ``` ### ChangeOrderAssocType ```{eval-rst} .. csv-table:: :header: "Name","Description" "ItemRecords","Get the item record associations" "FileRecords","Get the file record associations" ``` ## Return type [Item[]](/code_reference/objects/item) / [File[]](/code_reference/objects/file) ← on success\ **empty** ← on failure ## Remarks The Cmdlet returns the **exact version** of the associations. ## Examples **Get a Change Orders FileRecord associations** ```{code-block} powershell :linenos: $files = Get-VaultChangeOrderAssociations -Number "ECO-100001" -Type FileRecords ``` **Display all Item- and File-Record associations of a Change Order in console** ```{code-block} powershell :linenos: $allAssocs = @( Get-VaultChangeOrderAssociations -Number "ECO-100001" -Type FileRecords; Get-VaultChangeOrderAssociations -Number "ECO-100001" -Type ItemRecords) $allAssocs | Format-Table Id, _EntityTypeID, Name, Revision, State <# Id _EntityTypeID Name Revision State --- -------------- ------------- --------- -------- 15 FILE Valve.ipt 2 Released 16 FILE Pad_Lock.iam 2 Released 22 ITEM 1000002 1 Released #> ```