Search Results for

    Show / Hide Table of Contents

    Remove-UssPackageVersion

    SYNOPSIS

    Removes a package version from the server.

    SYNTAX

    VersionQuery (Default)

    Remove-UssPackageVersion -PackageId <String> [-Version <SemanticVersion>] [-Force] [-Server <String>]
     [-Port <Int32>] [-Credential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
    

    VersionQuery Range

    Remove-UssPackageVersion -PackageId <String> [-VersionRange <VersionRange>] [-IncludePreReleases] [-Force]
     [-Server <String>] [-Port <Int32>] [-Credential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
    

    VersionQuery Query

    Remove-UssPackageVersion -PackageId <String> [-VersionQuery <VersionQuery>] [-Force] [-Server <String>]
     [-Port <Int32>] [-Credential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
    

    DESCRIPTION

    Use Remove-UssPackageVersion to remove a package version from the server.

    PARAMETERS

    -Confirm

    Prompts you for confirmation before running the cmdlet.

    Type: SwitchParameter
    Parameter Sets: (All)
    Aliases: cf
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -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
    

    -Force

    Specifies that the cmdlet should continue to run without prompting you for confirmation.

    Type: SwitchParameter
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -IncludePreReleases

    Specifies that pre-release versions should be included.

    Type: SwitchParameter
    Parameter Sets: VersionQuery Range
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    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, ByValue)
    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 remove.

    Type: SemanticVersion
    Parameter Sets: VersionQuery
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: True (ByPropertyName)
    Accept wildcard characters: False
    

    -VersionQuery

    Specifies the version query.

    Type: VersionQuery
    Parameter Sets: VersionQuery Query
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: True (ByPropertyName)
    Accept wildcard characters: False
    

    -VersionRange

    Specifies the version range.

    Type: VersionRange
    Parameter Sets: VersionQuery Range
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: True (ByPropertyName)
    Accept wildcard characters: False
    

    -WhatIf

    Shows what would happen if the cmdlet runs. The cmdlet is not run.

    Type: SwitchParameter
    Parameter Sets: (All)
    Aliases: wi
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    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 LSRetail.UpdateService.Common.SemanticVersioning.VersionRange LSRetail.UpdateService.Common.SemanticVersioning.VersionQuery

    OUTPUTS

    System.Object

    NOTES

    RELATED LINKS

    In This Article
    Back to top Generated by DocFX