MsDeploy commands not working

Solution 1:

Have you installed web deploy with complete option selected? If yes, then change path in command to and try. For me it is working from below path

C:\Program Files (x86)\IIS\Microsoft Web Deploy V2\