best business builder

Powershell – Last Computer Boot-Up time

In Windows PowerShell 3.0, use the Get-CimInstance cmdlet, and select the LastBootUptime property from the Win32_Operatingsystem WMI class:

 

PS C:\> Get-CimInstance -ClassName win32_operatingsystem | select csname, lastbootuptime

best vpn deal

Leave a Reply

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