Powershell Script to check Offline Server

chetan Vishwakarma 146 Reputation points
2021-02-05T12:35:32.937+00:00

Hello All ,

I have many servers and wanted to create a script in powershell which daily checks the status of the server and if any server will be down then it will report that information in text file.

Output will be like below

DownServerList

Server1
Server2
Server3

Thank Regards
ChetanV

Windows for business Windows Server User experience PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 36,291 Reputation points
    2021-02-05T12:43:22.23+00:00

    Just do an internet search, find one that's close too what you want, and modify it to suit your needs.

    https://www.bing.com/search?q=powershell+check+server+status

    Like this one.

    https://www.powershellbros.com/use-powershell-function-to-check-if-servers-are-accessible/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.