Applies to: Centrify CPS on all supported versions.
Question: How does one bulk delete systems from the Privilege Manager after accidental import with discovery tool?
Answer: Centrify has created a powershell script to achieve this. Please download the script attached below.
To run the script: ./Delete_Resources.ps1
Parameters: endpoint = Enter the entire Tenant URL. For example: https://aam1234.my.centrify.com username = User that has privileges to delete resources. For example: A user assigned the System Administrator Role DiscoveredOn = Date resources were discovered. Please enter in MM/DD/YYYY format.
Note: This will not delete resources that have accounts registered to the resource.
Script will prompt for password of provided user during execution.
Changing the Windows PowerShell Script Execution Policy to run the script: The Set-ExecutionPolicy cmdlet enables you to determine which Windows PowerShell scripts (if any) will be allowed to run on your computer. Windows PowerShell has four different execution policies and this script will require: Set-ExecutionPolicy RemoteSigned. For more information please review the following: https://technet.microsoft.com/en-us/library/ee176961.aspx
Centrify Corporation does not take any responsibility for the content or availability of this link and it was provided as a courtesy. Customers should contact the vendor if there are any further questions