VMware

VMWARE commands

PowerCLI commands:

To let windows run unsigned scripts run inside Powercli
>Set-ExecutionPolicy RemoteSigned

Remote into server
= >connect-viserver xxx.xxx.xxx To get a list of vm's on the host(esxi server) >Get-vm

Run in batch mode to Capture metrics and for later set a delay(-d) and number of iterations (-n)
esxtop -b -a -d 5 -n 200 > metriccapture.cvs ( whatever you wanna name the text file)

>esxtop (just like top in linux) m (memory), v (only vm instances), h (Help)

CLI commands on the acutally host (ESXI server)

_

netsh commands
= >netsh netsh>quit >netsh interface ip dump > c:\network1.txt (or whatever name you want the text file)