Returns a list of customers or a specific customer.
Get-PCCustomer [-TenantId <String>] [-SaToken <String>] [<CommonParameters>]
Get-PCCustomer -StartsWith <String> [-ResultSize <Int32>] [-SaToken <String>] [<CommonParameters>]
The Get-PCCustomer cmdlet retrieves a list of customers, or a specific customer based on the input.
The tenant Id assigned to the customer you want to retrieve.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Specifies a filter for the customer names returned.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Specifies the maximum number of results to return. The default value is 200, the maximum allowed value is 500.
Required? false
Position? named
Default value 200
Accept pipeline input? false
Accept wildcard characters? false
Specifies an authentication token you have created with your Partner Center credentials.
Required? false
Position? named
Default value $GlobalToken
Accept pipeline input? false
Accept wildcard characters? false
You need to have a authentication credential already established before running this cmdlet.
Return a list of customers for a partner.
PS C:\>Get-PCCustomer
Return a customer by specifying an Id
$customer = Get-PCCustomer -TenantId '<tenant id GUID>'
Return a customer by specifying part of the company name
Get-PCCustomer -StartsWith '<company name>'