Share via


Get-PartnerCustomer

Gets a specific customer or a list of available customers.

Syntax

ById (Default)

Get-PartnerCustomer
    [[-CustomerId] <String>]
    [<CommonParameters>]

ByDomain

Get-PartnerCustomer
    -Domain <String>
    [<CommonParameters>]

Description

The Get-PartnerCustomer cmdlet gets a specific customer or a list of customers from Partner Center.

Examples

Example 1

PS C:\> Get-PartnerCustomer

Gets a list of all available customers from Partner Center.

Example 2

PS C:\> Get-PartnerCustomer -CustomerId '2ca7de6c-c05c-46b5-b689-32e53573a97a'

Gets the customer with the identifier of 2ca7de6c-c05c-46b5-b689-32e53573a97a from Partner Center.

Parameters

-CustomerId

The identifier for the customer.

Parameter properties

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

Parameter sets

ById
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Domain

The domain assigned to the Azure AD tenant of the customer.

Parameter properties

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

Parameter sets

ByDomain
Position:Named
Mandatory:True
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