2

Apologies if I'm missing something really basic here but in all the tutorials I've read that discusses the use of set-fastsearchmetadatamanagedproperty, it mentions how it belongs to the Administration.Schema namespace, but not how to reference this in a PowerShell script if you want to use set-fastsearchmetadatamanagedproperty!? I'm assuming referencing this namespace isn't done by default given the errors I get when running the script (about set-fastsearchmetadatamanagedproperty being an unknown).

Can somebody please give me a point in the right direction regarding the reference of a relevant namespace you want to use in a PowerShell script please?

8
  • Have you added the PS-Snapin Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue and are you running PowerShell as Administrator? Or have you forgot set ExcecutionPolicy to Bypass Commented Jan 10, 2013 at 9:51
  • I'm running PowerShell as administrator yes. It is the SharePoint Management Console so I though all of the snap in's were included by default? Commented Jan 10, 2013 at 9:52
  • True that... I don't see it either running Get-Command | select-string -pattern "set" Commented Jan 10, 2013 at 9:59
  • Are you a member of FastSearchAdministrators? Commented Jan 10, 2013 at 10:06
  • 1
    Your welcome! :) Commented Jan 10, 2013 at 10:18

1 Answer 1

1

You can't use SharePoint Management Shell but need to use Microsoft FAST Search Server 2010 for SharePoint shell:

  1. Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.

  2. On the Start menu, click All Programs.

  3. Click Microsoft FAST Search Server 2010 for SharePoint.

  4. Click Microsoft FAST Search Server 2010 for SharePoint shell.

Reference: Manage managed properties by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

2
  • 1
    Thanks Benny. That answers the question I asked here so I've marked it accordingly, but this is all in an effort to resolve the following post: sharepoint.stackexchange.com/questions/55574/… your insight on this would be greatly appreciated. Commented Jan 10, 2013 at 10:36
  • 1
    I'll give it a shot after lunch :-) Thanx Commented Jan 10, 2013 at 10:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.