Name
Invoke-JS7IAMResetPassword
SYNOPSIS
Resets the password for one or more accounts in a JOC Cockpit Identity Service
SYNTAX
Invoke-JS7IAMResetPassword [-Service] <String> [-Account] <String[]> [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This cmdlet resets the password of one or more accounts in a JOC Cockpit Identity Service.
The account is assigned the initial password that is managed with the JOC Cockpit Identity Service global settings.
On next login the account has to specifiy the initial password and is forced to specify a new password.
The following REST Web Service API resources are used:
* /iam/accounts/resetpassword
PARAMETERS
Service
-Service <String>
Specifies the unique name of the Identity Service that the accounts is managed with.
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Account
-Account <String[]>
Specifies the unique names of one or more accounts for which the password is reset.
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
AuditComment
-AuditComment <String>
Required? | false |
Position? | 3 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
AuditTimeSpent
-AuditTimeSpent <Int32>
Required? | false |
Position? | 4 |
Default value | 0 |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
AuditTicketLink
-AuditTicketLink <Uri>
Required? | false |
Position? | 5 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
WhatIf
-WhatIf <SwitchParameter>
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
Confirm
-Confirm <SwitchParameter>
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
RELATED LINKS
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
PS > Invoke-JS7IAMResetPassword -Service JOC -Account 'user1'
Resets the account's password.
-------------------------- EXAMPLE 2 --------------------------
PS > Invoke-JS7IAMResetPassword -Service JOC -Account 'user1','user2'
Resets the password for both indicated accounts.