Solved

Powershell Sharepoint 2007

Posted on 2011-03-25
2
1,404 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

770 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