Running PowerShell on MOSS 2007


  1. If you are running MOSS 2007 on Windows Server 2003 the you have to download and install PowerShell from Windows Server 2008  natively supports PowerShell.
  2. Set the  Execution Policy to 'RemoteSigned'. You can check it by running 'Get-ExecutionPolicy' cmdlet
    The default execution policy for PowerShell is “Restricted” (commands only, not scripts)

# All scripts running locally are allowed
Set-ExecutionPolicy RemoteSigned

This means downloaded scripts must be signed by a trusted publisher before they can be run.

     3. You need to load the SharePoint assemblies with the following command

#    Load the SharePoint assemblies

A bunch of PowerShell scripts are available at

Comments (5)
  1. Ed (DareDevil57) says:


  2. praveen kumar says:

    How can I get the list of failed and aborted timer JOB STATUS in Sharepoint Server 2007 using powershell. Can anyone please help??

  3. Smith E says:

    We can mimic SharePoint 2010/2013 PowerShell cmdlets in MOSS 2007 by creating our own functions as in:

  4. SharePoint 2013 Development training Online says:

    Information was good, I like your post.
    Looking forward for more on this topic.">SharePoint 2013 Development training Online

  5. SharePoint freelancer says:

    I absolutely love your blog and find nearly all of your post’s to be precisely what I’m looking for.">SharePoint freelancer

Comments are closed.

Skip to main content