摘要: $a=(Get-WmiObject -class Win32_OperatingSystem).lastbootuptime $restartTime=$a.substring(0,4)+"-"+$a.substring(4,2)+"-"+$a.substring(6,2)+" "+$a.subst 阅读全文
posted @ 2022-10-27 09:26 shenshu 阅读(24) 评论(0) 推荐(0) 编辑