i am new I am trying to use local pc power shell to execute commands like on azure portal power shell. enter image description here in my local power shell i can login to azure using az login. az commands are running but i am trying to execute pg_dump --help but it say cannot recognize this command. but az commands are working fine.
enter image description here on azure power shell cli i can execute all the pg_dumb commands without issue.
please answer.
I think you need to install Azure CLI in order to use the same commands on local powershell: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli
you need to have also pg_dump and pg_restore command-line utilities installed.