Remove Pasdiscoveredlocalaccount
Remove-PASDiscoveredLocalAccount
SYNOPSIS
Delete a discovered local account
SYNTAX
Remove-PASDiscoveredLocalAccount [-id] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Delete an account from the list of discovered local accounts for local endpoint Windows and MacOS accounts.
Deleting an account from the current discovered accounts list does not affect the next scan for discovered accounts, and the deleted account may appear again.
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
Remove-PASDiscoveredLocalAccount -id SomeID
Deletes specified discovered local account
PARAMETERS
-id
THe unique identifier of the account.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
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
RELATED LINKS
https://pspas.pspete.dev/commands/Remove-PASDiscoveredLocalAccount