Remove-PartnerResellerRelationship

Removes the reseller relationship between the specified customer and the partner.

Syntax

Default (Default)

Remove-PartnerResellerRelationship
    -CustomerId <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Removes the reseller relationship between the specified customer and the partner. You must first ensure that any active Azure Reserved VM Instances for that customer are cancelled. This command will suspend all active subscriptions.

Examples

Example 1

PS C:\> Remove-PartnerResellerRelationship -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08'

Removes the reseller relationship between the specified customer and the partner.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CustomerId

The identifier of the customer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Customers.PSCustomer