EPM
Script to Remove Old Tasks
This PowerShell script is designed to remove old tasks from a LANDesk environment. Modify the specified lines with your database instance, credentials, and other details. The script connects to the database, retrieves tasks, and deletes those older than a specified retention period.