C++實現(未開源),用於查詢域內信息
http://www.joeware.net/freetools/tools/adfind/index.htm
常用命令如下:
列出域控制器名稱:
AdFind -sc dclist
查詢當前域中在線的計算機:
AdFind -sc computers_active
查詢當前域中在線的計算機(只顯示名稱和操作系統):
AdFind -sc computers_active name operatingSystem
查詢當前域中所有計算機:
AdFind -f "objectcategory=computer"
查詢當前域中所有計算機(只顯示名稱和操作系統):
AdFind -f "objectcategory=computer" name operatingSystem
查詢域內所有用戶:
AdFind -users name
查詢所有GPO:
AdFind -sc gpodmp
