[PS] Get-MyUpTime

Uptime of Windows boxes

An cmdlet that is still missing in WMF5 as a default command.

So I decided to write a function for it.

This script determines the version of the WSMAN :

  • 2.0 Windows 7,2008,2008R2
  • 3.0 Windows 8 and higher

Because the WSMAN v2.0 is not CIM capable only WMI

Get-help Get-MyUpTime -Full for the full help of this function

Some examples for running the function

Output :


Updated: September 14, 2017 — 02:11

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.