Skip to content

Move GitHubProjectColumn

Howard Wolosky edited this page Oct 5, 2020 · 2 revisions

Move-GitHubProjectColumn

SYNOPSIS

Move a GitHub Project Column.

SYNTAX

Move-GitHubProjectColumn [-Column] <Int64> [-First] [-Last] [[-After] <Int64>] [[-AccessToken] <String>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Move a GitHub Project Column.

The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub

EXAMPLES

EXAMPLE 1

Move-GitHubProjectColumn -Column 999999 -First

Moves the project column with ID 999999 to the first position.

EXAMPLE 2

Move-GitHubProjectColumn -Column 999999 -Last

Moves the project column with ID 999999 to the Last position.

EXAMPLE 3

Move-GitHubProjectColumn -Column 999999 -After 888888

Moves the project column with ID 999999 to the position after column with ID 888888.

PARAMETERS

-AccessToken

If provided, this will be used as the AccessToken for authentication with the REST Api. Otherwise, will attempt to use the configured value or will run unauthenticated.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-After

Moves the column to the position after the column ID specified. Must be within the same project.

Type: System.Int64
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Column

ID of the column to move.

Type: System.Int64
Parameter Sets: (All)
Aliases: ColumnId

Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Last

Moves the column to be the last for the project.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

-First

Moves the column to be the first for the project.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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

GitHub.ProjectCard

GitHub.ProjectColumn

OUTPUTS

NOTES

RELATED LINKS

PowerShellForGitHub

Docs

PowerShellForGitHub

Functions

Clone this wiki locally