mirror of
https://github.com/JDM170/show_comp_uptime
synced 2024-10-25 13:44:29 +07:00
Add files via upload
This commit is contained in:
7
src_powershell/computer boot up time.ps1
Normal file
7
src_powershell/computer boot up time.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
write-host "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> (<28><>. R54-630300IT04):"
|
||||
$pc_name = read-host
|
||||
|
||||
Get-CimInstance -ClassName win32_operatingsystem -ComputerName $pc_name | select csname, lastbootuptime
|
||||
|
||||
Pause
|
||||
Reference in New Issue
Block a user