Windows Guest Deployment Automation
First, may I ask, do most of you have a number of large LUNs and you just arbitrarily deploy multiple VMs to a LUN? In the past we've found we got the best performance on our old Clariion by creating...
View ArticleHow to configure RAM, Disk & number of CPUs from command line while deploying...
Hi, Have been looking for procedure/tools that will let me deploy an OVA in an interactive fashion allowing the user to select number of CPUs, RAM size & disk size. Is there a way to do it at all...
View Articleget-vmhost doesn't reflect the correct Host Count on few scenarios
Hello Community Members, When I try to use get-vmhost cmdlet against a cluster which has one or no hosts in it, I don't get the correct host count. Below are few lines to get this information. foreach...
View ArticleCheck SMART disk health remotely
Hello,I'm new and I'm testing VMware vSphere version 5.1I managed to successfully connect by SSH and get the status of the hard disk with the command:esxcli storage core device smart get-d...
View ArticleShutdown and remove vm from inventory for a datastore powershell
Can anyone help me with a script to connect to a datastore and shutdown all the vm's that have tools and then power them off if they dont and then unmount the luns from this given cluster? Any help...
View ArticleESXi 5.0 Firmware Report
We are getting mature in our firmware deployment mechanism for our vast cross-platform ESXi environment however we still have gaps in isolating which hosts are not in line with our current firmware...
View ArticleESX 4.1 U1 CLI Command to Query Guest OS
I'm writing a python script that will be executed locally on an ESX 4.1 U1. The Scripts intent is to Align all VMDKs with the Netapp command line tool MBRAlign. While I realize there are other netapp...
View ArticleScripted change of VM annotation without PowerCLI?
Hi, is there a way to update the annotation of a VM without going to PowerCLI? I have tried logging into the ESX box with ssh, editing the .vmx file and have it reloaded with vim-cmd vmsvc/reload...
View ArticleCascading updates to multiple VMs?
Hi Everyone, I have a number of vms, which periodically will need the same update applied to each of them. For example, I might need to update the version of Perl installed on all my vms. Is there a...
View ArticleAuto deploy Tramp boot timed out
HI, I am trying to setup auto boot in a lab, I have followed some guides on this but I'm gettng stuck on the PXE boot. I am using windows vCenter and windows DHCP. I have installed the solar winds TFTP...
View ArticleAutomate VMware Snapshots
I am looking to automate a task in regards to snapshots in 5.0. Before we run Windows Updates we take a snapshot of each system manually. I would like to have a script that can automate the creation of...
View ArticleREDHAT 6 UDEV
Hi all, I want to replace OracleASM by using UDEV in RHEL 6.But my Redhat guest not showing the scsi id.how to retrive it. Thanks in advance,Sarathi
View ArticleHow to copy guests automatically in vsphere hypervisor
I have 2 hosts and would like to know what is the best way to copy vm's between hosts. Appreciate your help
View ArticleExport Host Configuration for VC? All settings, including advanced.
I work for a farely large, well known enterprise. We are standardizing all hosts to the same FW, BIOS, ESXi build, etc. Does anyone have a PowerCLI script to export all settings (especially advanced)...
View ArticleScript for checking snapshots existence for any VM
This is a script I've done for checking if there are any snapshot I forgot for any VM in any of my hosts, it can be croned in VMA. If so, it sends an email using "sendEmail" command. May be it helps...
View ArticlevMA, vifs and cron
Hi all, I'm just trying to launch a script on my vMA through vi-admin cron. Script works fine when manually lauched, but through the cron, I have the following error with the vifs command : + vifs -g...
View ArticleEnhanced storage vmotion
Hello all, is it possible to migrate the files from a running VM (Storage Vmotion) to a subfolder of a datastore? When I use the normal vSphere Client and I do a storage vmotion, I can only choose a...
View ArticleCreating Global PS Script for vCenter Alerts (SNMP)
I know there are many people out there that have created PowerShell scripts that will globally configure all of the current vCenter alerts for email actions. However, is anybody aware of a script that...
View ArticlePower off vm's
Hello, I want to be able to stop some virtual machines based on the following condition: Every friday night i will receive a .cvs format list with the virtual machines that have to remain in power on...
View Article