TechNet Gallery - resources for IT professionals

Download resources and applications for Windows 7, Windows Server 2008 R2, Windows Server 2008, SharePoint, System Center, Office, and other products. Find resources written in VB Script, PowerShell, SQL, JavaScript, or other script languages. New resources are added frequently so check often and see what's new.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.
Sort by: rss
16 results in PowerCLI [Clear]
Ben Wilkinson
This is deployment script for building VM's from a template and customization spec. Tested on ESX 3.5 and VSphere 4.1.
(0)
Updated 9/5/2013
Released 3/11/2011
788 Downloads
Amol S Patil
This Code will give you details of Datastore.
Datastore Name - Capacity - Free Space - Free Space %

Output will sorted by "Free Space %" so it will help to find the datastore which is running by low free space.
(1)
Updated 4/16/2013
Released 9/6/2012
118 Downloads
Ryen Kia Zhi Tang
This Get-VMWareTools Cmdlet allows Administrator to get VM's current VMWare Tools information from VMWare vCenter.  Provides configuration information of the VMWare Tools on each VM. Displays VM basic information such as UUID, PoweredOn, BootTime and
GuestOS for planning purpos
(1)
Updated 10/16/2013
Released 10/14/2013
39 Downloads
François-Xavier Cat
Article: http://www.lazywinadmin.com/2013/07/how-to-enable-copypaste-operations.htmlDESCRIPTIONThis function allows you to ENABLE Copy Paste operation between a Virtual Machine and your local machine.VMware does not recommend this manipulation to avoid and limit Exposure of Sensi
(0)
Updated 10/24/2013
Released 10/24/2013
64 Downloads
François-Xavier Cat
This Function Enable CBT on one or more VM on VMware vSphere 4.0 and higher versions. Changed Block Tracking (CBT) is a feature from VMware used for VM incremental backup. Similar to snapshot differentials or delta differencing, Change Block Tracking backs up only the ...
(0)
Updated 12/15/2013
Released 10/15/2013
49 Downloads
ConRam
To check out my full post check out my siteI think we can all agree that no matter how you look at it shrinking vmdk files is pretty much a pain in the ass. But to start let me first explain what I mean when I say shrinking a VMDK.If you are looking at the picture above, our goal
(0)
Updated 10/26/2012
Released 10/26/2012
211 Downloads
Amol S Patil
Get quick VM snapshot details on you emails.

This script will connect to multiple VCs > colleact Snapshot Details > Save OutPut as HTML format > Send email.
(0)
Updated 4/11/2013
Released 4/11/2013
62 Downloads
François-Xavier Cat
This function allows you to DISABLE Copy Paste operation between a Virtual Machine and your local machine.
(0)
Updated 10/24/2013
Released 10/24/2013
23 Downloads
Ben Wilkinson
Do you have multiple VCenter deployments you need to manage? Perhaps an old version and a new one OR no doubt you might upgrade in the future. Now connect more easily in scripts etc.
(1)
Updated 3/12/2011
Released 3/11/2011
Amol S Patil
You can get the datastore details from specific datacenter.

Vmware snapins added so you can run it from remote server.

This script will connect to multiple VCs > List Datacenters > Will ask to enter DC name from which you want to colleact datastore details.
(0)
Updated 3/23/2013
Released 3/23/2013
50 Downloads
ConRam
The end goal of this script is to automatically upgrade VMFS datastores to v5. However first it has to move all the VMs off of the datastore. It does this one of two ways...The first way is that a destination datastore is gven...If this is the case, it just queues up all the VMs
(0)
Updated 2/21/2012
Released 2/21/2012
329 Downloads
Ryen Kia Zhi Tang
This Get-VMWareCDDrive Cmdlet allows allows the administrator to get the virtual CD Drive configuration information on the virtual machine from VMWare vCenter. Provides capabilty to list more than 1 virtual CD Drive attached to the Virtual Machine. Displays
detail configuration
(1)
Updated 10/16/2013
Released 10/15/2013
20 Downloads
RickVee
Inventories VM VCenter or Hosts for snapshots. If remove is enabled, a confirm prompt is given for each snapshot
#Requires Powershell 2.0 and VMWare PowerCLI
#Best way to run is open PowerCLI and paste script in, after connection, hit enter to run rest of script
(0)
Updated 9/10/2009
Released 9/10/2009
Ben Wilkinson
This is a re-use of the VI cmdlets to run commands inside of the Guest OS on ESX 3.5 or Vsphere 4+
(0)
Updated 1/18/2011
Released 1/14/2011
Ben Wilkinson
Do you have multiple VCenter deployments you need to manage? Perhaps an old version and a new one OR no doubt you might upgrade in the future. Now disconnect more easily in scripts etc.
(1)
Updated 3/12/2011
Released 3/11/2011
1 - 15 of 16 Items