PowerShell

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

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

Using PowerShell to Export Roles and Privileges

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 that can help. Anyway, as there isn’t a hand button in VC to extract/export/save roles and privileges to a *.CSV… Read More »Using PowerShell to Export Roles and Privileges

VMware PowerShell – How to Detect Thick Disks

  • simon 

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’ disk.  However, during an extended period of importing virtual machines they had discovered that many of the source VMs had… Read More »VMware PowerShell – How to Detect Thick Disks

New Adventures in RPA

  • simon 

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 “robot” to emulate and integrate the actions of a human interacting within digital systems to execute a business process. RPA… Read More »New Adventures in RPA

Interrogating Public Police Data with open-source technology and serverless methods

  • simon 

Interrogating Public Police Data with open-source technology and serverless methods ##* Update, the dashboards are currently Online (July 6th).  This was built as an educational tools and to demonstrate the art of the possible.  If you are interested in funding or rebuilding within your own cloud subscription please contact me via @virtual_simon *## I’ll preface with a few of the resources I’ve used so far in my Azure study journey 70-532 Developing Microsoft Azure Solutions… Read More »Interrogating Public Police Data with open-source technology and serverless methods

Interrogating data using modern applications

  • simon 

Interrogating data using modern applications I love working with data and with visualisations. I am often at my happiest when working with a large data set trying to find the answer to questions or trying to present data in a way that make it more accessible without losing its meaning.  In the UK, government departments are duty bound to publish figures about all manner of things from health and education to the economy and crime. … Read More »Interrogating data using modern applications

PowerShell: Searching guestinfo.appinfo for an Application or Service

  • simon 

PowerShell: Searching guestinfo.appinfo for an Application or Service VMware Tools 11 can be configured to collect information of running services inside a virtual machine.  When the information is captured it is stored in the advanced setting guestinfo.appinfo.  I’ve written about this before and how that information can be exported to a CSV and transformed with PowerBI to visualise application data in the data centre. This data often provides a significant challenge to get at using… Read More »PowerShell: Searching guestinfo.appinfo for an Application or Service