Revisiting VMware PowerShell Find VMs with Memory Reservations Back in March 2021 I wrote a quick one line PowerShell snippet to find memory reservations for a friend that wanted a simple and quick way to return objects that had reservations. I extended the one liner to also return VM objects that have either CPU or […]
Read More
Adventures with PowerShell, CloudConfig and vRealize Cloud Assembly This week I had a customer with some errors trying to use the following componenets together: PowerShell, CloudConfig, and cloudbase-init within a Cloud Assembly blueprint. To put it bluntly, the code was not running correctly. The customer could run the code locally without any issue. However, as […]
Read More
PowerShell – Discover Secure boot enabled Hosts As sometimes happens someone from the community got in touch to ask me the question below. “I’m currently banging my head against the proverbial trying to understand the Get-EsxCli command. What I am after is a listing of Secure-boot Enabled or disabled against all are ESXi hosts using […]
Read More
I got asked the following today. “Can I install PowerShell 7 on Windows 10, but still use VMware PowerCLI 12 ?” Based on the public compatibility matrix documentation for VMware PowerCLI 12.0 the question was prompted because the answer is ostensibly no. Because of this table in the documentation under Installation Prerequisites; OS Type .NET […]
Read More
VMware PowerShell VM Console Connections Here is a quick outline of how you can use PowerShell to interrogate and change the configuration of the number of VM console connections permitted to connect to a virtual machine. The main focus of attention here is “RemoteDisplay.maxConnections” which can be used to limit the number of simultaneous connections […]
Read More
VMware Powershell Get Network Usage Metrics I was asked how it might be possible to get network usage metrics for Virtual Machines that where hosted on older versions of the VMware ESXi hypervisor the other week. The request came about as the organization in question is looking to replace a platform and wants to get […]
Read More
VMware PowerShell Find VMs with Memory Reservations I had a friend message me today asking a if there was a simple way to to use VMware PowerShell to find VMs with memory reservations. The answer is yes and it’s not that tricky to do, in fact we can do it with a single line of […]
Read More
Using PowerShell to Export Roles and Privileges I got asked the question last week if it was possible to export roles and privileges as a *.csv file from virtual centre? It’s a question that’s come up a few times over the years and there are various articles over at the VMware Communities and code sites […]
Read More
VMware PowerShell – How to Detect Thick Disks I was helping out someone today who needed to identify how to detect thick disks. They wanted to find out what disks on their VMware vSAN storage had been provisioned as ‘thick’. They’d been working to a standard where everything should have been deployed as a ‘thin’ […]
Read More
New Adventures in RPA For the uninitiated RPA stands for Robotic Process Automation, or a way of making technology work in smarter ways. To paraphrase the tag line from UiPath “Make robots so people don’t have to be robots”. “Robotic Process Automation is the technology that allows anyone today to configure computer software, or a […]
Read More