Jeżeli potrzebujemy sprawdzić, kiedy nasz komputer był restartowany ostatni raz, należy w PowerShell`u umieścić następującą komendę:
Get-CimInstance -ClassName win32_operatingsystem | select csname, lastbootuptime
Jeżeli potrzebujemy sprawdzić, kiedy nasz komputer był restartowany ostatni raz, należy w PowerShell`u umieścić następującą komendę:
Get-CimInstance -ClassName win32_operatingsystem | select csname, lastbootuptime