Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Server health check script

$
0
0

I am looking for a powershell script to check the following and copy the output to a text file or html file. Can some one please help with the same? Appreciate all your help

1. Check if Windows is activated or not and display a message in the output.

2. Confirm there is only one default gateway configured on the server.

3. Check if the default gateway (automatically picked up from network settings is reachable (ping-able or not) )

4. Show output of total & free space on all local disks.

5. Check if DNS servers are reachable or not

6. Display the Timezone of the server.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>