Skip to content

Commit d6385ec

Browse files
authored
Merge branch 'master' into patch-6
2 parents e4a328f + 2f9a934 commit d6385ec

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

sharepoint/sharepoint-ps/sharepoint-server/New-SPProfileServiceApplicationProxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ For permissions and the most current information about Windows PowerShell for Sh
4545
### --------------------EXAMPLE---------------------
4646
```
4747
$sa = New-SPProfileServiceApplication -Name 'User Profile Service Application' -ApplicationPool 'SharePoint Web Services Default' -ProfileDBName Profile -SocialDBName Social -ProfileSyncDBname Sync
48-
New-ProfileServiceApplicationProxy -Name 'User Profile Service Application Proxy' -ServiceApplication $sa -DefaultProxyGroup
48+
New-SPProfileServiceApplicationProxy -Name 'User Profile Service Application Proxy' -ServiceApplication $sa -DefaultProxyGroup
4949
```
5050

5151
This example creates a new User Profile Service application proxy.

sharepoint/sharepoint-ps/sharepoint-server/New-SPWebApplication.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,31 @@ For permissions and the most current information about Windows PowerShell for Sh
3737

3838
## EXAMPLES
3939

40-
### ------------------EXAMPLE-----------------------
40+
### ------------------EXAMPLE 1-----------------------
4141
```
42-
New-SPWebApplication -Name "Contoso Internet Site" -Port 80 -HostHeader sharepoint.contoso.com -URL "http://www.contoso.com/" -ApplicationPool "ContosoAppPool" -ApplicationPoolAccount (Get-SPManagedAccount "DOMAIN\jdoe")
42+
New-SPWebApplication -Name "Contoso Internet Site" -Port 80 -HostHeader sharepoint.contoso.com -URL "http://www.contoso.com/" -ApplicationPool "ContosoAppPool" -ApplicationPoolAccount (Get-SPManagedAccount "DOMAIN\wa")
4343
```
4444

4545
This example creates a new Web application by using an internal host header of sharepoint.contoso.com and a public URL of http://www.contoso.com.
4646

47-
### ------------------EXAMPLE-----------------------
47+
### ------------------EXAMPLE 2-----------------------
4848
```
49-
New-SPWebApplication -Name "Contoso Internet Site" -Port 443 -SecureSocketsLayer -HostHeader sharepoint.contoso.com -URL "https://www.contoso.com/" -ApplicationPool "ContosoAppPool" -ApplicationPoolAccount (Get-SPManagedAccount "DOMAIN\jdoe")
49+
New-SPWebApplication -Name "Contoso Internet Site" -Port 443 -SecureSocketsLayer -HostHeader sharepoint.contoso.com -URL "https://www.contoso.com/" -ApplicationPool "ContosoAppPool" -ApplicationPoolAccount (Get-SPManagedAccount "DOMAIN\wa")
5050
```
5151

5252
This example creates a new SSL enabled Web application by using an internal host header of sharepoint.contoso.com and a public URL of https://www.contoso.com.
5353

54+
### ------------------EXAMPLE 3-----------------------
55+
```
56+
$ap = New-SPAuthenticationProvider
57+
New-SPWebApplication -Name "Contoso Internet Site" -URL "https://www.contoso.com" -Port 443
58+
-ApplicationPool "ContosoAppPool"
59+
-ApplicationPoolAccount (Get-SPManagedAccount "DOMAIN\wa")
60+
-AuthenticationProvider $ap -SecureSocketsLayer
61+
```
62+
63+
Creates a Windows Claims web application at the URL https://www.contoso.com using the domain account domain\wa.
64+
5465
## PARAMETERS
5566

5667
### -ApplicationPool

0 commit comments

Comments
 (0)