question

MuhammadMohsinKhan-8635 avatar image
0 Votes"
MuhammadMohsinKhan-8635 asked learn2skills commented

Server Up time of specific times

Hi Dears,

I want to get the details of servers availaibility or up time of around 3 months data. Anyone can provide powershell script related to this will be highly appreciated. For eg, servers availability of 3 months data up and down times. thank You.

regards,
-Mohsin

windows-server-2016
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

To follow-up, Please let us know if you have further query on this.
Please don’t forget to Accept the answer

0 Votes 0 ·
learn2skills avatar image
0 Votes"
learn2skills answered

Hi @MuhammadMohsinKhan-8635

Refer to the below URL it may help you.
How Do I Calculate Server Uptime
Calculating system uptime with PowerShell


If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered

Hi,

Thank you for your posting!

Based on your descriptions, I agree with @learn2skills and you can also try this blog:

https://community.idera.com/database-tools/powershell/ask_the_experts/f/powershell_and_wmi-24/21171/availability-server-uptime

(Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

Thank you for your support!

Best regards
Joann


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.