Thanks for the command. It worked. Each time I deploy a PA, I want to do all (or as much as I can) (of) the deployment with a single powershell script doing API calls to configure the PA. Each PA has an apiadmin account, specifically for doing API calls for future configurations. And each PA will have to have a different API-Key. So I have to change the password of the apiadmin account (without manually logging in) to something different on each PA to achieve this. I will store all API keys in a database. When I deploy a new PA, it is a clone of the template, all passwords and keys are the same for each one. I am using the script to automate changing passwords and generating new API keys. So from powershell script: deploy new PA from VMware template, has known password for apiadmin account. generate random password. send api call to new PA to get hash of that new password api call to with that hash to change the apiadmin password (the command you showed me). api call to PA using apiadmin and new password to generate new API key for apiadmin store new PA name and apiadmin API key in database. I do all the api calls using the default admin account, and then when done change the password and key of the admin account. thanks for your help.
... View more