Start Using PowerShell Cmdlets
PowerShell Cmdlets can be used to preview a selection of events, alerts or auditing data and then delete them if the database is growing too large.
-
Install and configure the Management Center.
-
Run PowerShell as an Administrator.
-
On the PowerShell command prompt, use the
Import-ApsInstanceModule cmdlet
to select the ManagementServer instance to execute the cmdlets against.
Import-ApsInstanceModule -IsDefault -ProductName "Management Server"
Refer to the Server Configuration Portal Scripting Guide for further information.
To delete the events or alerts data run any of the Invoke-<OperationName> cmdlets
. Or to preview, run Test-<OperationName> cmdlets
.
To manage the scheduled maintenance tasks refer to Scheduled Maintenance Cmdlets.