Get-UssPackageVersionFile
SYNOPSIS
Gets a package version file from the server.
SYNTAX
List (Default)
Get-UssPackageVersionFile -PackageId <String> -Version <SemanticVersion> [-Server <String>] [-Port <Int32>]
[-Credential <PSCredential>] [<CommonParameters>]
Download
Get-UssPackageVersionFile -PackageId <String> -Version <SemanticVersion> [-Download] -OutputDir <String>
[-FilePath <String>] [-Force] [-Server <String>] [-Port <Int32>] [-Credential <PSCredential>]
[<CommonParameters>]
DownloadSingleFile
Get-UssPackageVersionFile -PackageId <String> -Version <SemanticVersion> [-Download] -OutputPath <String>
-FilePath <String> [-Force] [-Server <String>] [-Port <Int32>] [-Credential <PSCredential>]
[<CommonParameters>]
DESCRIPTION
Use Get-UssPackageVersionFile to get a package version file from the server.
PARAMETERS
-Credential
Specifies the credentials of the server.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Download
Specifies that the file(s) should be downloaded.
Type: SwitchParameter
Parameter Sets: Download, DownloadSingleFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FilePath
Specifies the file path within the package.
Type: String
Parameter Sets: Download
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Type: String
Parameter Sets: DownloadSingleFile
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Force
Specifies that the file should be overwritten if it already exists.
Type: SwitchParameter
Parameter Sets: Download, DownloadSingleFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-OutputDir
Specifies the output directory to save the file(s).
Type: String
Parameter Sets: Download
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OutputPath
Specifies the output path to save the file. Can only be used when downloading a single file.
Type: String
Parameter Sets: DownloadSingleFile
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-PackageId
Specifies the package ID.
Type: String
Parameter Sets: (All)
Aliases: Package, Id
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Port
DEPRECATED: Use -Server instead.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Server
Specifies the server to connect to.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Version
Specifies the version to get.
Type: SemanticVersion
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.String
LSRetail.UpdateService.Common.SemanticVersioning.SemanticVersion System.Management.Automation.SwitchParameter