File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sharepoint/sharepoint-ps/sharepoint-server Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ For permissions and the most current information about Windows PowerShell for Sh
35
35
36
36
### ------------------EXAMPLE 1-----------------------
37
37
```
38
- PS C:\>New-SPSite http://<site name> /sites/test -OwnerAlias "DOMAIN\JDoe" -Language 1033 -Template STS#0
38
+ PS C:\>New-SPSite http://webApp /sites/test -OwnerAlias "DOMAIN\JDoe" -Language 1033 -Template STS#0
39
39
```
40
40
41
41
This example creates an English site collection at http://\< site name\> /sites/test that is owned by user DOMAIN\Jdow.
42
42
43
43
44
44
### ------------------EXAMPLE 2-----------------------
45
45
```
46
- PS C:\>$w = Get-SPWebApplication http://<site name>
46
+ PS C:\>$w = Get-SPWebApplication http://webApp
47
47
PS C:\>New-SPSite http://www.contoso.com -OwnerAlias "DOMAIN\jdow" -HostHeaderWebApplication $w -Name "Contoso" -Template STS#0
48
48
```
49
49
@@ -61,7 +61,7 @@ This example creates a site collection by using the "Team Site" Web template.
61
61
62
62
### ------------------EXAMPLE 4-----------------------
63
63
```
64
- PS C:\>New-SPSite -URL http://<site name> /sites/testsite -OwnerAlias "DOMAIN\JDow" -Language 1033 -CompatibilityLevel 14 -Template STS#0
64
+ PS C:\>New-SPSite -URL http://webApp /sites/testsite -OwnerAlias "DOMAIN\JDow" -Language 1033 -CompatibilityLevel 14 -Template STS#0
65
65
```
66
66
67
67
This example creates an English 14 mode site collection by using the Team site template at http://\< site name\> /sites/testsite that is owned by user DOMAIN\Jdow
You can’t perform that action at this time.
0 commit comments