Skip to content

Disable-GitHubCommand

SYNOPSIS

Stops workflow commands

SYNTAX

Disable-GitHubCommand [-String] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Stops processing any workflow commands. This special command allows you to log anything without accidentally running a workflow command. For example, you could stop logging to output an entire script that has comments.

To stop the processing of workflow commands, pass a unique string to the function. To resume processing workflow commands, pass the same string that you used to stop workflow commands to the Enable-GitHubCommand.

EXAMPLES

EXAMPLE 1

Disable-GitHubCommand "123"

Stops processing any workflow commands.

PARAMETERS

-String

The unique string to stop the processing of workflow commands

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
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

System.Void

NOTES

Stopping and starting workflow commands