Solved

Powershell Sharepoint 2007

Posted on 2011-03-25
2
1,429 Views
Last Modified: 2012-06-21
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
Comment
Question by:Gonzalo Becerra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Dale Harris earned 500 total points
ID: 35217895
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
 
LVL 1

Author Closing Comment

by:Gonzalo Becerra
ID: 35218066
Thanks.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help you understand what HashTables are and how to use them in PowerShell.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question