Comments
-
Adding -Trusted worked, thank you. $swis = Connect-Swis -v2 -Trusted -host 'solarwindsserver.domain.com' I will post the whole script to unmonitor hosts once I finish it and test it so people looking at this thread for that answer will find it.
-
NPM 10.2.2
-
Sorry, version 1.5
-
I'm aware of the way to unmanage nodes but thanks for the reply. It would be very nice to unmanage based on the groups we create to speed up the time to unmanage devices during a maintenance window. I would like to see this featuer in a upcomming releast of NPM. An even better option would to be able to unmanage nodes…
-
Thank you for that information, it slipped my mind that there would be keys involved to do the SecureString generation. The plain text method works perfectly as you describe. My next step was to attempt generating the securestring text on that remote computer, but it looks like the encryption is tied to the user account…
-
This is a script I created. The script works if I use it like below. My problem is I don't know how to get the server name of the server Solarwinds is monitoring and assign it to "$server". I have looked at http://www.solarwinds.com/documentation/apm/docs/SAMAdminGuide.pdf and http://thwack.solarwinds.com/docs/DOC-167083…
-
I'm sorry in all my copying and pasting I missed the last part of my post not being correct. I have since corrected it. I used "$swis = Connect-Swis -v2 -host 'solarwindsserver.domain.com'" but still get the error Get-SwisData : Invalid username or password. At line:1 char:13 + Get-SwisData <<<< $swis "SELECT NodeID FROM…
-
Thank you for your prompt response. That is the information I was looking for and will be able to accomplish my task.
-
I know this post is a little old and hopefully will help other people who find it. The query changed in later versions of Solarwinds, I was using NPM Version 12.1. I couldn't figure out how to create a SQL query using the web based report writer so I used the report writer on the Solarwinds server, Start > All Programs >…
-
I split this up into two separate scripts to fit our use one to unmanage and another to remanage. If anyone has a better way to write the below scripts feel free to share. I’m new to PowerShell and this is what I came up with and works for our application. As always use the scripts at your own risk. Before using the code…