Skip to main content

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