Examples/Resources/SPAppDomain/1-SetAppDomainDetails.ps1
<#
.EXAMPLE This example shows how to apply app URLs to the current farm. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $SetupAccount ) Import-DscResource -ModuleName SharePointDsc node localhost { SPAppDomain LocalFarmAppUrls { AppDomain = "contosointranetapps.com" Prefix = "app" PsDscRunAsCredential = $SetupAccount } } } |