The -SearchBase parameter has to be used with Get-ADUser, not Where-Object (aliased by ?). This should work: Get-ADUser -Filter {(Enabled -eq $false)} ...
確定! 回上一頁