User Tools

Site Tools


program_lang:powershell_linux

This is an old revision of the document!


Powershell on Linux

Powershell can be downloaded by Microsoft, for example available in rpm package

Execute the below command to install VMware PowerCLI module (requires internet connection)

[root@linux]/root # /usr/bin/pwsh
PS /root> Install-Module -Name VMware.PowerCLI

Else offline module installation is also available for example PowerCLI

https://developer.vmware.com/powercli/installation-guide

Check PowerShell module PATH

PS /root> $env:PSModulePath

Execute the below command to list available modules

PS /root> Get-Module -Name VMware.PowerCLI -ListAvailable 

Execute the below command update a module (requires internet connection)

PS /root> Update-Module -Name VMware.PowerCLI
program_lang/powershell_linux.1636648464.txt.gz · Last modified: 2021/11/11 17:34 by manu