Get VM list from a datstore Get-datastore | Where {$_.name -like '*DATASTORE01*'} | Get-VM Find snapshots Get-Snapshot -vm * -name “VEEAM BACKUP*” | Format-Table -property VM,Name Clear snapshots Get-Snapshot -vm * -name “VEEAM BACKUP*” | remove-snapshot List VM and What Datastore get-vmhost |get-datastore|%{$ds=$_; $ds.Extensiondata.Vm|%{$_|select @{n='vm name';e={(Get-View -property name -Id $_.toString()).name}},@{n='ds name';e={$ds.name}} }} List... Continue Reading →
Unable to live vmotion server betweenesxi hosts
/etc/vmware/vpx/vpxa.cfg stop vpxa on the host (/etc/init.d/vpxa stop) Replace the hostname with host management IP in the vpxa.cfg file. start vpxa service (/etc/init.d/vpxa start)
How to install PowerCli on Kali
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - Add source deb [arch=amd64] https://packages.microsoft.com/debian/stretch/prod stretch main sudo apt-get update sudo apt-get install -y powershell pwsh Install-Module -Name VMware.PowerCLI -Scope CurrentUser Update-Module VMware.PowerCLI