You can't use !$null (!=not), but you can use -ne (not equals). get-aduser -filter * -properties department | where department -ne $null.
確定! 回上一頁