Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function AfterDeploy($vars){
- # Log "AfterDeploy (Custom Event)" -Type $SPSD.LogTypes.Information -Indent
- # New-SPSite -Url '$vars["SiteUrl"]' -OwnerAlias '$env:USERDOMAIN$env:USERNAME' -Name 'Test Site' -Template 'STS#0'
- # Install-SPFeature -Path '[feature name]' -Force
- # Enable-SPFeature -Identity '[feature name]' -Url '$vars["SiteUrl"]' -Force
- # Enable-SPFeature -Identity [feature guid] -Url '$vars["SiteUrl"]' -Force
- #activate content type association feature in content web application
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement