Examples/Resources/SPSelfServiceSiteCreation/2-EnableSelfServiceSiteCreationCustomForm.ps1
<#
.EXAMPLE This example shows how to configure self-service site creation with a custom form for a web application #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $SetupAccount ) Import-DscResource -ModuleName SharePointDsc node localhost { SPSelfServiceSiteCreation SSC { WebAppUrl = "http://example.contoso.local" Enabled = $true ShowStartASiteMenuItem = $true CustomFormUrl = "http://ssc.contoso.com.local/ssc" PsDscRunAsCredential = $SetupAccount } } } |