Quick way to get VM name from IP address
I need to get tie VM name starting from the IP address.Looking around blogs and forums I found a working solution based on the following code: Get-VM | Where-Object -FilterScript {...
View Articlewhat is gpm in vmware powercli?
In powerCLI we use commands like, get-vmhost, add-vmhost, etc, my concerned is about gpm gpm add-vmhostgpm get-vmhost what is gpm and its role in vmware?
View ArticleSeeking assistance with Tagging Query - get-vm | ?{ (get-tagassignment $_)...
Hello and thank you for time and help with my issue. Much appreciated. Currently I am running the Docker Power CLI on my mac and I am running a query that I believe would return all systems that are...
View ArticleExporting a loop to HTML?
I'm trying to get a list of VMs that have higher than 9cpu's and have hot-add/remove enabled (for NUMA purposes) I have so far created a script that works when it comes to output when calling the...
View Articlevmware cmdlet to access a vm and set an ssh credential
Hi all, I have been looking into doing some automation work and the first step for this to work is i need to be able to make sure ssh config are added onto a vm through vmware powershell (or cli...
View ArticleListing custom specific installed .VIB in the ESXi server ?
Hi, Using PowerCLI, Is it possible to query all of the ESXi servers managed by the Vcenter if they are installed or running certain type of .VIB ? for example, the VIB name is "pernixcore-vSphere5.5.0"...
View Articlesnapshot info
Hi can someone help me on this script.1.while fetching the size of the snapshot again I am issuing command (get-snapshot) that's wrong i am assuming.I already given virtual machine properties...
View ArticlePowerCli - type of DRS rule
Hello, in VMware PowerCLI, when I enter a command Get-DrsRule -Cluster , to list rules on a Cluster, I can see only "Seperate Virtual Machines" type of rules. I don't see "Run VMs on Hosts" type of...
View Articlevcsa 6.5 trying to automate the backup - authentication failure
Hello I tried to make the Backup-VCSAToFile work in my development environment. vSphere 6.5 – Automate VCSA Backup » Brian Graf's Virtualization Blog I'm stuck here:A server error occurred:...
View ArticleEnable passthrough for Graphic cards through PowerCli
HelloI'm trying to find a way to enable 2 Graphic Cards I have on the host for passthrough so I can use them in the VMsI'm familiar with the GUI way to do it and it works, but I want to include it in a...
View ArticleProject Onyx + vCenter 6.0?
Hello, We have recently upgraded our entire environment to vCenter 6.0, and I just came across Project Onyx tonight. I know that the web client will still be used for most of our regular interactions,...
View ArticlePowerCli script - find VMs and append DrsRule
Hello, i've been trying to write a script which firstly can find VMs with Windows OS on the Cluster and secondly Append them to the DrsVMGroup. To practice, firstly I've been trying to do that with one...
View ArticleInvoke multiple vcenters from rvtoolsbatch
Hi guys, Can you please help how i can be possible called upon multiple vCenters from rvtoolsbatch and will send all it all as different attachment but in a single mail? From what i read on rvtools...
View ArticlePowerCLi Script for Datastore usage report
Can some one please modify below script to get Datastore NAAID and freespaceGB. ##### Add VMWare Snanpin.if(-not (Get-PSSnapin VMware.VimAutomation.Core -ErrorAction SilentlyContinue)){ Add-PSSnapin...
View ArticleTagging Errors
I am running PowerCLI 6.5 R1 against vCenter 6.0 U3 and am getting this error:This began occurring after I had to reset the Inventory Service database. I re-created the Tag Categories and first noticed...
View ArticlePowerCLI and creating alarms
Hi, I have read LucD's excellent blogpost (Alarm expressions - Part 2 : Event alarms - LucD notes ) on how to create alarms and peetz addition to that...
View ArticleVMWare renewal activation
Do VMWare renewal activate automaticly, or do one of my Tech's need to activate it?
View ArticleLooking for Script that can connect to each of my vCenters and inventory...
Hello all, I am looking for a script that can connect to each of my 11 vCenters and provide a csv report of the following information below. IIf someone could give me an example of what get-property...
View ArticleWhere is the "Get-USBController" cmdlet? (Same with Remove- and New-)
The command “get-usbdevice”(also “Remove-UsbDevice”) should retrieve the USB devices that could be located on a VM. The problem is that cmdlt only will display those USB devices, if a USB device is...
View ArticlequeryDeletevms.pl with some questions
Is this script "queryDeletevms.pl " could not be used in vma6.0 ? I download this script and tried to use it but there's no response thanks !
View Article