Item

An Item object is of type PsObject and represents an Item located in Vault.

The $item object is dynamically generated based on the defined Item Properties in Vault. Therefore all item properties are directly available on this object.
The properties are named the same as in Vault, including whitespaces. If you want to access such a property you have to enclose it in single quotes.

Syntax

1$item.Number

Remarks

Item objects returned by the Get-VaultChangeOrderAssociations cmdlet also include User Defined Link properties if they are available in Vault.
These Linked properties names are prefixed with ‘Record_’ on the Item object.

Localization

$item is supporting this feature:

  • all active properties can be accessed via the displayName

  • all active properties can be accessed via _SystemName

except: the ones with guids (=user defined)

Examples

Accessing Number for different Vault languages:

1$item.Number #can be used with English Vault
2$item.Nummer #can be used with German Vault
3$item._Number #can be used with all Vault language environments

Accessing a Link property named VersionToChange returned by Get-VaultChangeOrderAssociations:

1$item.Record_VersionToChange

Item-object on an english environment:

  1Version                           : 5509
  2_VersionNumber                    : 5509
  3Comment                           :
  4_Comment                          :
  5Number of Attachments             : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
  6_NumManualAttachments             : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
  7Date Modified                     : 13.12.2017 19:19:56
  8_ModDate                          : 13.12.2017 19:19:56
  9Latest Version                    : True
 10_LatestVersion                    : True
 11Controlled By Change Order        : False
 12_ControlledByChangeOrder          : False
 13Change Order State                :
 14_ChangeOrderState                 :
 15Originator                        : coolOrange
 16_Originator                       : coolOrange
 17Original Create Date              : 09.07.2015 10:18:00
 18_OrigCreateDate                   : 09.07.2015 10:18:00
 19Thumbnail                         : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ThumbnailInfo
 20_Thumbnail                        : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ThumbnailInfo
 21Provider                          : Inventor
 22_Provider                         : Inventor
 23Name                              : 100001
 24_Name                             : 100001
 25Property Compliance               : Compliant
 26_Compliance                       : Compliant
 27Property Compliance (Historical)  : Compliant
 28_Compliance(Ver)                  : Compliant
 29Latest Released Revision          : False
 30_LatestReleasedRevision           : False
 31Released Revision                 : False
 32_ReleasedRevision                 : False
 33Initial Release Date              :
 34_InitReleaseDate                  :
 35Initial Approver                  :
 36_InitApprover                     :
 37Category Name                     : Document
 38_CategoryName                     : Document
 39Category Name (Historical)        : Document
 40_CategoryName(Ver)                : Document
 41Category Glyph                    : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
 42_CategoryGlyph                    : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
 43Category Glyph (Historical)       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
 44_CategoryGlyph(Ver)               : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
 45Lifecycle Definition              : Item Release Process
 46_LifeCycleDefinition              : Item Release Process
 47Lifecycle Definition (Historical) : Item Release Process
 48_LifeCycleDefinition(Ver)         : Item Release Process
 49State                             : Work in Progress
 50_State                            : Work in Progress
 51State (Historical)                : Work in Progress
 52_State(Ver)                       : Work in Progress
 53Revision Scheme                   : Standard Alphabetic Format
 54_RevisionDefinition               : Standard Alphabetic Format
 55Revision Scheme (Historical)      : Standard Alphabetic Format
 56_RevisionDefinition(Ver)          : Standard Alphabetic Format
 57Revision                          : A
 58_Revision                         : A
 59Last Updated By                   : coolOrange
 60_LastModifiedUserName             : coolOrange
 61Number                            : 100001
 62_Number                           : 100001
 63Title (Item,CO)                   : Front Hub Carrier R.ipt
 64_Title(Item,CO)                   : Front Hub Carrier R.ipt
 65Units                             : Each
 66_Units                            : Each
 67Description (Item,CO)             : PAD LOCK ASSEMBLY
 68_Description(Item,CO)             : PAD LOCK ASSEMBLY
 69Type                              :
 70_ItemClass                        :
 71Equivalence Value                 : 100001
 72_EquivalenceValue                 : 100001
 73Effectivity                       :
 74_ItemEffectivity                  :
 75Eff. Start                        :
 76_ItemEffectivityStart             :
 77Eff. End                          :
 78_ItemEffectivityEnd               :
 79Obsolete                          : False
 80_Obsolete                         : False
 81File Link State                   : Current
 82_FileLinkState                    : Current
 83Latest Released Date              :
 84_LatestReleaseDate                :
 85Latest Approver                   :
 86_LatestApprover                   :
 87Entity Type                       : Item
 88_EntityType                       : Item
 89Entity Type ID                    : ITEM
 90_EntityTypeID                     : ITEM
 91Entity Icon                       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
 92_EntityIcon                       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
 93Path                              :
 94_EntityPath                       :
 95Full Path                         :
 96_FullPath                         :
 97Attachments                       : True
 98_HasAttachments                   : True
 99Link Target Path                  :
100_LinkTargetPath                   :
101Date Modified (Date Only)         : 13.12.2017 00:00:00
102Date Modified (Time Only)         : 01.01.0001 19:19:00
103Original Create Date (Date Only)  : 09.07.2015 00:00:00
104Original Create Date (Time Only)  : 01.01.0001 10:18:00
105Initial Release Date (Date Only)  :
106Initial Release Date (Time Only)  :
107Latest Released Date (Date Only)  :
108Latest Released Date (Time Only)  :
109Type Description                  : Item
110_EntityDescription                : Item
111Vault Status                      :
112_VaultStatus                      :
113Id                                : 138286
114MasterId                          : 16437
115PersistentId                      :
116PersistentMasterId                :