If you need to add the user silently simply add the "--silent=true" flag to the command :
jboss-eap-6.0/bin/add-user.sh --silent=true <username> <password> [ManagementRealm]
jboss-eap-6.0/bin/add-user.sh --silent=true <username> <password> [ManagementRealm]
data-source enable --name=DATASOURCE-NAME
./jboss-cli.sh --connect command=:shutdown