Comments
-
bump
-
For anyone interested, Here is the final report which exports alert trigger and reset events along with reboot events into csv format. Import-Module SwisPowerShell # Connect to SWIS $ServerName="nms.cbn.local" $username = "username" $password = 'password' #Check if Today is Monday, if so get events for last 3 days. If not,…
-
Thanks, guys! Got it to work, er.. You guys got it to work. The final product will be run as a scheduled task at 9 AM and be reviewed in our daily meetings. # Connect to SWIS $target="Solarwinds.local" $username = "username" [string]$password = "passwordx" $swis = Connect-Swis -host $target -UserName $username -Password…
-
Let me preface that I only want events that occurred within the last 24 hours and nothing more. Do I need to add a where statement that gets events between now and -24 hours?
-
Thank you both for providing a response. for some reason, however, the query is still returning over 12k rows which is not the desire. I don't want to do a select top X as this would still likely return more rows than desired. What am I missing here?