Multilingual Vault support

Since powerVault object like File, Item, FileBomRow, ItemBomRow etc. are structured in a way that all Vault properties are directly accessible via there display name, your jobs could looks something like this:

1if( $file.'File Name'.EndsWith('.ipt')) {
2        #...
3}

This job will only work on english Vault environments. When running against a german Vault Server the equivalent job would look like this:

1if( $file.'Dateiname'.EndsWith('.ipt')) {
2        #...
3}

If you need to write language neutral scripts that are running independent of the Vault language, powerVault gives you the possibility to access all the default Vault Properties with there System Name too. Following script would work on both, german and english Vault environment:

1if( $file._Name.EndsWith('.ipt')) {
2        #...
3}

Property System Names

PowerVault Objects have all the properties attached via their display names. Additionally, all the default properties are attached in the syntax “_SystemName”.

Note

Not all the properties are accessible via this approach on powerVault entities!

Custom User Defined Properties e.g. are are not part of the default Vault Properties List since they have system names that are not human readable (they contain {GUID} values).

To get a list of all the properties that are available via their system names, just run following command on the entity that you want.
For files the property list can be retrieved like this:

1$file | Format-List -Property _*
 1Classification            : None
 2_VersionNumber            : 13
 3_Comment                  : Property Edit
 4_NumManualAttachments     : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
 5_DateVersionCreated       : 19.04.2018 17:35:26
 6_CreateUserName           : coolOrange
 7_CheckInDate              : 19.04.2018 17:35:26
 8_ClientFileName           : Pad Lock.iam
 9_ClientFileName(Ver)      : Pad Lock.iam
10_ModDate                  : 19.04.2018 17:35:20
11_FileSize                 : 1064448
12_ItemLinked               : True
13_CheckoutLocalSpec        :
14_CheckoutMachine          :
15_CheckoutDate             : 19.04.2018 17:35:24
16_CheckoutUserName         :
17_Hidden                   : False
18_LatestVersion            : True
19_ControlledByChangeOrder  : False
20_ChangeOrderState         :
21_VisualizationAttachment  : None
22_Originator               : coolOrange
23_OrigCreateDate           : 09.09.2015 16:00:20
24_Thumbnail                : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ThumbnailInfo
25_Provider                 : Inventor
26_iLogicRuleStatus         :
27_FolderPath               : $/Designs/Padlock/Assemblies
28_Name                     : Pad Lock.iam
29_Extension                : iam
30_Compliance               : Compliant
31_Compliance(Ver)          : Compliant
32_LatestReleasedRevision   : False
33_ReleasedRevision         : False
34_InitReleaseDate          :
35_InitApprover             :
36_CategoryName             : Base
37_CategoryName(Ver)        : Base
38_CategoryGlyph            : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
39_CategoryGlyph(Ver)       : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
40_LifeCycleDefinition      :
41_LifeCycleDefinition(Ver) :
42_State                    :
43_State(Ver)               :
44_RevisionDefinition       :
45_RevisionDefinition(Ver)  :
46_Revision                 :
47_FileReplicated           : True
48_Author                   : B. ROEPKE
49_Comments                 :
50_Keywords                 : Vault, Tutorial, Padlock
51_RevNumber                :
52_Subject                  : test
53_Title                    : Pad Lock
54_Company                  : Autodesk, Inc.
55_DWGCreatorName           :
56_DWGCreatorVersion        :
57_CheckedBy                :
58_Cost                     : 17
59_CostCenter               :
60_CreationDate             :
61_Description              : PAD LOCK ASSEMBLY
62_Material                 :
63_PartNumber               : ERP-41881007
64_StockNumber              :
65_UserStatus               :
66_GeoRss                   :
67_Designer                 : B. ROEPKE
68_Engineer                 : B. ROEPKE
69_EngrApprovedBy           : D. BRISSON
70_Manager                  : klaus
71_MfgApprovedBy            :
72_Project                  : PADLOCK
73_TypeTag                  :
74_ItemAssignable           : True
75_Obsolete                 : False
76_HasDrawing               : True
77_HasParentRelationship    : True
78_HasModelState            :
79_IsTableDriven            :
80_IsTrueModelState         :
81_LatestReleaseDate        :
82_LatestApprover           :
83_EntityType               : File
84_EntityTypeID             : FILE
85_EntityIcon               : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.ImageInfo
86_EntityPath               : $/Designs/Padlock/Assemblies
87_FullPath                 : $/Designs/Padlock/Assemblies/Pad Lock.iam
88_HasAttachments           : False
89_LinkTargetPath           :
90_EntityDescription        : Autodesk Inventor Assembly
91_VaultStatus              : Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.EntityStatusImageInfo
92_VaultStatusModifier      : False