I am facing issue where in many of the servers go into sleep mode after 3 hours of idle state. I am not sure on how many servers this Sleep Mode setting is applied and wants to find it out on all the list of servers.
Can someone please help me with a script which can extract the "Sleep Mode" settings in Windows Power Options in Tabular form or formatted Excel format.
Requirement: Script to take input (computer names) from a text/CSV file and output to Excel/CSV file.
Thank you very much in advance !!
Regards
Amit Rao