Powershell

This one reports your server uptime.  Wow, that was redundant.  Anyway, here ‘tis:

PS > Get-VMHost | Get-View | select Name, @{N="Uptime"; E={(Get-Date) - $_.Summary.Runtime.BootTime}}

Name                                         Uptime
----                                         ------
192.168.0.51                                 16:21:30.5514830
192.168.0.55                                 16:20:47.0913190

: http://halr9000.com/article/555

Post a comment now » Sorry, the comments are closed.

No comments yet.

Sorry, the comment form is closed at this time.

  • Microblog

  • Recent Posts

  • Recent Comments

  • meta