Goal is to mute and unumute alerts from a file of IP addresses.
I found a script that works, but I noticed that if my IP address is something like 192.168.1.19 it matches that and 192.168.1.191 for instance. I hoping someone can help me fix the query. It is below:
$nodeuri = Get-SwisData $swis "SELECT Uri FROM Orion.Nodes WHERE IPAddress LIKE '$IPAddress%'"