Share via


Get-PartnerUser

Gets a list of users from the partner tenant

Syntax

Default (Default)

Get-PartnerUser
    [-UserId <String>]
    [-UserPrincipalName <String>]
    [<CommonParameters>]

Description

Gets a list of users from the partner tenant

Examples

Example 1

PS C:\> Get-PartnerUser

Gets a list of users from the partner tenant

Parameters

-UserId

The identifier for the user.

Parameter properties

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

Parameter sets

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

-UserPrincipalName

The user principal name for the user.

Parameter properties

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

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.Graph.User