VMware

Install PowerShell Core with PowerCLI on ubuntu 18.04

Steps to install PowerShell Core with PowerCLI on ubuntu 18.04 Switch to root and install PowerShell Core #Switch to root su – # Download the Microsoft repository GPG keys wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb # Register the Microsoft repository GPG keys sudo dpkg -i packages-microsoft-prod.deb # Update the list of products sudo apt-get update # Install PowerShell …

Install PowerShell Core with PowerCLI on ubuntu 18.04 Read More »

Sample Preventive Maintenance Reports with PowerCLI

Refer to the list of Sample Preventive Maintenance Reports with PowerCLI Connect to vCenter with PowerCLI #Import VMware Module Import-Module VMware.VimAutomation.Core $vCenter = “10.253.24.16” $User = “[email protected]” $Password = “[email protected]” Connect-VIServer -Server $vCenter -User $User -Password $Password -WarningAction SilentlyContinue To get hardware inventory for all VMware ESXi host $VMHosts = Get-VMHost Foreach ($VMHost in $VMHosts) …

Sample Preventive Maintenance Reports with PowerCLI Read More »

PowerCLI-Import OVF | The OVF descriptor is not available

I always encounter “The OVF descriptor is not available” when using the Web client to import OVF If i use the PowerCLI below to import OVF with the same OVF file, it will be always successfully #Login to vCenter / vSphere Host Connect-VIServer -Server 192.168.1.121 -User [email protected] -Password [email protected] #Map Network Drive to T: $net …

PowerCLI-Import OVF | The OVF descriptor is not available Read More »

Scroll to Top