I have a server decom script that I wrote in Powershell that removes everything from a node except for Solarwinds prior to it being removed from the network. It would be super helpful if I could automate the removal of a node as I am stuck doing this part manually, and it is the only manual part of the process.
How would I write this in Powershell? I tried to modify the unmanage script that was posted on the forum, but am not having any luck with it.
Thanks!