You can achieve this using the following command: $Computers = Get-ADComputer -Filter * -Properties LastLogonDate | ? {$_.LastLogonDate -lt (get-date).
確定! 回上一頁