Sync-PASDependentAccount
Sync-PASDependentAccount
SYNOPSIS
This syncs the dependent account secret with its master account.
SYNTAX
Sync-PASDependentAccount [-accountId] <String> [-dependentAccountId] <String[]> [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Syncs the dependent account secret with its master account.
The user performing this task must have the following permissions in the Safe where the privileged account is stored:
Initiate CPM password management operations
Requires minimum version 14.6.
EXAMPLES
EXAMPLE 1
PS C:\> Sync-PASDependentAccount -accountId 12_34 -dependentAccountId 56_78
Synchronizes the password of dependent account with ID 56_78 with its parent account 12_34.
EXAMPLE 2
PS C:\> Sync-PASDependentAccount -accountId 12_34 -dependentAccountId 12_78, 12_01, 12_45, 12_89
Synchronizes the password of the specified dependent accounts for parent account with id 12_34.
PARAMETERS
-accountId
The ID of the parent account whose password will be synchronized to the dependent account.
Type: String
Parameter Sets: (All)
Aliases: id
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-dependentAccountId
The ID of the dependent account that will receive the synchronized password from the parent account.
Specify multiple values to perform bulk synchronisation in a single request.
Type: String[]
Parameter Sets: (All)
Aliases: dependentid
Required: True
Position: 2
Default value: None
Accept pipeline input: False
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
Requires minimum version 14.6
RELATED LINKS
https://pspas.pspete.dev/commands/Sync-PASDependentAccount
https://docs.cyberark.com/PAS/Latest/en/Content/WebServices/Dependent-Accounts.htm