Undeploy/remove application from weblogic admin server (wlst/example)

Undeploy/remove/uninstall application from weblogic admin server using weblogic scripting tool (WLST). connect to admin server to remove application.