0
我正在使用以下腳本獲取AD中的所有活動用戶。在一個DC上超出Active Directory操作超時限制,但不在另一個DC上
Import-Module ActiveDirectory
Get-ADGroupMember -Identity "Domain Users" |
Where {$_.Enabled -eq $true} | select * |
Export-Csv AD.csv -NoTypeInformation -Force
我得到超時:
Error: Get-ADGroupMember : The operation returned because the timeout limit was exceeded
只有3000 AD用戶,我能夠從一臺服務器而是從另外一個我得到這個錯誤得到報告。
也許你會發現你的答案在這裏:[社會的TechNet(HTTPS: //social.technet.microsoft.com/Forums/windowsserver/en-US/b5b439fe-1aa9-4823-a3ac-d0be643a5073/query-using-ad-module-timed-out) –