Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

Install-MaesterTests

Installs the latest ready-made Maester tests built by the Maester team and the required Pester module.

Install-MaesterTests [[-Path] <String>] [-SkipPesterCheck] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

The Maester team maintains a repository of ready made tests that can be used to verify the configuration of your Microsoft 365 tenant.

The tests can be viewed at https://github.com/maester365/maester/tree/main/tests

Install-MaesterTests

Install the latest set of Maester tests in the current directory and installs the Pester module if needed.

Install-MaesterTests -Path .\maester-tests

Installs the latest Maester tests in the specified directory and installs the Pester module if needed.

Install-MaesterTests -SkipPesterCheck

Installs the latest Maester tests in the current directory. Skips the check for the required version of Pester.

The path to install the Maester tests in. Defaults to the current directory.

Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: .\
Accept pipeline input: False
Accept wildcard characters: False

Skips the automatic installation check for Pester.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

https://maester.dev/docs/commands/Install-MaesterTests