Skip to content

PowerShell module for the Solarwinds DPA REST API

License

Notifications You must be signed in to change notification settings

awickham10/psdpa

Repository files navigation

PSDPA Solarwinds DPA PowerShell Module (Unofficial)

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 Master Build Status Master Code Coverage PSGallery Version
Development Development Build Status Development Code Coverage Codacy Badge

Instructions

# 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'

Change Log

19.10.1

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

Functions

Configuration

  • Set-DpaConfig - Complete
  • Get-DpaConfig - Complete

Monitor

  • Get-DpaMonitor - Complete
  • Start-DpaMonitor - Complete
  • Stop-DpaMonitor - Complete
  • Set-DpaMonitorPassword - Test Coverage Needed
  • New-DpaMonitor - Test Coverage Needed

Licensing

  • Get-DpaLicense - Complete
  • Get-DpaMonitorLicense - Complete
  • Set-DpaLicense - Not Implemented

Annotations

  • Get-DpaAnnotation - Complete
  • Add-DpaAnnotation - Complete
  • Remove-DpaAnnotation - Complete

About

PowerShell module for the Solarwinds DPA REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published