How to export computers from Active Directory to XML using Powershell?
- by CoDeRs
I am trying to create a powershell scripts for Remote Desktop Connection Manager using the active directory module.
My first thought was get a list of computers in AD and parse them out into XML format similar to the OU structure that is in AD. I have no problem with that, the below code will work just but not how I wanted.
EG # here is a the…