Hyper-V Troubleshooting on Nutanix

 

The Logs 

Get-Eventlog

Get-EventLog -List
Get-EventLog -list | Where-Object {$_.logdisplayname -eq "System"}
Get-EventLog -LogName _____ -Newest ___ -EntryType Warning,Error | Group-Object eventid | Sort-Object Name
Get-EventLog -LogName Application| fl source | findstr -i nutanix | select -uniq
Get-EventLog -LogName Application -Source NutanixHostAgent, NutanixCvmConsole, NutanixDiskMonitor -EntryType Warning,Error -Newest 10 | fl
Get-EventLog -LogName Application -Source *nutanix* -EntryType Warning,Error -Newest ____ | fl

Get-WinEvent -ListProvider * | fl Name | findstr -i nutanix

Name : Nutanix Disk Monitor
Name : NutanixCvmConsole
Name : NutanixDiskMonitor
Name : NutanixHostAgent

Find correlation between vmwp process and VM in Hyper-V 2012 – vNiklas Virtualization blog

Get-WmiObject Win32_Process -Filter "Name like '%vmwp%'" | Select-Object ProcessId, @{Label="VMName";Expression = {(Get-VM -Id $_.Commandline.split(" ")[1] | Select-Object VMName).VMName}} | ft -AutoSize

Purge tickets from host

allssh "source /etc/profile > /dev/null 2>&1; winsh 'klist -li 0x3e7 purge; klist -li 0x3e4 purge'"
Advertisements