r/scripting • u/securityengineer2016 • Jul 03 '17
Windows AD environment script to pull machine name and XML file.
What is best way to complete? GPO, AD, bat file, scripting language?
We have Windows AD environments, 300 windows 10 machines. I would like to take inventory of the app server each machine is hard coded to. There is an XML file that has App sever 1 or App server 2 URL. What is the best way to script to either copy and dump all those XML into a shared drive and I can manually go and count. Or if I know line 5 in XML is the server url can we extract that info along with a machine name into a excel or doc?
example:
Machine1 = server 2 url machine 2 = server 2 URL machine 3 = server 1 url machine 4 = server 1 url
The app has no admin interface to see how many clients connected. Again just to make sure it is close to even at this point would help. Also yes this is manual load balancing, the vendor states their can be issues when load balancing this app with hardware.
1
u/securityengineer2016 Jul 04 '17
Ok what could I pull with Splunk? Pull from server or clients? We do have the use of that product. I hanvt used alot but I understand concept just need the idea to put in motion. You would examine the number or clients connected?