Uninstall-UscPackage
SYNOPSIS
Uninstalls specified package or instance.
SYNTAX
By Package Id (Default)
Uninstall-UscPackage [-PackageId] <String> [-Directory <String>] [<CommonParameters>]
By Instance Name
Uninstall-UscPackage [-InstanceName] <String> [-Directory <String>] [<CommonParameters>]
DESCRIPTION
Use Uninstall-UscPackage
to uninstall a package or packages in an instance.
EXAMPLES
Example 1
PS C:\> Uninstall-UscPackage -Id 'go-current-server'
This example removes the Update Service server from the local computer.
PARAMETERS
-Directory
Specifies an optional alternative client directory.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InstanceName
Specifies the name of the instance to be removed.
Type: String
Parameter Sets: By Instance Name
Aliases: Instance
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-PackageId
{{ Fill PackageId Description }}
Type: String
Parameter Sets: By Package Id
Aliases: Package, PackageVersion, Id
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.