chrome extension inventory

Comments

8 comments

  • Brad McClave

    Wow, this is amazing. I have this setup as a package to run at regular intervals with the schedule set to run the WMI scan for this specific WMI after the fact. I also have a report setup so management can see the different extensions installed. They are currently evaluating how to setup the GPO for Chrome management and want to see what extensions to allow, block and force install. This has made that task so much easier.

    Thank you!

    0
    Comment actions Permalink
  • steffen.jeschke

    Hi,

    i'm trying your script - but finally with no luck :(

    And i'm not a powershell specialist, but for me it seems that in my case $prefs is not containing all data.

    This is the extensions part of $prefs --> extensions : @{alerts=; chrome_url_overrides=; commands=; corrupted_disable_count=2; install_signature=; last_chrome_version=84.0.4147.45; toolbar=System.Object[]; ui=}

    And this is the part in the preferences --> "extensions":{"alerts":{"initialized":true},"chrome_url_overrides":{"newtab":[{"active":false,"entry":"chrome-extension://chnacmlpiecdhgkdgeoipkmdbekengck/ntp1.html"},{"active":true,"entry":"chrome-extension://ojahbhfflnbaiddhnkgeccgopmedjjen/index.html"}]},"commands":{"windows:Ctrl+D":{"command_name":"_execute_page_action","extension":"gmlllbghnfkpflemihljekbapjopfjik","global":false},"windows:Ctrl+Shift+S":{"command_name":"1-suspend-tab","extension":"klbibkeccnjlkjkiokjodocebajanakg","global":false},"windows:Ctrl+Shift+U":{"command_name":"2-unsuspend-tab","extension":"klbibkeccnjlkjkiokjodocebajanakg","global":false}},"corrupted_disable_count":2,"install_signature":{"expire_date":"2020-09-06","ids":["aapocclcgogkmnckokdopfmhonfmgoek","aohghmighlieiainnegkcijnfilokake","chnacmlpiecdhgkdgeoipkmdbekengck","cjpalhdlnbpafiamejdnhcphjbkeiagm","emgdmhbdljgjleocpgobbfniglfhlhfk","felcaaldnbdncclmgdcncolpebgiejap","fgkboeogiiklpklnjgdiaghaiehcknjo","ghbmnnjooekpmoecnnnilnnbdlolhkhi","ijmndaodmdjamfepoijpolhjddgfgmme","jlhmfgmfgeifomenelglieieghnjghma","kejbdjndbnbjgmefkgdddjlbokphdefk","klbibkeccnjlkjkiokjodocebajanakg","lmjegmlicamnimmfhcmpkclmigmmcbeh","oamembonjndgangicfphlckkdmagpjlg","ojahbhfflnbaiddhnkgeccgopmedjjen","pbfjbhoglggakhkngkbfehgghkaadeba","pkdaplneajgbalnnmaoflooakgijjkhc","pkedcjkdefgpdelpbcmbmeomcjbeemfm"],"invalid_ids":[],"salt":"h87mdBSfMBHa2BYxK5nZMeIYR03k6+kM8Z7I86vG1k0=",

     

    Any idea?

    0
    Comment actions Permalink
  • Colby Bouma

    I turned Jerry's script into a PowerShell Scanner. Would you mind seeing if it works for you? If it doesn't work, please include the contents of the Output Log.

    https://github.com/pdq/PowerShell-Scanners/tree/master/PowerShell%20Scanners/Google%20Chrome%20Extensions

    1
    Comment actions Permalink
  • Michael Edes

    Could this be adapted for the new Edge browser?

    0
    Comment actions Permalink
  • Dan Carp

    Lord, Jerry & Bouma, Colby - this script is great.  It worked beautifully when executing on a local machine or via PDQ Deploy.  Thank you!

    Is there a way to integrate the script into Inventory to make viewing network-wide results easier?  I created a new Scan Profile with the Powershell script and added the parameters "| ft Name,User".  When I ran the scan, I ended up with a lot of rows of mostly the same ClassID.

    0
    Comment actions Permalink
  • Michael Tully

    When running the script, many of my own extensions did not list in the report. There is a folder within Chrome called "Extensions", should that also be included as a place to look within the script?

     

    0
    Comment actions Permalink
  • Colby Bouma

    Dan Carp

    "ft" emits an object that is incompatible with the PowerShell Scanner. I recommend using Select-Object if you want to reduce the number of columns returned.

    0
    Comment actions Permalink
  • Colby Bouma

    Michael Tully

    I have a new version of this scanner that I believe will fix your issue. It hasn't been approved by PDQ yet, but I'm hopeful that it might be within the next few months. Let me know if you want to try it out now, I can walk you through it.

    https://github.com/pdq/PowerShell-Scanners/pull/54

    Michael Edes

    The new scanner I mentioned above scans for Edge extensions too.

    0
    Comment actions Permalink

Please sign in to leave a comment.