wasprofile -create -delete
Sometimes you require to do things silently, without any questions asked and “Just Do It” attitude is required.
I often find my self with this problem.
If you want to delete or create a Websphere profile from your command line try the following. (I have tried on RSA only)
# deleteing a profile wasprofile -delete -profileName MyProfile You should get the following message on deletion
INSTCONFSUCCESS: Success: The profile no longer exists.