To start the asadmin utility from the command line, go to the install-dir/bin directory, where install-dir is the application server installation directory, and enter the command: asadmin.
For directions on how to configure a Windows Environment to use the asadmin Utility tools, see GlassFish Quick Start Guide.
For more information about using the asadmin Utility, see GlassFish JBICLI Project Plan and JBI ADMIN CLI