Sccm query

Question

Do anyone has sql query to find out the list of computers and user details from specific Security group irrespective of agent installed or not.

I can fetch the report from sccm however I have couple of computers where agent is not installed for which I am unable to get the user details. I already created the query however not getting the required result.

Answers ( 5 )

    2
    2020-04-27T21:51:45+05:30

    Irrespective of agent installed or not?
    Use PS.Make sure you install the AD Module for Windows PowerShell before you try fetching from AD.

      0
      2020-04-28T11:16:28+05:30

      Thanks Deepak.
      Is there any possibility of getting data from sql to get the list of computers tagged under particular security group. This group is being used for patching.

      In my case, we don’t access to AD and my customer is looking to build a sql query for the same so that it can be used anytime when needed.

        0
        2020-04-29T12:15:33+05:30

        I hope we discussed on Whatsapp and cleared everything?

        If not i would love to continue further discussion. As already explained the information being fetched without SCCM Agent installed can’t be trusted as it was not injected to DB by trusted source.

        Moreover you don’t need AD full access. Read-only access is enough to fetch the data from AD.

        Hope that answers.

        Best answer
    2
    2020-04-27T18:54:28+05:30

    if the SCCM Agent is not installed, the user information is not captured via hardware inventory

Leave an answer

Sorry, you do not have permission to answer to this question .