Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
    
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. –  Esteban V 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. –  Esteban V 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 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer
    
Could you expand on that other than just saying Yes? –  PirateEric Feb 29 '12 at 12:50
    
lol, what an answer. –  Esteban V 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
    
@Amit - thanks for that. –  SPDoctor Mar 4 '12 at 0:26

Here is an example.

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

share|improve this answer
    
I asked content type, not term sets. thx –  Esteban V Feb 29 '12 at 23:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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