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
- Failed to get a glimpse of @MedinaMusic through a swarm of 30.000 drunk teens in #Tivoli - twitted 1 week ago
- .@SPSaturday_CPH is awfully quiet, I'm wondering (hoping) if there will be a #spscph this year? /cc: @sharepointdk @jesperpersson @meikdk - twitted 1 week ago
- Danish minister of justice won't answer if #NemId is a backdoor to citizen's computers ft.dk/samling/20111/… @smbrix #dkpol #stasi - twitted 2 weeks ago
- Hey birch get outta my face astma-allergi.dk/detlavervi/dag… #achoo - twitted 2 weeks ago
-
Top Posts
Tag Cloud
-
Bookmarked