Is there a way to automate the Reset Port Utility?

There is no way to automate the port reset, it has to be done manually.