Category: PowerShell
Power CLI Error: Invalid server certificate. Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option
It may happen that once you want to connect to your vCenter with PowerCLI, you may receive an error about invalid server certification. It just…
How to determine if my virtual machines have a USB controller attached and how to remove it?
In the wake of recent published VMSA-2022-0004 admins can wonder how to determine if Virtual Machine has a USB controller attached. Now thanks to PowerCLI it…
PowerCLI 12.5 – What’s New – Get-VIApplianceService
The new version of PowerCLI has been released by VMware in January. It contains a bunch of new features with one particularly interesting cmdlet Get-VIApplianceService….
FIX: After upgrade PowerCLI to 12.5 there is no Get-VIApplianceService Command
You may come accross that after updating your PowerCLI module to version 12.5, you cannot run Get-VIApplianceService command. Even that your modules shows correct version….
PowerShell – WARNING: Unable to resolve package source ‘https://www.powershellgallery.com/api/v2’.
I was going to update the PowerCLI module to version 12.5 once I received the above error. The first thing I was going to try…
How to migrate or move a template to different datastore?
On the first glace it should be relatively easy. One right-click on a template and migrate to different datastore. However there is no option to…
How to install PowerCLI module in PowerShell
In this short video I will show you how to install VMware PowerCli module into PowerShell. Please like and share to spread the knowledge in…
How to automate VM disk encryption with PowerCLI
A few days ago I wrote an article about disk encryption, you can read it clicking on this link. This is noce and easy method…
How to upgrade PowerCLI in PowerShell
I am preparing an article on how to automate virtual disks encryption in vSphere, when I come across an issue with PowerCLI, where I needed…
PowerCLI: Enable/Disable SSH and Lockdown Mode
Today I will show you quick and easy way to enable and disable SSH and Lockdown mode for all hosts in the cluster. Let’s start…