Installing PowerShell(PWSH) and VMware Power CLI on redhat Linux

 

Install PWSH:

On RHEL 7.x:

 # Register the Microsoft RedHat repository

curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo

On RHEL 8.x:

# Register the Microsoft RedHat repository curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo


# Install PowerShell

sudo yum install -y powershell

# Start PowerShell

pwsh



Installing VMware Power CLI:

install-module -name VMware.PowerCLI


    

No comments:

Post a Comment

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...