How to Setup a User Account for Powershell CMDlet Execution
Viewed 197 times
The users.txt file in the Zerto Installation directory is empty starting in version 6.5. Unless populated, all CMDlet executions will fail for invalid credentials. This article explains how to properly populate the file so CMDlets can be ran via Powershell properly.
To setup a user account to execute Zerto Powershell CMDlets, follow the steps below:
Log into the relevant ZVM VM.
Open "users.txt" file in path \Program Files\Zerto\Zerto Virtual Replication\
Specify the username followed by a tab as a separator and then the SHA-1 hash for the password, (SHA-1 hash for "password" is: 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8)
administrator 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 (<----should look like this in the users.txt file as an example)
Save the file
Retry Powershell CMDlet and when the CMDlet asks for the username and password, enter the username listed and the password of which the SHA-1 hash equates to. In our example above, you would enter "administrator" and "password".