Add a Comment to a Gist Object.
Add-GistComment [-Id] <string> [-Comment] <string> [<CommonParameters>]
None.
Adds a comment to a Gist Object using the currently authenticated user context.
-Comment <string>
The comment content.
Required? true
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases None
Dynamic? false
-Id <string>
The Id of the Gist Object.
Required? true
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
There must be an Authenticated User Context to interact with Gist Objects.
Add the comment ‘Test comment added through PSGist.’ to the Gist ‘93258652fee1551dd0c63fbd5a37c8e0’.
PS C:\> Add-GistComment -Id 93258652fee1551dd0c63fbd5a37c8e0 -Comment 'Test comment added through PSGist.'
User : dotps1
Id : 93258652fee1551dd0c63fbd5a37c8e0
CommentId : 1788460
Body : Test comment added through PSGist.