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

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


Folder Name Mismatch

 Isn’t it annoying when you are looking for a VM on your datastore and you cant find it because the folder name is not the same as the VM,use the below script and you will never have that problem...

View Article


Service status and email if down (as well as try to start it)

Here is a script I sorta came up with that checks common vmware services and then emails if any one of them aren't running (and trys to start them)(since our vsphere upgrade bombed a few times thanks...

View Article

Creating Reports

View Article

Get PID of VMservers

View Article

Health Check VM

View Article


Clone VM from SnapShot

View Article

Configure Switching for ESX host based on .CSV

A couple of weeks ago I was in need to configure several new ESX servers with multiple NICs, vSwitches, and VLANs. Since I'm not one to do the same thing over and over again I turned to scripting. To...

View Article


Job-Rescan-ALL-HBA

This program will rescan all the HBA's in your vm enviroment, and instead of doing it one at a time, it creates a seperate job for each ESX host. Thus multithreading the rescan. For ESX 3.5 this is...

View Article

vCheck (Daily Report) V3

 Daily Report does what it says on the tin, it runs as a scheduled task before you get into the office to present you with key information about your infrastructure in a nice easily readable format....

View Article


Using PowerCLI to migrate VMs in a DRS enabled Cluster

 We are running ESX 4.0 on HP DL380G6 servers.  I created a cluster with three hosts and enabled HA and DRS.  I can use the VSphere GUI to tell a host to enter Maintenance Mode, and since it is in a...

View Article

create a. bat file to connect to vCenter

 Hello, I need to create one .bat to open a connection automatically to vCenter, I created a .bat PowerCLI calling and opens well but I did not connect, you copy the contents: C: \ Windows \ System32 \...

View Article

Need a PS script to delete/remove a VM

Hello, Is there any sample powershell script to perform something simple like removing a VW?   Given the datacenter name and the vm name, is there such a script someplace I could use to perform that?...

View Article
Browsing all 379 articles
Browse latest View live


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