Quantcast
Channel: VMware Communities : Document List - vSphere PowerCLI
Browsing all 379 articles
Browse latest View live

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 Article


Need 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 Article


VM 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 Article

ESXi Builder 1.4 and other utility scripts (Configure ESXi from Factory...

View Article

Shutdown 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 Article


function 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 Article

Get-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 Article

Get-VIReports

View Article


VM 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 Article


Guest Provisioning System (cloning from templates)

View Article

Virtual 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 Article

Dynamic Resource Pool Calculator

View Article

clonevdi

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 Article


Rescan 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 Article

Create 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 Article


Business 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 Article

powerVDI

View Article


VI-Cluster-Audit

View Article

PowerAlarm Manager

View Article

Getting 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
Browsing all 379 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>