Share via


Get-AdminPowerAppsUserDetails

Downloads the user details into the specified file path.

Syntax

Default (Default)

Get-AdminPowerAppsUserDetails
    [[-UserPrincipalName] <String>]
    [-OutputFilePath] <String>
    [[-ApiVersion] <String>]
    [<CommonParameters>]

Description

The Get-AdminPowerAppsUserDetails cmdlet downloads the Power Platform user details into the specified path file. Use Get-Help Get-AdminPowerAppsUserDetails -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminPowerAppsUserDetails -OutputFilePath C:\Users\testuser\userdetails.json

Downloads the details of the calling user into the specified path and file C:\Users\testuser\userdetails.json.

EXAMPLE 2

Get-AdminPowerAppsUserDetails -UserPrincipalName foo@bar.com -OutputFilePath C:\Users\testuser\userdetails.json

Downloads the details of user with principal name foo@bar.com into the specified file path C:\Users\testuser\userdetails.json.

Parameters

-ApiVersion

The api version to call with.

Parameter properties

Type:String
Default value:2016-11-01
Supports wildcards:False
DontShow:False

Parameter sets

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

-OutputFilePath

The file path for the output user details.

Parameter properties

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

Parameter sets

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

-UserPrincipalName

The user principal name.

Parameter properties

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

Parameter sets

(All)
Position:1
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.