Hi, We are using filevault tool to copy content from our prod to lower env. Trying to configure the same in octopus deploy to automate the process. But not able to run the vlt commands. Getting the below error.
The term ‘vlt’ is not recognized as the name of a cmdlet, function,
July 30th 2019 13:00:37
Error
script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At C:\Octopus\Work\20190730073033-17848-203\Script.ps1:3 char:1
Thanks for getting in touch! It looks like the powershell session created by Octopus (Using the account running the Octopus service where the script is executed) does not have the vlt cmdlet loaded.
You may need to add an environmental variable to the account running the service so it is able to load the cmdlet.