Running a Powershell script through CB

RASH MAAR 406 Reputation points
2020-09-22T13:43:42.24+00:00

Hi,

I would like to make a inventory of Google Chrome Extensions.
And want to use the script in the following link to enter the details into WMI:

https://zsattler.wordpress.com/2017/02/27/chrome-extension-inventory-for-sccm/

I created a CB with the above script and distributed it to several computers.
But the extensions details do not go into WMI after running the CB on stations.
If I run the script manually then it works fine and the extensions details are stored in WMI successfully.

What I am missing?

Thanks

Microsoft Configuration Manager
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Fiona Yan-MSFT 2,296 Reputation points
    2020-09-23T04:32:00.31+00:00

    @RASH MAAR

    Could we know if we have check the box" run scripts by using the logged on user credentials"?
    If we we do not choose, it will use the system account to run the process like the situation you described. You said that you have run the script manually and it works fine, we use the user account when we run it manually, so we may need to check this place to see whether we have checked it or not?
    26607-capture-compliance-setting.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.