Install-MaesterTests
SYNOPSIS
Section titled “SYNOPSIS”Installs the latest ready-made Maester tests built by the Maester team and the required Pester module.
SYNTAX
Section titled “SYNTAX”Install-MaesterTests [[-Path] <String>] [-SkipPesterCheck] [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “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
Section titled “EXAMPLES”EXAMPLE 1
Section titled “EXAMPLE 1”Install-MaesterTestsInstall the latest set of Maester tests in the current directory and installs the Pester module if needed.
EXAMPLE 2
Section titled “EXAMPLE 2”Install-MaesterTests -Path .\maester-testsInstalls the latest Maester tests in the specified directory and installs the Pester module if needed.
EXAMPLE 3
Section titled “EXAMPLE 3”Install-MaesterTests -SkipPesterCheckInstalls the latest Maester tests in the current directory. Skips the check for the required version of Pester.
PARAMETERS
Section titled “PARAMETERS”The path to install the Maester tests in. Defaults to the current directory.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: .\Accept pipeline input: FalseAccept wildcard characters: False-SkipPesterCheck
Section titled “-SkipPesterCheck”Skips the automatic installation check for Pester.
Type: SwitchParameterParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Section titled “-ProgressAction”Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “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.