Epic interview question

How would you write a script to disable a port on a switch?