at a costumer i have a little AD mess.
Many domain admin accounts are used as service accounts on productive systems - that was never documented.
So, as i want to reduce the amount of domain admins i need to get a report where domain accounts are used as service accounts.
My idea was to use msinfo32.exe, build a little script which i can distribute via. SCCM, baramundi or something else to get that informations.
Has somebody done this bevor to get dedicated information from msinfo32?
Or are there other ways to get the service accounts?