Partilhar via


Get-AdminPowerAppsUserDetails

Downloads the user details into the specified file path.

Syntax

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.

Type:String
Position:3
Default value:2016-11-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OutputFilePath

The file path for the output user details.

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

-UserPrincipalName

The user principal name.

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