Saturday, October 20, 2012

Create Subsite using Powershell


Add-PsSnapin Microsoft.SharePoint.Powershell –ErrorAction SilentlyContinue

New-SPWeb http://globas:1060/test -Template "STS#1"  -Name "test"

 

 

Write-Host "Finished! Press enter key to exit." -ForegroundColor Green
Read-Host

No comments:

Post a Comment