Tag: PowerCLI

How to automate VM disk encryption with PowerCLI

PowerShell

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 if we have one or two Virtual Machines to encrypt, but what to do if we have a 10, 100 or more of them? In the case of large amount…

Read more

How to upgrade PowerCLI in PowerShell

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 to upgrade version. In this short video I will walk you through the process of upgrading the PowerCli. Please like and share to spread the knowledge in the community. If…

Read more

Get-VM – Retreving a list of VMs in your envirnoment

PowerShell

First thing to remember is to connect to the VCAS. Meet the GET-VM command! Syntax: If you want to retrieve VMs connected to specific Virtual Switch: If you want to retrieve VMs by ID: If you want to retrieve VMs by related object: Let’s start to list your VMs. This is general report: It will…

Read more