Removing a lifecycle definition from a file  using powerShell, this is not possible using the Update-VaultFile Commandlet


To achieve this you can use the Vault API with following code:

$vault.DocumentServiceExtensions.UpdateFileLifeCycleDefinitions(<Masterid>, <New Lifecycle definition ID>, <New State Id>, <string comment>)

No lifecycle definition is the <None> lifecycle in Vault. To access it use 0 for the "new lifecycle definiton ID", this lifecycle is not shown when using


For the State Id use -1, this state is also hidden.

See Also

Update-VaultFile (coolOrange Wiki)

Vault Object (coolOrange Wiki)