Name
Invoke-JS7IAMForcePasswordChange
SYNOPSIS
Forces one or more accounts in a JOC Cockpit Identity Service to change the password with the next login
SYNTAX
Invoke-JS7IAMForcePasswordChange [-Service] <String> [-Account] <String[]> [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This cmdlet forces one or more accounts in a JOC Cockpit Identity Service to change the password with the next login.
The following REST Web Service API resources are used:
* /iam/accounts/forcepasswordchange
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 change of the password is enforced.
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-JS7IAMForcePasswordChange -Service JOC -Account 'user1'
Enforces change of the account's password with the next login.
-------------------------- EXAMPLE 2 --------------------------
PS > Invoke-JS7IAMForcePasswordChange -Service JOC -Account 'user1','user2'
Enforces change of the password for both indicated accounts with the next login.