stsadm tool addin

Hi guys
How do I install the stsadm cmdlet for the powershell in SP 2007?
Cheers
Troy
P3adminAsked:
Who is Participating?
 
AlMothanaAlOmariCommented:
you can use stsadm cmdlet in powershell directly , powershell same as cmd commands you can run and write the same scripts in cmd as powershell
all you need is to access the bin folder and execute the stsadm commands
0
 
P3adminAuthor Commented:
Sorry to sound stupid but where can I find the bin folder on a win 2008 box?
0
 
AlMothanaAlOmariCommented:
the same path bit you'll find folder 14 instead of folder 14
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
samer_othman82Commented:
Open  powershell ISE

Then write the following command  

Add-PSSNAPIN Microsoft.SharePoint.PowerShell
This command finds the .dll for sharepoint and add it as an assembly inside the Powershell ISE
then you can use sts commands
0
 
P3adminAuthor Commented:
Hi I ran the command Add-PSSNAPIN Microsoft.SharePoint.PowerShell but PS returns error that is it not installed on this machine
0
 
samer_othman82Commented:
is the power shell installed in the same server that hosts SharePoint,
If not please install powershell version 2.0 on the same server that hosts sharepoint and then run the following command on the powershel ISE

Add-PSSNAPIN Microsoft.SharePoint.PowerShell
0
 
P3adminAuthor Commented:
I have downloaded the .msu file for powershell 2.0. How do I go about installing a .msu file?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.