Remove GitHubComment - X-Guardian/PowerShellForGitHub GitHub Wiki

Remove-GitHubComment

SYNOPSIS

SYNTAX

DESCRIPTION

Deletes a GitHub comment from an Issue in the given repository

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

EXAMPLES

EXAMPLE 1

Remove-GitHubIssueComment -OwnerName microsoft -RepositoryName PowerShellForGitHub -Comment 1

Deletes a GitHub comment from an Issue in the microsoft\PowerShellForGitHub project.

EXAMPLE 2

Remove-GitHubIssueComment -OwnerName microsoft -RepositoryName PowerShellForGitHub -Comment 1 -Confirm:$false

Deletes a Github comment from an Issue in the microsoft\PowerShellForGitHub project without prompting confirmation.

EXAMPLE 3

Remove-GitHubIssueComment -OwnerName microsoft -RepositoryName PowerShellForGitHub -Comment 1 -Force

Deletes a GitHub comment from an Issue in the microsoft\PowerShellForGitHub project without prompting confirmation.

PARAMETERS

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.Branch

GitHub.Content

GitHub.Event

GitHub.Issue

GitHub.IssueComment

GitHub.Label

GitHub.Milestone

GitHub.PullRequest

GitHub.Project

GitHub.ProjectCard

GitHub.ProjectColumn

GitHub.Release

GitHub.Repository

OUTPUTS

NOTES

RELATED LINKS

⚠️ **GitHub.com Fallback** ⚠️