Share via


Get-PartnerCustomer

Gets a specific customer or a list of available customers.

Syntax

Get-PartnerCustomer
   [[-CustomerId] <String>]
   [<CommonParameters>]
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.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Domain

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

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