Publish Pasdiscoveredlocalaccount

Publish-PASDiscoveredLocalAccount

SYNOPSIS

Onboard a discovered local account

SYNTAX

Publish-PASDiscoveredLocalAccount [-id] <String> [-safeName] <String> [-platformID] <String>
 [[-additionalProperties] <Hashtable>] [[-secret] <SecureString>] [[-resetSecret] <Boolean>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Onboards accounts from the list of discovered accounts for local endpoints. The account is moved from the list of discovered accounts to the system’s active accounts.

Applies to the accounts that are discovered by the EPM scanning of endpoints, including loosely connected devices:

  • Windows loosely connected devices
  • Mac loosely connected devices
  • Linux loosely connected devices

Requires one of the following roles:

  • Privilege Cloud Administrator
  • Privilege Cloud Administrator Basic
  • Privilege Cloud Administrator Lite

EXAMPLES

EXAMPLE 1

Publish-PASDiscoveredLocalAccount -id SomeID -safeName SomeSafe -platformID SomePlatform

Onboards the specified discovered local account.

PARAMETERS

-id

The unique identifier of the discovered account.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-safeName

The safe to apply to the account

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-platformID

The platform to apply to the account.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-additionalProperties

Additional properties that will be applied to the account and are not taken from the identifiers or customProperties of the discovered account.

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-secret

The account’s initial secret value.

Type: SecureString
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-resetSecret

Whether the account should be immediately rotated (reconcile or change depending on the type).

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: False
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

https://pspas.pspete.dev/commands/Publish-PASDiscoveredLocalAccount

https://docs.cyberark.com/privilege-cloud-shared-services/latest/en/Content/Privilege%20Cloud/PrivCloud-DiscoveredAccountsService-Onboard.htm