paulwetter / DocumentConfigMgrCB

This script attempts to document your entire Configuration Manager (MEMCM/SCCM) environment
https://wetterssource.com/documentconfigmgrcb
174 stars 45 forks source link

Enhanced Detection Methods #53

Closed CometCom1 closed 2 years ago

CometCom1 commented 4 years ago

I've recently found you wonderful script, but I wanted additional information on the applications, which currently only documents the standard MSI detection.

I've crudely expanded the section of the code, to include Enhanced MSI detection, File and Folder detections, Registry detections. I'd like to contribute this code to the project for everyone to enjoy.

Regards Kent Komeri

CometCom1 commented 4 years ago

I have tested my extensions to the script in versions 1902, 1906 and 1910 without issues. Examples MSI enhanced, no rules:

Detection Method

MSI enhanced, with rule:

Detection Method

File detection, no rules:

Detection Method

Folder detection, no rules:

Detection Method

Simple registry detection with rule:

Detection Method

Registry detection, no rules:

Detection Method

I have also added a little ekstra on application usage, in case you are interested:

Application Usage

paulwetter commented 4 years ago

Ooooo! Oooooo! Very interested. Something I looked at but didn't have the energy to tackle the last time i redid apps. I'd love to see the code and add it to the script! Fork this repo, update with your code and then put in a pull request. If you're not familiar with git share it via onedrive or something and I can add it and credit you for it in the code.

CometCom1 commented 4 years ago

Pulled and ready for review. It's a very long time since I worked with github.

paulwetter commented 4 years ago

Good deal. I'll hopefully have a chance to look at it this weekend. At first glance though, i'm a little excited to see the additional details!

paulwetter commented 2 years ago

Completed a full implementation of this with a recursive function in 215adfaad1ab55731b478c4012996d65934a61c4. Using divs to outline and color code for complex detection methods. I think I've covered most cases. And in most instances, one will never see a detection method this complex. image