< Back
Push-NuGetPackage
Post
NAME Push-NuGetPackage
SYNOPSIS
Pushes a NuGet package to a NuGet repository.
SYNTAX
Push-NuGetPackage [-FilePath] <FileInfo> [-FeedUri] <Uri> [-ApiKey] <String> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-FilePath <FileInfo>
The path to the NuGet package file (.nupkg) that will be pushed to the NuGet feed.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FeedUri <Uri>
The NuGet feed URI that the package will be pushed to.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiKey <String>
The API key that will be used to authenticate against the NuGet feed.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Push-NuGetPackage -FilePath c:\\temp\\test.nupkg -FeedUri http://myget.org/f/myfeedname -ApiKey 12345;
RELATED LINKS
SYNOPSIS
Pushes a NuGet package to a NuGet repository.
SYNTAX
Push-NuGetPackage [-FilePath] <FileInfo> [-FeedUri] <Uri> [-ApiKey] <String> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-FilePath <FileInfo>
The path to the NuGet package file (.nupkg) that will be pushed to the NuGet feed.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FeedUri <Uri>
The NuGet feed URI that the package will be pushed to.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiKey <String>
The API key that will be used to authenticate against the NuGet feed.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Push-NuGetPackage -FilePath c:\\temp\\test.nupkg -FeedUri http://myget.org/f/myfeedname -ApiKey 12345;
RELATED LINKS