Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SYNOPSIS

Modifies the password for of one or more accounts in a JOC Cockpit Identity Service

...

-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.

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

...

-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

...