Hello @Bar Kah
Normally I have used and recommend the next official MS guide:
Hope this helps with your query,
--If the reply is helpful, please Upvote and Accept as answer--
I have SCCM 1902 and want to collecting inventory report about member of local administrators group in all clients.
Previously, i have followed this article and this seems good solution :
But, source of references as URL below has no longer exist :
Is there another solution or valid reference, if possible for me to get the report by SCCM?