Microsoft.Sharepoint.PowerShell not installed on your computer RRS feed

  • Question

  • Hi,

    I need your help.

    I am writing the powershell script to talk to sharepoint.

    The script takes two parameters first one is the IP address of server or servername and second parameter is the config file.

    The script checks if the Servername or IPAddress is correct . The script needs to be run from Centeral Admin or Web Front Ends.

    User is  asked for Login and password of the Server. If it's incorrect then error is displayed to user.

    Then List in the config file is checked to see if there are any duplicates entries.

    If duplicates are found error is displayed to the user.

    Can any body please help me writing the script.

    I am new to sharepoint and powershell.

    I am using PowerGUI editor to write the script and i am using get-spweb function to check if site exists or not.

    I tried to load assembly on the top using command


    I am getting the error.

    Microsoft.Sharepoint.Powershell is not installed on your machine.

    I am only having PowerGUI installed on my machine. I have also Visual Studio 2008, Sql server 2008 and Sharepoint Server 2007 on my machine.

    Please let me know what other softwares i need on my system to write the script and execute it.



    Jaspreet Singh

    • Moved by Mike Walsh FIN Sunday, November 14, 2010 2:06 PM Not an accessibility q (From:SharePoint - Accessibility (pre-SharePoint 2010))
    Thursday, November 11, 2010 5:36 AM


All replies