Update-VPASIdentityCurrentUserPassword


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

CHANGE CURRENT USER PASSWORD IN IDENTITY


Description:

USE THIS FUNCTION TO CHANGE CURRENT USER PASSWORD IN IDENTITY


Syntax:

Update-VPASIdentityCurrentUserPassword [-oldPassword] <String> [-newPassword] <String> [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-oldPassword <String>
Current password of the current user in Identity

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-newPassword <String>
New password that will be set for the current user in Identity

Required: true
Position: 2
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-token <Hashtable>
HashTable of data containing various pieces of login information (PVWA, LoginToken, HeaderType, etc).
If -token is not passed, function will use last known hashtable generated by New-VPASToken

Required: false
Position: 3
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug
ErrorAction, ErrorVariable, WarningAction, WarningVariable
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216)


Examples:

$ChangePassword = Update-VPASIdentityCurrentUserPassword -oldPassword {OLDPASSWORD VALUE} -newPassword {NEWPASSWORD VALUE}


Outputs:

$true if successful

$false if failed