0

Is this possible to do via powershell?

http://www.glynblogs.com/2011/01/create-a-content-type-search-refinement-panel-in-sharepoint-2010.html#comment-23134

there is nothing to improve in the question, I need to create a managed property via powershell, the link shows how to do it visually but doesnt show how to do it via powershell, the real question is that, I know its possible, I just dont know the spcmdlets to use for this and the syntax

  • Please put the pertinent information in your question rather than just linking to an article, so that the question can be understood on its own. It will be closed for now, but don't worry - once you have improved the question flag a moderator and it can be reopened. See our FAQ for general guidelines. Thanks. – SPDoctor Feb 29 '12 at 14:46
  • there is nothing to improve in the question, I need to create a content type via powershell, the link shows how to do it visually. – Luis Valencia Feb 29 '12 at 15:04
  • Your question title talks about a managed property. If you explain what you are trying to do, with possibly a link to provide background information, you will have a good chance of getting someone to help. The linked article has nothing to do with creating a content type, as far as I can tell. – SPDoctor Feb 29 '12 at 15:21
  • that was a typo, I edited it, indeed I need to create a managed property to The content type property. – Luis Valencia Feb 29 '12 at 15:34
  • Is the question looking to create Content Types using PowerShell? – Supriyo SB Chatterjee Feb 29 '12 at 19:48
2

Yes, it is possible to do it via powershell.

If you want to create a managed property for Sharepoint Enterprise Search via Powershell, Use :

New-SPEnterpriseSearchMetadataManagedProperty

Check out here for the usage and parameters.

If you want to create a managed property for Fast Search for SharePoint via Powershell, Use:

New-FASTSearchMetadataManagedProperty

Check out here for the usage and parameters.

  • Could you expand on that other than just saying Yes? – Eric Alexander Feb 29 '12 at 12:50
  • lol, what an answer. – Luis Valencia Feb 29 '12 at 13:08
  • 1
    While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, rather than just taking the mickey, even if the question deserved it. See answer for general guidelines. – SPDoctor Feb 29 '12 at 14:40
  • Guys, I hope I answered the question now. – Amit Kumawat Mar 1 '12 at 5:31
-1

Here is an example.

You can also use Command Builder to build some powershell commands.

  • I asked content type, not term sets. thx – Luis Valencia Feb 29 '12 at 23:25

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.