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?

  • 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 – Benny Skogberg Jan 10 '13 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? – JᴀʏMᴇᴇ Jan 10 '13 at 9:52
  • True that... I don't see it either running Get-Command | select-string -pattern "set" – Benny Skogberg Jan 10 '13 at 9:59
  • Are you a member of FastSearchAdministrators? – Benny Skogberg Jan 10 '13 at 10:06
  • 1
    Your welcome! :) – Benny Skogberg Jan 10 '13 at 10:18
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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.