PCLI.me

POWERCLI – Powershell — Hit me up on twitter @VMNICK0

Crazy Simple way to Clone a VM:

nicholasfarmer August 21, 2014

Get-vm “vm1” | new-vm “vm2” -vmhost “esx1.pcli.me”

I would like it better if we didn’t need to add a destination.  It should pull it from the existing VM location!
Fast enough I guess…

 

https://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/New-VM.html

vCenter, VirtualMachine

Post navigation

Quick Day to Day Capacity Change One-Liners
Check your VMs Numa Boundaries!
Recent Posts
  • Deploy a VIB via PowerCLI…
  • vSphere/vCenter Tagging Performance Test Script
  • vSphere Tags using CISServer methods.
  • Check vCenter For User and API Access Frequency.
  • Backup your VCSA via automation+powerCLI Script.
Archives
  • February 2020
  • February 2019
  • July 2018
  • December 2017
  • October 2017
  • September 2017
  • March 2017
  • October 2016
  • May 2016
  • June 2015
  • May 2015
  • January 2015
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • February 2014
  • August 2013
  • July 2013
  • June 2013
  • May 2013
Categories
  • Bugs and Notes
  • Datastore
  • HA and DRS
  • Host
  • Network
  • Powershell
  • Script Performance Settings
  • Uncategorized
  • vCenter
  • VirtualMachine
  • Windows
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Built on the Structr Framework for WordPress