Category: vcenter
-
How to Create Local ESXi Account and Assign Permissions Using PowerCLI
Are you struggling to create local accounts and assign permissions for your ESXi hosts manually? In this post, we’ll show you how to use PowerCLI to make the process faster and more efficient. With just a few simple commands, you can create local accounts on your ESXi hosts, assign permissions, and even automate the process…
-
Single ESXi infrastructure upgrade: how to
Updating your ESXi hosts is essential for optimal performance. Unfortunately, without vCenter, updating your hosts can become a time-consuming and daunting task. However, in this blog post, we’ll show you how to update your ESXi hosts using PowerCLI. PowerCLI offers an efficient, fast, and less error-prone way to update ESXi hosts without vCenter. With our…
-
Missing linked vCenter
After patching the vCenters (5 of them) from version 7.0 U3d to version 7.0U3f to fix the mitigate the issue found on VMSA-2021-0025 I lost the one of the vCenters. My first thought would be to revert back to the previous version using the OFFLINE snapshots taken from the vCenters before the update, but I…
-
Script – Get VMs created, deleted or modified on vCenter
A while back someone asked me if i could tell him who deleted a vm and when. I was able to get the information but it took me quite some time digging in the events. After this request I was asked to create a script that would send an email every day with the VMs…
-
Get VM name with specific MAC Address
-Recently I got a request to get a virtual machine (vm) name using only the network interface MAC Address. After search for some scripts I could not find one that really worked for me so I put my brain to work and this is what I came up: [sourcecode language=”powershell”] get-vm | get-networkadapter | Where-Object…