为了后续更好的使用AD用户信息,现在需要导出域用的使用值

 

Get-ADUser -Filter {Enabled -eq "true"} -SearchBase "OU=公司,DC=xxx,DC=com" -Properties * | select DisplayName,name,UserPrincipalName,samaccountname,mail,LastLogonDate | sort LastLogonDate -Descending | Export-Csv c:\AllUser.csv -Encoding utf8

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2021-05-04
猜你喜欢
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
  • 2021-07-20
  • 2021-12-03
相关资源
相似解决方案