私はすでにトップレベルのWebアプリケーションとサイトコレクションを作成しました。私のサイトコレクションのPowerShell入力はです。
Get-SPWebTemplate | Where{ $_.Title -eq "Team Site" } | ForEach-Object{ New-SPSite http://teampowershell.sharepoint1c.lab -OwnerAlias SHAREPOINT1C\SP_FARM -Template $_ }
この後、URLに新しいトップレベルのサイトを作成しようとしています。
powershellコマンドを使用した「http://teams.contoso.com/Finance」
Get-SPWebTemplate | Where{ $_.Title -eq "Team Site" } | ForEach-Object{ New-SPSite http://teampowershell.sharepoint1c.lab/finance -OwnerAlias SHAREPOINT1C\SP_FARM -Template $_ }
しかし、私はこのエラーで迎えられます
>"New-SPSite : A site collection could not be created as the provided managed pat
h does not exist. Change the URL to use an existing managed path or create the
missing managed path prior to calling this command.
At line:1 char:83
+ Get-SPWebTemplate | Where{ $_.Title -eq "Team Site" } | ForEach-Object{ New-S
PSite <<<< http://teampowershell.sharepoint1c.lab/finance -OwnerAlias SHAREPOI
NT1C\SP_FARM -Template $_ }
+ CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletNewSite:
SPCmdletNewSite) [New-SPSite], SPCmdletException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite"
管理パスを作成する必要があると思いますが、管理SiteCollectionURLはどこで指定しますか?