ahxcjxzxh 发表于 2018-9-2 07:14:46

powershell查询没有邮箱的账号

  Get-ADUser -Properties *-Filter * -SearchBase "OU=华南大区,OU=C2C业务部,OU=业务部,OU=瓜子二手车直卖网,dc=guazi-corp,dc=com"   |where {$_.EmailAddress -eq   $null} | FL NAME

页: [1]
查看完整版本: powershell查询没有邮箱的账号