Hello Everyone,
Is there any way to unmanage and re-manage multiple nodes? May be from the tool or by using powershell script.
Thanks,
Abhishek
Hello Everyone,
Is there any way to unmanage and re-manage multiple nodes? May be from the tool or by using powershell script.
Thanks,
Abhishek
Hi
Solarwinds Unmanage Utility is already available.
Please refer the below link:-
Regards
Mohit
Thanks Guys for all your Help..
Yes, I'm aware of the above options which you provided. I feel this becomes hard for me when i have to unmanage/re-manage more 10 nodes at a time. I need to go search for them if i have 100's of nodes. So i'm looking for any other options which makes this little simpler
Here is a good amount of information using the SolarWinds SDK https://thwack.solarwinds.com/thread/62160
you may be using custom property and can identify the nodes using custom property ,from manage nodes page you can select them based on custom property and unmanage/remanage as required.
Save this as .ps1 and run it. This will use your AD credentials to authenticate to your Orion server and unmanage a node named NODEYOUWANTTOUNMANAGE for 10 minutes from now.
Add-PSSnapin SwisSnapin
$swis = Connect-Swis -host YOURORIONSERVER -Trusted
$nodeid = Get-SwisData $swis "SELECT NodeID FROM Orion.Nodes WHERE SysName LIKE 'NODEYOUWANTTOUNMANAGE'"
$now =[DateTime ]:: Now
$later =$now.AddMinutes(10)
Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N: $nodeid ", $now ,$later , "false")
Thank You Prashant. Can you give me an example how can we create the custom property for this scenario.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.