Quick powercli search for information on recently deleted VMs

Share This:

Above is quick and dirty syntax that’s quite easy to remember! More syntax options can be found here: http://www.virtu-al.net/2009/08/27/powercli-one-liners-last-10-vms-created-and-removed/  
Continue reading…

 

vSphere 6.x Enable & Disable iSCSI Jumbo Frames on vmk & vswitches powershell script

Share This:

 
Continue reading…

 

PowerCLI Core on Mac OS Sierra setup guide

Share This: “PowerCLI Core uses Microsoft PowerShell Core and .Net Core to enable users of Linux, Mac and Docker to now use the same cmdlets which were previously only available on windows.” This will allow you to use PowerCLI and connect to vCenter Server / Hosts directly from your Mac Terminal! 1.Download the fling from: […]
Continue reading…

 

vSphere ESXi Rolling reboots Safe powershell script – Calculate Cluster load / Safe MM

Share This:

 
Continue reading…

 

Calculate Cluster Load vSphere powershell script / function

Share This: I was surprised I couldn’t find this script/function when looking across WWW. Here it is!

Continue reading…

 

Update all Host profiles from reference host script

Share This:

 
Continue reading…

 

Enable / Disable alerts on ESXi Cluster script

Share This:

 
Continue reading…

 

Configure all vDS port groups as Elastic script – vSphere 6.0 (vds 5/5.5)

Share This:

Tested on vSphere 6.0u1 vDS 5 and 5.5, Nov 2016
Continue reading…

 

vSphere 6u2 permissions vs perl SDK API calls.

Share This: Prior to upgrading to vSphere 6  (running 5.5) my user account had a read-only privileges on the vSphere object, Datacenter object, as well as some grater rights on clusters, vDS and datastore. Using Perl SDK to deploy new VM’s – vmcreate.pl worked fine. PowerCLI C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\apps\vm> perl .\vmcreate.pl –url https://vCenterServer.local:443/sdk/webService –filename C:\Sc ripts\XMLVM.xml –schema C:\Scripts\Schema.xsd […]
Continue reading…

 

Automated deployment of vCC Server/Node on biggest datastore/dmz network/LDAP auth using powershell and powerCLI

Share This:

EDIT – Struggling with VAMI property key does not exist, here’s the workaround. Let the VM boot without applying network settings and use PowerCLI – Invoke-VMScript

Enjoy. Datastore calculations found on http://www.spug.co.uk/?p=185 @Thanks! Also William Lam’s post http://www.virtuallyghetto.com/2011/11/unattended-deployment-of-vcloud.html – Thanks!
Continue reading…