Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1444
  • Last Modified:

Powershell Sharepoint 2007

Dear All,

I would like to know how can I manage Sharepoint 2007 from Powershell. Because I know for example to manage Server manager I import module ServerManager in Windows 2008 and Work Fine. But I don't know how to import module Sharepoint to Powershell v2.

I have in the same server:
Windows 2003 SP2 with Powershell V2
Sharepoint 2007 SP2

I would like manage Sharepoint2007 from Powershell and Activate a Feature from there.

Thanks in advance,
0
Gonzalo Becerra
Asked:
Gonzalo Becerra
1 Solution
 
Dale HarrisCommented:
Unfortunately, MOSS 2007 and Powershell do not work well together.  Sharepoint 2010 and Sharepoint Foundations 2010 actually uses Powershell as it's management console, so you'll have a lot more luck there if you move to 2010.

There are a few basic things you can do, but mostly stsadm.exe is your best bet to do things in a script (batch file).

HTH,

Dale Harris
0
 
Gonzalo BecerraAuthor Commented:
Thanks.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now