$computers = Get-ADComputer -Properties * -Filter {LastLogonDate -lt $Days} ... LastLogonDate | Set-ADComputer $computer -Enabled $false
確定! 回上一頁