I am using the following instructions to trigger compliance reports: How to trigger compliance reports with alerts - Forum - Network Configuration Manager (NCM) - THWACK (solarwinds.com) However, I am stuck on step 3:
Get-SwisData -SwisConnection $Swis -Query "SELECT PolicyReportID, Name, Comment, Grouping, ShowDetails, ShowSummary, LastModified, LastUpdated, LastError, CacheStatus, ReportStatus FROM Cirrus.PolicyReports WHERE Name LIKE '%keyword%'" Plugged in ‘CSCO-IOS-SW’ in place of ‘%keyword%’
Error message when attempting to execute the above script.
Get-SwisData : Cannot bind argument to parameter ‘SwisConnection’ because it is null.
At line:1 char:30
+ Get-SwisData -SwisConnection $Swis -Query “SELECT PolicyReportID, Name …
Any support will be greatly appreciated. Swis Snapins have been registered, but still getting an error.