This is a small function that wraps the Get-SPFeature, Enable-SPFeature and Disable-SPFeature to control state of farm, site or web scoped features. I makes it a breeze to set the state of the built-in SharePoint features during a PowerShell deployment. function EnsureFeatureState( [Parameter(Mandatory=$true, Position=0)] [string] $id, [Parameter(Mandatory=$true, Position=1)] [bool] $enabled, [Parameter(Mandatory=$false, Position=2)] [string] $site) { […]
About
Klinkby
- RT @codylindley: JavaScript Is Eating the World slashdot.org/topic/bi/javas… - twitted 4 days ago
- RT @gumball3000: COPENHAGEN ARE YOU READY? Supercar display - Saturday 18th from 10am. The Starting grid - Sunday 19th from 9am! http://t.c… - twitted 6 days ago
- RT @fernandoagomezf: Thats a low punch // "@SharePoint: Don't fall for the #googlegamble. Use Microsoft Office. bit.ly/10noOyH #Why… - twitted 1 week ago
- RT @ToniFrankola: So how often does @office365 index new #SharePoint content? It seems >1h /cc @molnaragnes @magrom - twitted 2 weeks ago
Top Posts
Tag Cloud
Bookmarked