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…

 

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

Share This:

 
Continue reading…

 

HPE Stackato 3.4.2 / 3.6.2 cloud deployment automated for vSphere – Powershell

Share This: Build template: In order to run the Invoke-VMscript cmdlet, we need to spin up stackato VM from ovf, install VMware tools, run some recent updates/patches and save this VM as template. Deploy stackato VM from OVF Open VM Console and configure OS: Login with stackato/stackato Reset stackato password to stackato123 using passwd Change […]
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…

 

vCloud Director RESTapi using powershell to disable org,orgvdc and poweroff vApps

Share This: Script written to automate vCD cancellation process using powershell and REST. It takes vcd and organization as input and cancel that customer in multi tenant environments. By cancel I mean disable org,orgvcd and power off all existing vApps.

Any questions let me know! Enjoy.
Continue reading…

 

Powershell & SSH-Module – automated ssh/sshd configuration changes for multiple nodes

Share This: This script uses powershell ssh module and provides a quick way for global configuration changes if puppet/chef etc is not available in your environment. Below is an example of ssh/sshd changes. Moreover using invoke-sshcommand can perform any  action / pass parameters to the shell.

Enjoy.
Continue reading…

 

Powershell,ovftool & powercli unattended deployment Tips

Share This: Typical vCC deployment command syntax is:

Here’s how to obtain some of those parameters (PowerCLI): Get host from specific cluster:

Get datastore with most free space for specific cluster:

Get network with specific content/prefix:

Have fun!
Continue reading…