vmkping via PowerCLI/ESXCLi
When troubleshooting an ESXi host one of the most common problems is testing connectivity. A tool that used on the console or ssh session of the ESXi host is vmkping.…
General PowerShell Stuff
When troubleshooting an ESXi host one of the most common problems is testing connectivity. A tool that used on the console or ssh session of the ESXi host is vmkping.…
I had a need the other day to list directories that was empty. This code does just that. (gci C:\Scripts -r | ? {$_.PSIsContainer -eq $True}) | ?{$_.GetFileSystemInfos().Count -eq 0}…