Replies: 2 comments 1 reply
-
Not enough detail provided. |
Beta Was this translation helpful? Give feedback.
-
Hi @pspete I have a list of inactive users who are not using CyberArk for 45 days. I want to remove all of them at a glance instead of single user at a time. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I would like to user Remove-PASUser command to delete multiple users. Could you please validate this.
New-PASSession -Credential $cred -BaseURI https://pvwa/ -type RADIUS
$users= Get-content 'C:\Users\localadmin\Desktop\DeleteUsers.csv'
foreach($user in $users)
{
echo "removing $user"
Remove-PASUser -UserName $user
}
Beta Was this translation helpful? Give feedback.
All reactions