Need help on powershell script for reboot of the systems more than 30 days. RRS feed

  • Question

  • Hello All,

    New to powershell scripting.

    My requirement is that I need such a script which will take the servers name from a text file, it will check the servers up-time , if the up-time is more than 30 days then it will reboot the server. 

    Can you please provide some script for the same.

    I will be very grateful if any one help me out. I couldn't find out this on internet . Please help

    • Moved by Bill_Stewart Monday, October 2, 2017 7:04 PM This is not "scripts on demand"
    Thursday, August 17, 2017 6:26 AM

All replies