Well i figured out that i can Telnet into the Switch and manually Enable and Disable the selected ports. Which is working how I would like it to. Now I just have the process of writing it in code and looking up the different commands for this. I mainly just wondered if someone had done this before and had a example.