Listing VMs with Boot Firmware set to EFI
Unfortunately today we ran into the issue described in this KB. VMware KB: Booting Windows virtual machine using EFI from EMC XtremIO storage fails with error: Boot system is not v… I was wondering if...
View Articledifferent results from Get-VMHostFirmware
Good day, I trying to create a script which will backup our ESXi configuration. I was able to connect to our vCenter or ESXi host using the Connect-VIServer (using AD user with administrator role)...
View ArticleNew-Harddisk - WARNING: Parameter 'VM' is obsolete. Passing multiple values...
How can a mandatory parameter be obsolete?
View Articleset VM Overrides for Keep VMDKs together sDRS cluster
Hi, for VMs with storage/vDisks >1 TB we override the "Keep VMDKs together" policy with "No". This is usually done while deployment or expansion of a VM. For whatever reason these overrides get lost...
View ArticlePowerCLI Script for UNMAP Specific Datastores
Hello All, Before i come to my question, let me explain my Environment. 1 Datacenter4 ClusterCluster12 HostCluster22 HostCluster33 HostCluster45 Host70 Datastores I wanted powercli script to run the...
View ArticleGet-Pool is not recognized as the name of a cmdlet, function, or script...
Hello! I am trying to automate a recompose operation. I've been struggling to get the Get-Pool command to work; the odd thing is that other commands WILL work. For example, some of the things I can do...
View ArticlevCenter 6.0 and -AllLinked. Supported?
I'm in the process of migration our 5.5 to newly created v6.0 vCenter servers however I noticed that some of the automation scripts that we've written were not working correctly. After a little digging...
View Articleiso to ovf/ova? Can it be done?
Hi I'm wondering if there is an automation tool/command(s) that will allow us (team of developers) to import/use a .iso file that contains 64bit OS and pass it through VMware ESXi or Server and then...
View ArticleVMware vSphere PowerCLI 6.0 Release 1 build 2548067 - Get-PowerCLIVersion fails
Just installed the 6.0 version of powercli If I launch PowerCLI as administator (i.e. elevated permissions) all is fine (x64 and x32) If I launch PowerCLI as default user (i.e. Not elevated...
View Articlepowercli script to get targets devices paths from HBA
I need to quickly check all the hosts in my clusters to see all of them have the correct number of HBA targets, devices and paths. I can see this information in vCenter. Not an easy task if you have...
View Articlepowercli script to capture cpu & mem usage stats
i am new to powercli and am not a good scriptor yet however, i need a script that will capture the max, min, avg cpu & mem usage stats per esxhost & vm for the past month and import into excel...
View ArticleScript Required | Basic VM Performance
Guys !Need help !I am very much new to CLI scripting, and would need your help to prepare a small script which can gather the following for a small group of VM's (say 10) -Performance Parameters -- CPU...
View ArticleExport / Import selective Folder structure
Hi, I require a script which can do the following, I have two vCenter VC1 and VC2 and many VM's with same names are present in both the VC, 1. Export the complete folder structure with VM details of a...
View Articleadd existing disk to VM
Hello, I am working on the automation script which will do perform following activity. 1) It will take volume snapshot ( Storage snapshot ) ==> completed2) It will create new volume for that...
View Articleinvoke-vmscript system error occurred: vix error codes = (1, 0)
Hi, I'm testing out some scripts in ESXi 6 as we plan to upgrade our environment from 5.5 in the next few months. I very quickly discovered that invoke-vmscript no longer works at least in my test...
View ArticleUnsupported virtual hardware device 'VirtualSCSI'.
I try to deploy a OVA into a vCenter 5.5, using OVFTool with the following command:/usr/bin/ovftool --powerOn --acceptAllEulas --noSSLVerify --skipManifestCheck --allowAllExtraConfig...
View ArticleError Installing OVFTool on Ubuntu 14 WorkStation Guest
I am trying to install ovftool 4.1.0 on a Ubuntu guest I have on my Windows host. I downloadedd the ovftool bundle changed permission to +x, started the bundle, and accepted the license. It says it...
View ArticleSet-HardDisk doesn't resize FS
Hi!I'm trying to resize a VM disk with Set-HardDisk. The resize at vmdk level works, but, as the documentation says, if I'm not resizing the OS disk, the command should expand the FS. Well, it doesn't...
View ArticleNeed help with PowerCLI stats collection
Hello all,I'm trying to collect some metrics via PowerCLI for Datastore Average IOPSand Guest Average Latency (GAVG) for all VMs in a given Datastore.This is normally a straightforward process if the...
View ArticleWhen will the vMA SUSE version be updated?
http://software.opensuse.org/download.html?project=devel%3Alanguages%3Aperl&package=perl-Net-Pcap I was wondering when the vMA appliance will be updated to a newer version of SUSE? I wanted to...
View Article