Start a new topic

Get-Vaultfiles - latest released version

 I'm working with an automated documentation export, and I'm having trouble getting just the latest released version of a file.

Get-VaultFiles, without properties, will return even files that have only a Work In Progress version, while if I specify "State"="Released", it will no longer return files where the latest version is in a Work In Progress state, even if an older Released version is available.

(Get-Vaultfiles -Properties @{"File Extension"="idw";"State"="Released"})

Is there a way to configure the cmdlet to return only the latest Released version of the matched files?

1 Comment

Hello Darian,

Unfortunately it is not possible to get older versions of a file using Get-VaultFiles. To get older versions you can use Get-VaultFile with the FileId parameter.

Login or Signup to post a comment