A new Flexera Community experience is coming on November 25th. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ESXQUERY Results to Append to a log file.

Good day

Is there a way that we can append the results of the esxquery -a command to a log or text file.

(2) Replies
mfranz
By Level 17 Champion
Level 17 Champion

Have you tried this?

esxquery.exe -a >>log.txt

 

Managed to write a powershell script to get the output and the have it emailed. Thanks for the feedback