VMware

PowerShell within CloudConfig – Disk Identification Formatting and Labelling

  • simon 

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 SCSI controllers. Thanks again to Dean and Chris, for providing environments for me to test against and validating the logic.… Read More »PowerShell within CloudConfig – Disk Identification Formatting and Labelling

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 soon as the same PowerShell was included within a CloudConfig element it did not work and they could not understand… Read More »PowerShell CloudConfig and vRealize Cloud Assembly

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 PowerCli. Normal esxcli would be SSH to each ESXi host and then run: esxcli system settings encryption get…” As luck… Read More »PowerShell – Discover Secure boot enabled Hosts

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 Version PowerShell Version Windows .NET Framework 4.7.2 or later Windows PowerShell 5.1 Linux .NET Core 3.1 PowerShell 7 macOS .NET… Read More »VMware PowerCLI PowerShell 5 or 7

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 to a Virtual Machine, this isn’t something that is always set, so first a command to find out where the… Read More »VMware PowerShell VM Console Connections

Buying VMware vSphere Perpetual Vs Subscription?

Buying VMware vSphere Perpetual Vs Subscription? I get asked a lot about the best way to buy VMware vSphere  now, especially by organizations that may have only ever purchased vSphere in a perpetual model before. I’ll try and distill some of those conversations into this post. TL:DR – I am yet to see a vSphere only estate that cannot be upgraded to a subscription model for the same price or cheaper than a standard perpetual… Read More »Buying VMware vSphere Perpetual Vs Subscription?

VMware Powershell Get Network Usage Metrics

  • simon 

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 a better understanding of the network traffic being processed by the estate. First port of call with any request like… Read More »VMware Powershell Get Network Usage Metrics

VMware PowerShell Find VMs with Memory Reservations

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 PowerShell. Memory Reservations get-VM | Where-Object {$_.ExtensionData.ResourceConfig.MemoryAllocation.Reservation -ne “0”} Get all virtual machines, where the virtual machine object has a… Read More »VMware PowerShell Find VMs with Memory Reservations

VMware Perpetual vs SnS vs Subscription vs SaaS

VMware Perpetual vs SnS vs Subscription vs SaaS As VMware move more and more licensing to a subscription model one question I’m getting asked more frequently is “what is the difference between VMware Perpetual vs Subscription vs SaaS vs SnS?” and “what is the best way for my organisation to purchase licensing from VMware now?” Below is a quick overview of the different licensing definitions along with an overview of when an organisation might use… Read More »VMware Perpetual vs SnS vs Subscription vs SaaS

VMware vSphere Essentials Kits vs ROBO Kits

  • simon 

I had a great question earlier in the week from someone wanting to understand where and how to use the vSphere Essentials kits and the ROBO kits So here we go VMware vSphere Essentials Kits vs ROBO Kits! VMware vSphere Essentials Kits vs ROBO Kits The vSphere Essentials and ROBO products fill two different needs. vSphere Essentials Pack is a license that entitles the purchaser to run up to three dual CPU ESXi hosts managed… Read More »VMware vSphere Essentials Kits vs ROBO Kits