Default authentication is Windows Authentication if the arcplan Usermanagment is enabled.Without Usermanagement /user and /password must be set.

It is best used with "start /wait" to wait until completion in the script:

start /wait arcAdminConsole.exe /publish /appname:applicationname

/publish can also be used for existing applications

The Update mode will work only if the application is already existing on the Client- and the Server side. It will only be updated if it was published from the local computer, because the documents path is saved in the local Adminstration Console settings.