Close

SDDC

Revisiting VMware PowerShell Find VMs with Memory Reservations

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

Pets, Cattle, Ants and a Lone Wolf

Pets, Cattle, Ants Pets vs cattle as an analogy to manage IT assets and cloud infrastructure is a decade old.  Even before this observation became commonplace, this is something that I’d seen first-hand.  When I came into the IT industry, I was often supporting assets named after Knights of the Round Table, Lord of the […]

Read More

PowerShell within CloudConfig – Disk Identification Formatting and Labelling

In a previous post I’d worked through a few issues with formatting and labelling disks with PowerShell and part of a CloudConfig element.  I had someone get in touch with a similar issue linked to how they could use PowerShell within CloudConfig to provide Disk Identification Formatting and Labelling, for disks being added across multiple […]

Read More

PowerShell CloudConfig and vRealize Cloud Assembly

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

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

VMware PowerCLI PowerShell 5 or 7

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

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