Copy a Gist Object.
Copy-Gist [-Id] <string[]> [<CommonParameters>]
Fork-Gist
Copy (Fork) a Gist Object to the current 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.
Copy (Fork) the Gist ‘93258652fee1551dd0c63fbd5a37c8e0’ to the user named ‘dotps1’ Gists.
PS C:\> Copy-GistFile -Id 93258652fee1551dd0c63fbd5a37c8e0
Owner : dotps1
Description : Read me file for PSGist.
Id : 50m3rand0m1dthatg3t5cr3at3d
CreatedAt : 1/1/2016 00:00:00 AM
UpdatedAt : 1/1/2016 00:00:00 AM
Public : True
HtmlUrl : https://gist.github.com/50m3rand0m1dthatg3t5cr3at3d
Files : README.md