Get a Fork of a Gist Object.
Get-GistFork [-Id] <string[]> [<CommonParameters>]
None.
Get a Fork from a Gist Object using the currently authenticated user context.
-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
<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.
Gets the Forks of Gist e3b5bf37aea3a84b0a40c20d405cdc97.
PS C:\> Get-GistFork -Id e3b5bf37aea3a84b0a40c20d405cdc97
User : robderickson
Id : c577e5937feefba8ef7fb59211c1053a
CreatedAt : 6/17/2016 1:37:26 PM
UpdatedAt : 6/17/2016 1:37:26 PM
Url : https://api.github.com/gists/c577e5937feefba8ef7fb59211c1053a
Get the users Forked version of Gist e3b5bf37aea3a84b0a40c20d405cdc97.
PS C:\> Get-GistFork -Id e3b5bf37aea3a84b0a40c20d405cdc97 | Select-Object -First 1 | Get-Gist
Owner : robderickson
Description :
Id : c577e5937feefba8ef7fb59211c1053a
CreatedAt : 6/17/2016 1:37:26 PM
UpdatedAt : 6/17/2016 1:37:26 PM
Public : True
HtmlUrl : https://gist.github.com/c577e5937feefba8ef7fb59211c1053a
Files : DisableLogMeInPatchManagement.ps1