Situatie
Solutie
- Deschis PowerShell ca administrator
- Scrii comanda : [System.Management.ManagementDateTimeconverter]::ToDateTime((Get-WmiObject -Class Win32_OperatingSystem).LastBootUpTime)
3. Pentru a afla uptime-ul va trebui sa scadem data curenta ce se obtine cu comanda “ Get-Date”
(Get-Date) – [System.Management.ManagementDateTimeconverter]::ToDateTime((Get-WmiObject -Class Win32_OperatingSystem).LastBootUpTime)
Leave A Comment?