How to Fix the PowerShell 7.4.6 Issue in 19.0.0/19.0.1 Classic Gateway Patch?
Follow the steps below to resolve the PowerShell 7.4.6 issue in the patched gateway:
- Log in to the Gateway command-line interface using the appropriate credentials.
- Use the appropriate command to switch to root user (e.g., sudo -i or su depending on your environment).
- Run the following command to tag the necessary Docker image:
ctr i tag docker.io/library/opsramp-powershell:7.4.6 opsramp-powershell:7.4.6 - Run the script to verify the status of PowerShell:
/opt/gateway/powershell/powershell-check-status.sh - Ensure PowerShell is properly installed by checking the version:
pwsh --version - After running the above command, you should see the following output:
PowerShell 7.4.6