Page History
...
SYNOPSIS
Modifies the password for one or more accounts of an account in a JOC Cockpit Identity Service
...
This cmdlet modifies the password of one or more accounts an account in a JOC Cockpit Identity Service.
The following REST Web Service API resources are used:
* /iam/account/changepassword
...
-Service <String>
Specifies the unique name of the Identity Service that the accounts is are managed with.
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-Account <String>
Specifies the unique names of one or more accounts name of an account for which the password is resetshould be modified.
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-Password <SecureString>
Specifies the account's existing password.
The password has to be specified as a secure string, for example:
$oldPassword = ConvertTo-SecureString 'secret' -AsPlainText -Force
...
PS > $oldPassword = ConvertTo-SecureString 'secret' -AsPlainText -Force;
$newPassword = ConvertTo-SecureString 'very-secret' -AsPlainText -Force;
Invoke-JS7IAMChangePassword -Service 'JOC' -Account 'user1' -Password $oldPassword -NewPassword $newPassword
...