Resume-PASDependentAccount
Resume-PASDependentAccount
SYNOPSIS
This resumes automatic management of one or more dependent accounts by the CPM.
SYNTAX
Resume-PASDependentAccount [-AccountID] <String[]> [-dependentAccountId] <String[]> [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Resumes automatic management of a dependent account by the Central Password Manager (CPM).
When more than one value is supplied for -AccountID, a bulk resume request is sent.
Bulk resume requires CyberArk version 15.0 or later. Single-account resume requires version 14.6 or later.
EXAMPLES
Example 1
Resume-PASDependentAccount -AccountID "123_456" -dependentAccountId "22_2"
Resumes automatic CPM management for the dependent account with ID “22_2” that is associated with the main account “123_456”.
Example 2
Get-PASAccount -id "123_456" | Resume-PASDependentAccount -dependentAccountId "22_2"
Uses pipeline input to resume automatic management of dependent account “22_2” for the main account retrieved by Get-PASAccount.
Example 3
Resume-PASDependentAccount -AccountID "123_456", "456_789" -dependentAccountId "22_2"
Resumes automatic CPM management for dependent account “22_2” against the main accounts “123_456” and “456_789” in a single bulk request.
PARAMETERS
-AccountID
The unique ID of the main privileged account that has the dependent account associated with it. This parameter accepts pipeline input and can be aliased as ‘id’.
When more than one value is supplied, a bulk resume request is sent.
Type: String[]
Parameter Sets: (All)
Aliases: id
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-dependentAccountId
The unique ID of the dependent account for which automatic CPM management should be resumed. This parameter accepts pipeline input and can be aliased as ‘dependentid’.
Type: String[]
Parameter Sets: (All)
Aliases: dependentid
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Single-account operations require CyberArk version 14.6 or later.
Bulk operations require CyberArk version 15.0 or later and are triggered when -AccountID contains more than one value.
RELATED LINKS
https://pspas.pspete.dev/commands/Resume-PASDependentAccount
https://docs.cyberark.com/pam-self-hosted/latest/en/content/webservices/resume-dependent-account.htm