Almost done with a script that is modifying settings on sites for standardization. It touches about 3000+ devices, one if statement found online parses the script and XOS devices go one way, Extremeware another. Works great. Now I need to add some conditional statements that will look at the IP and determine if it ends in a certain octet....
So something like
If a device IP ends in X.X.X.6 do this
Unable to find the resources online to accomplish this.....should be just one line. Any input?