Tag: PowerShell

Posted in PowerShell

Create and Assign a Custom Attribute for Virtual Machines in vCenter Using PowerShell

Introduction: Managing a large number of virtual machines in vCenter can be challenging, especially when you need to keep track of specific information for each…

Continue Reading
Posted in PowerShell

Exploring PowerShell: Understanding a Script to Move VMware Virtual Machines to a specific folder.

PowerShell is a powerful automation tool used to manage and automate Windows-based systems. With its rich set of commands, it can help administrators perform various…

Continue Reading
Posted in PowerShell

PowerShell to bulk remove VIBs from multiple ESXi hosts (putting hosts in MM mode beforehand)

During my last upgrade from vSphere 6.7 to vSphere 7.0 on one of my clusters, I come across the issue with VIBs. Of course, the…

Continue Reading
Posted in PowerShell

PowerCLI and PowerShell cheat sheet

Here are commands, every vSphere admin should know: List of available interfaces and physical network cards (vmkernel + vmnic): Adding another interface (vmkernel to vMotion)…

Continue Reading
Posted in PowerShell

A general system error occurred: Exceeded the maximum number of permitted snapshots” error when creating a virtual machine snapshot

Before upgrading my NSX-T nodes I wanted to take a snapshot. To my surprise, I was not able to do so, as I received an…

Continue Reading
Posted in PowerShell

PowerCLI 12.7 is here and packed with a lot of new features!

The new version of PowerCLI has been released. The release has number 12.7 and is packed with new and exciting features. Along with improving the…

Continue Reading
Posted in Security Advisory

Black Basta Ransomware is now actively targeting VMware ESXi servers – Protect your environment!

What is Black Basta? Researchers from Uptycs reported that Linux version of Black Basta ransomware is now actively targeting ESXi servers, previously targeting Windows systems….

Continue Reading
Posted in PowerShell Security Advisory

How to determine if my virtual machines have a USB controller attached and how to remove it?

In the wake of recent published VMSA-2022-0004 admins can wonder how to determine if Virtual Machine has a USB controller attached. Now thanks to PowerCLI it…

Continue Reading
Posted in PowerShell

FIX: After upgrade PowerCLI to 12.5 there is no Get-VIApplianceService Command

You may come accross that after updating your PowerCLI module to version 12.5, you cannot run Get-VIApplianceService command. Even that your modules shows correct version….

Continue Reading
Posted in PowerShell

PowerShell – WARNING: Unable to resolve package source ‘https://www.powershellgallery.com/api/v2’.

I was going to update the PowerCLI module to version 12.5 once I received the above error. The first thing I was going to try…

Continue Reading