question

createshare-7115 avatar image
0 Votes"
createshare-7115 asked Jason-MSFT answered

Get Local Admins using SCCM

Hi,

Is it possible to get all the local administratos of domain-connected servers using SCCM?

Thanks.

mem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Jason-MSFT avatar image
1 Vote"
Jason-MSFT answered

Yes. Multiple ways.

You can write a custom script and deploy with the Run Scripts feature. (Or you can easily find a PowerShell script on the web for this as well.)

You can use CMPivot which contains an entity for exactly this.

You can extend hardware inventory to do this. Once again, searching the web will give you info on folks who have done this before and how they've done it (including this one: https://tcsmug.org/blogs/sherry-kissinger/244-all-members-of-all-local-groups-configmgr-2012).

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.