Skip to content

Commit

Permalink
Updated ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeViewB committed Jul 30, 2023
1 parent 3ea079a commit b2a9644
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Check-ComplianceMultipleApps/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,31 @@ The script will allow you to do 4 different compliance checks for one or multipl

# Examples
### 1. If you want to ensure that the installed **version** of the following software installed in **HKLM** is equal to or newer:

- Google Chrome = 116.0.5790.110
- Notepad++ = 9.5.4
- Test App = 116.0.5790.110
Make sure to:
```
- on row 5, set
> $userProfileApp = $false
- on row 6, set
> $isAppInstallCheckOnly = $false
```
- use the the example json file for the custom detection rule: **complianceAppVersionHKLM.json**
- if you want to check for other software, modify the array specified on row 4. Make sure to adjust the json file accordingly.

### 2. If you want to ensure that the installed **version** of the following software installed in **HKCU** is equal to or newer:
- 1Password = 9.10.9
- Discord = 1.0.9015
- Test App = 1.0.9015
```
Make sure to:
- on row 5, set
> $userProfileApp = $true
- on row 6, set
> $isAppInstallCheckOnly = $false
```
- use the the example json file for the custom detection rule: **complianceAppVersionHKCU.json**
- if you want to check for other software, modify the array specified on row 4. Make sure to adjust the json file accordingly.

Expand All @@ -48,10 +53,12 @@ Make sure to:
- Notepad++
- Test App
Make sure to:
```
- on row 5, set
> $userProfileApp = $false
- on row 6, set
> $isAppInstallCheckOnly = $true
```
- use the the example json file for the custom detection rule: **complianceAppInstalledHKLM.json**
- if you want to check for other software, modify the array specified on row 4. Make sure to adjust the json file accordingly.
In this example, the device will be compliant if the software is NOT installed. The script will return True if the software is installed, and false if it isn't.
Expand All @@ -61,10 +68,12 @@ In this example, the device will be compliant if the software is NOT installed.
- Discord
- Test App
Make sure to:
```
- on row 5, set
> $userProfileApp = $true
- on row 6, set
> $isAppInstallCheckOnly = $true
```
- use the the example json file for the custom detection rule: **complianceAppInstalledHKCU.json**
- if you want to check for other software, modify the array specified on row 4. Make sure to adjust the json file accordingly.
In this example, the device will be compliant if the software is NOT installed. The script will return True if the software is installed, and false if it isn't.

0 comments on commit b2a9644

Please sign in to comment.