Test-UssPackage
SYNOPSIS
Test if a package is available on the server.
SYNTAX
Test-UssPackage -PackageId <String> [-Version <SemanticVersion>] [-Server <String>] [-Port <Int32>]
[-Credential <PSCredential>] [<CommonParameters>]
DESCRIPTION
Use Test-UssPackage to check if a package is available on the server. The cmdlet will return a boolean value indicating if the package is available or not.
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
-PackageId
Specifies the package id.
Type: String
Parameter Sets: (All)
Aliases: Package, Id
Required: True
Position: Named
Default value: None
Accept pipeline input: False
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 test.
Type: SemanticVersion
Parameter Sets: (All)
Aliases:
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.