PSDPA is an open source PowerShell module for the Solarwinds DPA REST API. The goal of the module is to provide complete PowerShell coverage for the API.
Branch | Status |
---|---|
Master | |
Development |
# Install the PSDPA module from the gallery
Install-Module PSDPA
# Import the PSDPA module
Import-Module PSDPA
# Get commands available
Get-Command -Module PSDPA
# Configure the module
Set-DpaConfig -BaseUri 'https://yourdpaserver:8124/iwc/api' -RefreshToken 'yourprivatestring'
# Get listing of monitors
Get-DpaMonitor
# Add an annotation to all monitors
Get-DpaMonitor | Add-DpaAnnotation -Title 'Patching' -Description 'Quarterly patching'
New Version Scheme Switching over to YY.MM.X format to better articulate when the module has last been updated.
New Commands
- Get-DpaAlert
- Get-DpaAlertEmailTemplate
- Get-DpaAlertGroup
- Get-DpaMonitorAlert
- Get-DpaMonitorAlertGroup
- New-DpaAlertEmailTemplate
- Remove-DpaAlertEmailTemplate
- Remove-DpaAlertGroupMonitor
- Set-DpaAlert
- Set-DpaAlertEmailTemplate
- Set-DpaMonitorPassword
- Set-DpaConfig - Complete
- Get-DpaConfig - Complete
- Get-DpaMonitor - Complete
- Start-DpaMonitor - Complete
- Stop-DpaMonitor - Complete
- Set-DpaMonitorPassword - Test Coverage Needed
- New-DpaMonitor - Test Coverage Needed
- Get-DpaLicense - Complete
- Get-DpaMonitorLicense - Complete
- Set-DpaLicense - Not Implemented
- Get-DpaAnnotation - Complete
- Add-DpaAnnotation - Complete
- Remove-DpaAnnotation - Complete