I am working on trying to dump all asset information (with a focus on servers) from active directory on Windows 10. Currently, the main tool that has been working for me is 'Get-ADComputer' using powershell.
As an example:
Get-ADComputer -Filter * -Property * | Select-Object Name,DNSHostName,OperatingSystem,OperatingSystemServicePack,IPv4Address,LastLogonDate | Export-CSV All-Windows.csv -NoTypeInformation -Encoding UTF8
However, I feel like it is missing somethings or does not do a good job covering all assets like Linux machines that are configured within AD. I tried to install a tool called powersploit but the security permissions on my machine were really fighting me. Also, another ideal capability would be to try and dump assets from other AD environments that have trust relationships with my local AD environment but the priority is the first item.
Perhaps some AD gurus can provide me some advice.
Thanks, Joe