Get-MtPack
Synopsis
Section titled “Synopsis”Lists the Maester Packs this folder runs: those that ship with Maester and those in maester-packs.lock.json, with whether each can run.
Syntax
Section titled “Syntax”Get-MtPack [[-Id] <String[]>] [-PackLock <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Section titled “Description”Each pack goes through the same checks Invoke-Maester applies before it loads a pack, and nothing of the pack is run: the config, the store and its digest, the pack policy, the blocklist and the digests of its modules. Status is Ready, Disabled, Unavailable, NotAllowed, Blocked or Failed, and Reason says why a pack will not run.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Get-MtPackLists the packs by their code, the start of each of their test IDs: Invoke-Maester -Pack <code> runs one.
Example 2
Section titled “Example 2”Get-MtPack | Format-Table Id, Version, Status, ReasonShows which packs the next Invoke-Maester in this folder runs.
Parameters
Section titled “Parameters”Only these packs: IDs or ’*’ wildcards.
Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-PackLock
Section titled “-PackLock”The lock file to read. By default the one beside the Maester config found from the current folder, else the user’s.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: NoneAccept 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.