

The following step is creating an XML Template. We can filter AD Computer by OU(Organisational Unit), by OperatingSystem, Name, TAG, etc. Feel free to adapt the script to your needs. Most probably AD is your primary Source of Truth in our company for the windows environment. The content can be stored or imported from a file txt/csv or even AD. NET Framework.įirst of all, we need to gather a list of servers in our environment/infrastructure. In this article, I’ll show how to generate an RDG file with a little bit of help offered by PowerShell and the. One thing is being tempted, another thing is starting to code without even thinking of the end goal. One of them, for example, is re-invent the wheel, building your own template generator instead of using a parser or a built-in library that manipulates XML. There are ways that are quick and dirty and in general, you need to avoid.
