Advertisement
guyrleech

Use VMware Tools utility to get VM stats

Jul 15th, 2020
798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. $vmstats = & 'C:\Program Files\VMware\VMware Tools\VMwareToolboxCmd.exe' stat raw text | ForEach-Object{ & 'C:\Program Files\VMware\VMware Tools\VMwareToolboxCmd.exe' stat raw json "$_" } | ConvertFrom-Json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement