0
Get-WmiObject win32_operatingsystem -computerName $svr | select csname, @{LABEL='LastBootUpTime';EXPRESSION={($now - $($_.ConverttoDateTime($_.lastbootuptime))).days}}
這項工作完美,但我的問題是有沒有辦法讓那些計算機名稱不在管道中,我的意思是說那些計算機不能訪問或RCP錯誤或訪問被拒絕。?上次啓動時間WMI
我想知道是否有服務器關閉或刪除。