# File A File object is of type *PsObject* and represents a file in Vault. The \$file object is dynamically generated based on the defined File *Properties* in Vault. Therefore all file 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 ```{code-block} powershell :linenos: $file.'Full Path' ``` ## Remarks Depending on the configured Property types in Vault the properties are converted to a corresponding PowerShell data type. | Vault | PowerShell | |-----------|---------------| | Number | Long | | Text | String | | Boolean | Boolean | | Thumbnail | ThumbnailType | ## Localization \$file 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)\ **except:** Internal ones ending with !dateonly or !timeonly (Date Version Created (Time only) and Date Only -> can be accessed via DateVersionCreated.Date or DateVersionCreated.Time)\ internal properties starting with Entity!... or File!... can be accessed directly without Entity! (e.g. File!VaultStatus, Entity!HasAttachments) ## Examples **Accessing Title for different Vault languages** ```{code-block} powershell :linenos: $file.Title #can be used with English Vault $file.Titel #can be used with German Vault $file._Title #can be used with all Vault language environments ``` **File-object** on an english environment: ```{code-block} powershell :linenos: Classification : None _Classification : None Version : 2 _VersionNumber : 2 Comment : Change Category _Comment : Change Category Number of Attachments : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo _NumManualAttachments : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo Date Version Created : 3/31/2025 4:03:54 PM _DateVersionCreated : 3/31/2025 4:03:54 PM Created By : Administrator _CreateUserName : Administrator Checked In : 3/31/2025 4:03:54 PM _CheckInDate : 3/31/2025 4:03:54 PM File Name : _Jet Engine Model.iam _ClientFileName : _Jet Engine Model.iam File Name (Historical) : _Jet Engine Model.iam _ClientFileName(Ver) : _Jet Engine Model.iam Date Modified : 4/29/2024 10:57:57 AM _ModDate : 4/29/2024 10:57:57 AM File Size : 9224704 _FileSize : 9224704 Linked to Item : True _ItemLinked : True Item Assignable : True _ItemAssignable : True Checked Out Local Spec : _CheckoutLocalSpec : Checked Out Machine : _CheckoutMachine : Checked Out : 3/31/2025 4:03:51 PM _CheckoutDate : 3/31/2025 4:03:51 PM Checked Out By : _CheckoutUserName : Hidden : False _Hidden : False Latest Version : True _LatestVersion : True Controlled By Change Order : False _ControlledByChangeOrder : False Change Order State : _ChangeOrderState : Visualization Attachment : None _VisualizationAttachment : None Originator : Administrator _Originator : Administrator Original Create Date : 3/31/2025 2:28:07 PM _OrigCreateDate : 3/31/2025 2:28:07 PM Thumbnail : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ThumbnailInfo _Thumbnail : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ThumbnailInfo Provider : Inventor _Provider : Inventor iLogicRuleStatus : _iLogicRuleStatus : Folder Path : $/Designs/InventorSamples/Models/Assemblies/Jet Engine/Jet Engine Model/Workspace _FolderPath : $/Designs/InventorSamples/Models/Assemblies/Jet Engine/Jet Engine Model/Workspace Name : _Jet Engine Model.iam _Name : _Jet Engine Model.iam File Extension : iam _Extension : iam Has Drawing : False _HasDrawing : False Has Parent Relationship : False _HasParentRelationship : False Has Model State : False _HasModelState : False Is Table Driven : False _IsTableDriven : False Is True Model State : False _IsTrueModelState : False Property Compliance : Compliant _Compliance : Compliant Property Compliance (Historical) : Compliant _Compliance(Ver) : Compliant Latest Released Revision : False _LatestReleasedRevision : False Released Revision : False _ReleasedRevision : False Initial Release Date : _InitReleaseDate : Initial Approver : _InitApprover : Latest Released Date : _LatestReleaseDate : Latest Approver : _LatestApprover : Obsolete : False _Obsolete : False Category Name : Engineering _CategoryName : Engineering Category Name (Historical) : Engineering _CategoryName(Ver) : Engineering Category Glyph : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo _CategoryGlyph : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo Category Glyph (Historical) : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo _CategoryGlyph(Ver) : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo Lifecycle Definition : Flexible Release Process _LifeCycleDefinition : Flexible Release Process Lifecycle Definition (Historical) : Flexible Release Process _LifeCycleDefinition(Ver) : Flexible Release Process State : Work in Progress _State : Work in Progress State (Historical) : Work in Progress _State(Ver) : Work in Progress State Glyph : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo _StateGlyph : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo State Glyph (Historical) : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo _StateGlyph(Ver) : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo Revision Scheme : Standard Alphabetic Format _RevisionDefinition : Standard Alphabetic Format Revision Scheme (Historical) : Standard Alphabetic Format _RevisionDefinition(Ver) : Standard Alphabetic Format Revision : A _Revision : A File Replicated : True _FileReplicated : True Has Markup : False _HasMarkup : False Has Markup (Historical) : False _HasMarkup(Ver) : False Archive Status : None _ArchiveStatus : None Archive Status (Historical) : None _ArchiveStatus(Ver) : None Author : Inventor _Author : Inventor Comments : _Comments : Keywords : _Keywords : Rev Number : _RevNumber : Subject : _Subject : Title : Jet Engine _Title : Jet Engine Company : Autodesk Inc. _Company : Autodesk Inc. DWG Creator Name : _DWGCreatorName : DWG Creator Version : _DWGCreatorVersion : Checked By : _CheckedBy : Cost : _Cost : Cost Center : _CostCenter : Date File Created : _CreationDate : Description : _Description : Material : _Material : Part Number : 333-021 _PartNumber : 333-021 Stock Number : _StockNumber : User Status : _UserStatus : GeoRss : _GeoRss : Application Version : 2024 (Build 280153000, 153) _ApplicationVersion : 2024 (Build 280153000, 153) DWG Type : _DwgType : Designer : Autodesk Inc. _Designer : Autodesk Inc. Engineer : _Engineer : Engr Approved By : _EngrApprovedBy : Manager : _Manager : Mfg Approved By : _MfgApprovedBy : Project : _Project : Type Tag : _TypeTag : Entity Type : File _EntityType : File Entity Type ID : FILE _EntityTypeID : FILE Entity Icon : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo _EntityIcon : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo Path : $/Designs/InventorSamples/Models/Assemblies/Jet Engine/Jet Engine Model/Workspace _EntityPath : $/Designs/InventorSamples/Models/Assemblies/Jet Engine/Jet Engine Model/Workspace Full Path : $/Designs/InventorSamples/Models/Assemblies/Jet Engine/Jet Engine Model/Workspace/_Jet Engine Model.iam _FullPath : $/Designs/InventorSamples/Models/Assemblies/Jet Engine/Jet Engine Model/Workspace/_Jet Engine Model.iam Attachments : False _HasAttachments : False Link Target Path : _LinkTargetPath : Date Version Created (Date Only) : 3/31/2025 12:00:00 AM Date Version Created (Time Only) : 1/1/0001 4:03:00 PM Checked In (Date Only) : 3/31/2025 12:00:00 AM Checked In (Time Only) : 1/1/0001 4:03:00 PM Date Modified (Date Only) : 4/29/2024 12:00:00 AM Date Modified (Time Only) : 1/1/0001 10:57:00 AM Checked Out (Date Only) : 3/31/2025 12:00:00 AM Checked Out (Time Only) : 1/1/0001 4:03:00 PM Original Create Date (Date Only) : 3/31/2025 12:00:00 AM Original Create Date (Time Only) : 1/1/0001 2:28:00 PM Initial Release Date (Date Only) : Initial Release Date (Time Only) : Latest Released Date (Date Only) : Latest Released Date (Time Only) : Type Description : Autodesk Inventor Assembly _EntityDescription : Autodesk Inventor Assembly Vault Status : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.EntityStatusImageInfo _VaultStatus : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.EntityStatusImageInfo Vault Status Modifier : False _VaultStatusModifier : False Id : 393 MasterId : 387 PersistentId : PersistentMasterId : IsCheckedOut : False ThinClientHyperLink : http://localhost/AutodeskTC/vault/explore/file/387 ThickClientHyperLink : http://localhost/AutodeskDM/Services/EntityDataCommandRequest.aspx?Vault=vault&ObjectId=%24%2FDesigns%2FInventorSamples%2FModels%2FAssemblies%2FJet+Engine%2FJet+Engine+Model%2FWorkspace%2F_Jet+Engine+Model.iam&ObjectType=File&Command=Select LocalPath : ```