Docteur L – François Lessard

SharePoint Architect, IT Manager and IT Specialist

  • Author:
  • Published: Oct 20th, 2011
  • Category: MOSS 2007, PowerShell, Scripts, Tools
  • Comments: None
  •             

MOSS 2007 with PowerShell – Great scripts

Tags: , , , , , ,

SharePoint 2010 and PowerShell are a perfect fit. With more than 500 cmdlets, the possible scripts to create are countless. But, what about MOSS 2007, is it possible to take advantage of it. Of course it is, with a minimum effort.

First the requirements, if MOSS is installed on a Windows Server 2003, it might require to install PowerShell 2.0. Download it here. Install the package. You won’t have to reboot your server.

Then, start the PowerShell console, it’s under Start –> Accessories –> PowerShell 2.0

In the console, enable the remote scripting.

[codesyntax lang="powershell"]

Set-ExecutionPolicy RemoteSigned

[/codesyntax]

Now to access MOSS 2007, you will have to interface with the SharePoint API by using the .Net FrameWork.

Phil Childs has a great post about it.

And Niklas Goude did an awesome job by creating great PowerShell scripts for MOSS that look like SharePoint 2010 cmdlets.

Share on TwitterShare on LinkedInSubmit to StumbleUponDigg ThisSubmit to reddit
  • Author:
  • Published: Oct 13th, 2011
  • Category: Administration, Servers, Update, Upgrade
  • Comments: 1
  •             

Updating SharePoint 2010 to SP1 and CU

Tags: , , , , , , , ,

Here’s the right sequence to update SharePoint 2010 to service pack 1 and cumulative update.

  1. SharePoint Foundation SP1
  2. SharePoint Foundation Language Pack SP1 (if you have any other than english.)
  3. SharePoint Server SP1
  4. SharePoint Server Language Pack SP1 (Again, if you have any other than english.)
  5. Reboot the server
  6. Run the SharePoint Config Wizard (In my case I had to run it twice. The first one failed because of the User Profile Sync need to be started manually)
  7. SharePoint Server Cumulative Update (starting from June 2011)
  8. Reboot the Server
  9. Run the SharePoint Config Wizard
  10. IISReset
  11. Start Central Admin and verify the Manage Services on Server to check that everything is started as before.
  12. Reset the Search Index
  13. Start a full crawl.

I know that some reports said that Server SP1 contains Foundation SP1, but by installing the Foundation SP1 before the Server SP1, it will overwrite any update push by the foundation SP1. And in this way, you will be sure to update everything that it needs too.

However, for Cumulative Update, Stefen Goßner mentions in his blog:

Be aware that the SharePoint Server 2010 CU contains the SharePoint Foundation CU. And the SharePoint Server 2010 with Project Server CU contains Project Server CU, SharePoint Server CU and SharePoint Foundation CU. That means only one package has to be installed for the SharePoint 2010 product family.

Full article is here. Stefan provide also links to download all required patches.

Also, take a look of the SharePoint Update section in Technet.

Share on TwitterShare on LinkedInSubmit to StumbleUponDigg ThisSubmit to reddit

© 2011 Docteur L – François Lessard. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.

Switch to our mobile site