How to export AD on prem all groups and computers via PowerShell along with their attributes?
You can try something like :
Get-ADGroup -Filter * -property * | Export-csv -path groups.csv -delimiter ";" -notypeinformation Get-ADComputer -Filter * -property * | Export-csv -path computers.csv -delimiter ";" -notypeinformation
You will need the Active Directory PowerShell module
9 people are following this question.