Thursday, June 7, 2012

Location of 14 hyve bin folder to Run Stsadm Commands


Hi All

I generally use Powershell Commands to work with SharePoint 2010 environment.
Recently while I had come across to the situation where I need to remove the content database of one SharePoint web application.
when I used the remove command as
stsadm.exe -o deletecontentdb -databasename WSS_Content_1234 -url http://servername:1234 using command prompt I am getting error as below
stsadm is not recognized as internal or external command
Then I came to knew i.e we need to go in the below location in command prompt and then use stsadm commands
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN