# encoding: ascii
# api: powershell
# title: CreateSite_tmp.ps1
# description: CreateSite_tmp.ps1
# version: 0.1
# author: brodobrey
# license: CC0
# x-poshcode-id: 3628
# x-archived: 2012-09-15T04:08:39
# x-published: 2012-09-07T06:35:00
#
#
# the order of the set custom WSP template
# Список необходимого для использования личного WSP шаблона
#Add-SPSolution D:\tmp\ps\template\test.wsp
#Install-SPSolution -identity "test.wsp"
#Install-SPSolution -Identity test.wsp -GACDeployment
#Enable-SPFeature test -url http://spf
# delete WSP
#Remove-SPSolution -identity "test.wsp"
#Uninstall-SPSolution -identity "Test.wsp"
$site = Get-SPSite http://spf/
$web = $site.RootWeb
$templates = "{055CF2A7-43A8-48E1-95CB-19DC393F0215}#kolam"""
write-host "template = $templates ; web = $web "
New-SPWeb -name 'KoKA2' -url http://spf/koka2 -UseParentTopNav -AddToTopNav -Template $templates
# -UniquePermissions #kolam"
#New-SPWeb -Url http://sps2010/sites/mynewsite -Name "my new site" -Template ""{E6BD7EFF-8336-4975-BA22-2256970781E2}#SubWebTemplate"
#" -UseParentTopNav -UniquePermissions
#>