Skip to content

Assert WDACConfigIntegrity

Violet Hansen edited this page Jul 2, 2024 · 13 revisions

Assert-WDACConfigIntegrity available parameters

Assert-WDACConfigIntegrity demo

Syntax

Assert-WDACConfigIntegrity
    [-SaveLocally]
    [-Path <DirectoryInfo>]
    [-SkipVersionCheck]
    [<CommonParameters>]

Description

This cmdlet scans all of the relevant files in the WDACConfig module's folder and computes their SHA2/SHA3-512 hashes.

Then it downloads the cloud CSV file from the GitHub repository and compares the hashes of the local files with the ones in the cloud.

By doing so, you can ascertain that the files in your local WDACConfig folder are identical to the ones in the cloud and devoid of any interference.

If there is any indication of tampering, the outcomes will be displayed on the console.

Parameters

-SaveLocally

This parameter is used to generate hashes of the final module's files prior to publishing them to the GitHub. This parameter shouldn't be used.

Type: SwitchParameter
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Path

Can define a different path for the Hashes.csv file. This parameter shouldn't be used.

Type: DirectoryInfo
Position: Named
Default value: Module's Root Directory
Required: False
Accept pipeline input: False
Accept wildcard characters: False







Clone this wiki locally