Remove a Gist Object.
Remove-Gist [-Id] <string[]> [-WhatIf] [-Confirm] [<CommonParameters>]
None.
Removes a Gist Object using the currently authenticated user context.
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
-Id <string[]>
The Id of the Gist Object.
Required? true
Position? Named
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name (All)
Aliases None
Dynamic? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
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.
Removes the oldest Gist of the authenticated user.
PS C:\> Get-Gist | Select-Object -Last 1 | Remove-Gist -Confirm:$false
Remove the Gist a5b60bdf7955e029a500.
PS C:\> Remove-Gist -Id a5b60bdf7955e029a500