Page History
...
SYNOPSIS
Modifies the password of one or more accounts 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
...
-Account <String>
Specifies the unique name of an account for which the password should be modified.
More than one account can be specified by use of a comma.
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
PS > $oldPassword = ConvertTo-SecureString 'secret' -AsPlainText -Force;
$newPassword = ConvertTo-SecureString 'very-secret' -AsPlainText -Force;
Invoke-JS7IAMChangePassword -Service 'JOC' -Account 'user1' -Password $oldPassword -NewPassword $newPassword
...