Skip to main content
Version: 2.0.1 (preview)

Install-MaesterTests

SYNOPSISโ€‹

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

SYNTAXโ€‹

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

DESCRIPTIONโ€‹

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

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Install-MaesterTests

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

EXAMPLE 2โ€‹

Install-MaesterTests -Path .\maester-tests

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

EXAMPLE 3โ€‹

Install-MaesterTests -SkipPesterCheck

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

PARAMETERSโ€‹

-Pathโ€‹

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

-SkipPesterCheckโ€‹

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

-ProgressActionโ€‹

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

CommonParametersโ€‹

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

INPUTSโ€‹

OUTPUTSโ€‹

NOTESโ€‹

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