Command to View Last Reboot:
Get-CimInstance -ClassName Win32_OperatingSystem | Select CSName, LastBootUpTime
Alternatively, you can use:
(Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime
Command to View Last Reboot:
Get-CimInstance -ClassName Win32_OperatingSystem | Select CSName, LastBootUpTime
Alternatively, you can use:
(Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime
Change Firewall Network Profiles to Private with powershell
0 commentaire