Hello @johanningk
I believe this is possible with an internet proxy.
Note this must be run as system
You would not configure anything different in commvault but we must set the server to use the proxy so when we run the powershell commands the proxy is used:
Downloaded PSTools
PsExec - Windows Sysinternals | Microsoft Docs
Open command prompt as admin
Changed the directory to where the PSTools is extracted to and ran the following command:
PSExec.exe -i -s -d cmd.exe

Changed the directory to c:\program Files\Internet Explorer\ and open Internet explorer
Changed the configuration on the Internet explorer to run using the Proxy server specified Destination ip and port.

This sets the proxy settings for the machines system account so that when we initiate commands as system account it has the proxy config