我知道使用 powershell 的 AD 模块,我们可以检索域计算机的详细信息并将它们导出为 csv。我的域在 AWS Directory Service 中,并且我在此域下有一台计算机。我试过了Get-ADComputer,但它显示了这个错误:
Get-ADComputer : Unable to find a default server with Active Directory Web Services running.
Run Code Online (Sandbox Code Playgroud)
是否有另一种方法可以在 AWS Directory Service 域中检索域计算机的列表?
powershell active-directory amazon-web-services aws-directory-service