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


Find snapshots and send email to user/users

 We have had some issues where VCB doesn't clean up after itself everytime it runs so I wrote a quick script that will query all the VM's for current snapshots left over and send an email to me with...

View Article


Image may be NSFW.
Clik here to view.

VMware Healthcheck script

VMware Healtcheck scriptIntroduction: Healthcheck is a Powershell script that reports information like snapshots, VMware tools version, datastore space, CDROM and/or floppy drives connected, VM details...

View Article

A script that returns the date a VM was created

Hello All,  I am in the process of writing a short script that returns the a VM name, the creator's username, and the date/time that the VM was created. The script then outputs the results to a CSV....

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

Snapshot Email Reminder

 Fed up of chasing those people who constantly create snapshots and leave them hanging around for weeks or even months on end ? You no longer have to do the chasing, just use the following script to...

View Article

Report into MS Word

Firstly, I wanted you to know that I only started with PowerShell around a month ago when I saw the cool things you were doing with the beta of the VI toolkit, so not only have I been learning the...

View Article


VMware Infrastructure Power Documenter

View Article


Get DataStore Usage Report on email.

Hello Friend, Find the attached script to Get DataStore Usage Report on email.This will give you HTML format report on your email and with RED mark if any datastore is running with less then 20% of...

View Article

Image may be NSFW.
Clik here to view.

Find Orphaned VMDK's

    (This script is for ESX 3.01, to find snapshots on 3.5 and above change the script en the names it searches for!!!!!)     Hi, This script will find all orphaned vmdk's on all your virtual centers...

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


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