Link to home
Start Free TrialLog in
Avatar of AhmedAliShaik
AhmedAliShaikFlag for India

asked on

Powershell script to reboot a server

I need a powershell script to reboot couple of servers every week by running it as a scheduled task and in the event viewer it should record a message like "As per weekly maintenance server is rebooted".

We have a jump server with 2008 servers, and the servers which we need to reboot are 2003 servers.
ASKER CERTIFIED SOLUTION
Avatar of Akulsh
Akulsh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AhmedAliShaik

ASKER

Akulsh its good & working perfectly.
Thanks.
If it is working perfectly, why did you not give grade of Excellent?

In your grade of the previous question, I think Qlemo told you to give 'good' grade only when answer is not complete and you have to do some of your own research. Apparently you ignored his advice.
Thanks JARmod101 ,

Really i am not aware of the grading system.

Akulsh i am really sorry.