Adding function Get-DBAUptime
Adding function Get-DBAUptime

New function to get uptime details from SQL and Windows
Uses WMI to get OS Starttime, and then time since then
Uses TempDB CreateDate to get SQL Starttime and then calculates time since then

Takes multiple servers in a list.

Can specify credentials or drops to TrustConnection for both parts
Can specify different sql or windows credentials, but only 1 for all checks

alevyinroc/dbatools,sqlpadawan/dbatools,SirCaptainMitch/dbatools,kozloski/dbatools,dsolodow/dbatools,wsmelton/dbatools,Splaxi/dbatools