Get the App
SLTechnology News&Howtos  ›  Servers  › 

Export domain user phone number in AD domain control

Shulou Source: shulou.com Published: 2022-06-03 08:48:28 12月06日 Update

1. Experimental environment

Windows server 2016

The use of dsquery and dsget

2. Experimental orders

Dsquery user-limit 0 OU=Users,OU=Suzhou,OU=Sites,DC=CORP,DC=LOCAL-name * | dsget user-display-tel-dept

Dsquery user-limit 0 queries 100 results by default, and there is no limit after adding this parameter-name * queries all dsquery /? View how to use dsget user-display user display name-tel phone number-dept department

Third, realize the extension

Export the results to TXT, do a simple web presentation, and form a web version of the address book that compares low.

Tags: Results web pages experiments queries numbers users phones phone numbers usage parameters names commands methods environment communications address books departments restrictions guidance Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn macOS Microsoft Xiaomi Shulou Information