Change Storage Profile on Medias after vCloud Director Upgrade to 5.1
#Here is a script example to change the *any Profile to the correct one, after an Upgrade to vCloud Director 5.1$medias = get-media$i=1$total = $medias.countforeach($media in $medias){$storageprofile =...
View ArticleNeed a script to change tools locker setting
have this as the working line but i want to run this per cluster, need some help from the gurus out there Get-AdvancedSetting -Entity 'hostname' -Name UserVars.ProductLokerLocation |...
View ArticleVM Inventory from Multiple VCs
Hello, You can pull the VMs inventory using PowerCLI script from the multiple VCs. It will give you VCName, VMName and their respective information in Excel file.
View ArticleShutdown VM in specific Resource Pools
We have a very small VMware server population right now as we are just getting started. Consequentially keeping the non-production systems offline after hours to ensure HA resource availability is...
View Articlefunction destroy-network
This is untested for obvious reasons. For the same reasons, i've uploaded it as a txt file instead of as a ps1. This powershell function should sequentially remove from your VIServer all:...
View ArticleGet-StorageInfo
Many VMware environments will consist of multiple ESX servers, with multiple HBAs, connecting to multiple SCSI Targets, having access to multiple LUNs, which are used as extents for numerous...
View ArticleVM Service Report v1.0
This Script is to determine what services are running on what vm's in a VI organization This is very handy when you have many vm's running all types of services - and can point out a rogue service you...
View ArticleVirtual Machine Failover between DataCenters
#This is a script to failover multiple groups of virtual machines. This is for a Virtual Infrastructure based in two datacenters. Each datacenter has a SAN with a series of LUNs that are mirrored...
View Articleclonevdi
This script and config file is used in our environment to clone a base image on a netapp 3020 cluster with NFS and a-sis. Cloning is done parallel on all systems mentiond in the configuration file....
View ArticleRescan HBAs on all hosts in a cluster
Need to add or expand a LUN to all the hosts of a cluster? This simple script can save you a lot of time if you are using the GUI to do a rescan on a largish cluster. This script can easily be adapted...
View ArticleCreate Disaster Recovery Hard Drive
Update 27-Aug-08: Script updated for VI Toolkit 1.0 and Powershell v2 CTP2Create Disaster Recovery Hard DriveMotivation This script was created out of a motivation of laziness. Since VM's proliferate...
View ArticleBusiness Continuity Roll over Script
Background: Current Environment Primary Datacenter located in New Orleans, La. running VMWare 2.5.4 with an EMC CX3-80 backend.Backup Datacenter located in Dallas, Tx. running VMWare 2.5.4 with an EMC...
View ArticleGetting PID of running Virtual Machines from a list of servers
#Powershell and plink from Putty #Getting PID of running Virtual Machines from a list of servers #You shall supply a password for root as a parameter to the script param($password = $(throw 'You shall...
View Article