Difference between revisions of "ESXi Powershell Commandlets"

From DFWLPiki
Jump to: navigation, search
(ESXi Powershell Commandlets)
Line 4: Line 4:
  
 
==ESXi Powershell Commandlets==
 
==ESXi Powershell Commandlets==
 +
Connect to your vCenter
 +
Connect-VIServer -Server SERVERNAME
 
Get all VMs that have snapshots
 
Get all VMs that have snapshots
 
  get-vm | get-snapshot | format-list vm,name
 
  get-vm | get-snapshot | format-list vm,name

Revision as of 13:39, 21 May 2018

Scope of This Document

This document covers ESXi powershell commands that I find useful

ESXi Powershell Commandlets

Connect to your vCenter

Connect-VIServer -Server SERVERNAME

Get all VMs that have snapshots

get-vm | get-snapshot | format-list vm,name