Skip to content

Commit 684e12e

Browse files
committed
Merge branch 'master' into live
# Conflicts: # sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOTenantSyncClientRestriction.md
2 parents 49344b9 + 9751b54 commit 684e12e

File tree

55 files changed

+1190
-413
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1190
-413
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOGeoAdministrator.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ schema: 2.0.0
1010
## SYNOPSIS
1111
{{Fill in the Synopsis}}
1212

13+
1314
## SYNTAX
1415

1516
### Group
@@ -25,19 +26,21 @@ Add-SPOGeoAdministrator [-User] <String> [<CommonParameters>]
2526
## DESCRIPTION
2627
{{Fill in the Description}}
2728

29+
2830
## EXAMPLES
2931

30-
### Example 1
32+
### -----------------------EXAMPLE 1-----------------------------
3133
```
3234
PS C:\> {{ Add example code here }}
3335
```
34-
3536
{{ Add example description here }}
3637

38+
3739
## PARAMETERS
3840

3941
### -Group
40-
{{Fill Group Description}}
42+
PARAMVALUE: String
43+
4144

4245
```yaml
4346
Type: String
@@ -53,7 +56,8 @@ Accept wildcard characters: False
5356
```
5457
5558
### -User
56-
{{Fill User Description}}
59+
PARAMVALUE: String
60+
5761
5862
```yaml
5963
Type: String
@@ -82,4 +86,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8286
## NOTES
8387
8488
## RELATED LINKS
85-

sharepoint/sharepoint-ps/sharepoint-online/Connect-SPOService.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ schema: 2.0.0
1111
Connects a SharePoint Online global administrator to a SharePoint Online connection (the SharePoint Online Administration Center).
1212
This cmdlet must be run before any other SharePoint Online cmdlets can run.
1313

14+
1415
## SYNTAX
1516

1617
### AuthenticationUrl
@@ -26,11 +27,11 @@ Connect-SPOService [-ClientTag <String>] [-Credential <CredentialCmdletPipeBind>
2627
```
2728

2829
## DESCRIPTION
29-
The Connect-SPOService cmdlet connects a SharePoint Online global administrator to the SharePoint Online Administration Center.
30+
The `Connect-SPOService` cmdlet connects a SharePoint Online global administrator to the SharePoint Online Administration Center.
3031

3132
Only a single SharePoint Online service connection is maintained from any single Windows PowerShell session.
3233
In other words, this is a per-organization administrator connection.
33-
Running the Connect-SPOService cmdlet twice implicitly disconnects the previous connection.
34+
Running the `Connect-SPOService` cmdlet twice implicitly disconnects the previous connection.
3435
The Windows PowerShell session will be set to serve the new SharePoint Online global administrator specified.
3536

3637
A delegated partner administrator has to swap connections for different organizations within the same Windows PowerShell session.
@@ -39,13 +40,22 @@ You must be a SharePoint Online global administrator to run the cmdlet.
3940

4041
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).
4142

43+
4244
## EXAMPLES
4345

44-
### ------------ Example 1 --------------------
46+
### -----------------------EXAMPLE 1-----------------------------
4547
```
46-
{example code}
48+
Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential [email protected]
4749
```
48-
{example description}
50+
Example 1 shows how a SharePoint Online global administrator with credential [email protected] connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com/.
51+
52+
53+
### -----------------------EXAMPLE 2-----------------------------
54+
```
55+
$username = "[email protected]"$password = "password"$cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)Connect-SPOService -Url http://contoso-admin.sharepoint.com/ -Credential $cred
56+
```
57+
Example 2 shows how a SharePoint Online global administrator with a user name and password connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com/.
58+
4959

5060
## PARAMETERS
5161

@@ -82,7 +92,8 @@ Accept wildcard characters: False
8292
```
8393
8494
### -Credential
85-
{{Fill Credential Description}}
95+
Specifies the credentials to use to connect. If no credentials are presented, a dialog will prompt for the credentials. The credentials must be those of a SharePoint Online global administrator who can access the SharePoint Online Administration Center site.
96+
8697
8798
```yaml
8899
Type: CredentialCmdletPipeBind
@@ -98,7 +109,13 @@ Accept wildcard characters: False
98109
```
99110
100111
### -Region
101-
{{Fill Region Description}}
112+
The valid values are: Default | ITAR | Germany | China
113+
114+
The default value is "default".
115+
116+
Note:
117+
The ITAR value is for United States Government cloud tenancies only.
118+
102119
103120
```yaml
104121
Type: AADCrossTenantAuthenticationLocation
@@ -114,7 +131,8 @@ Accept wildcard characters: False
114131
```
115132
116133
### -Url
117-
{{Fill Url Description}}
134+
Specifies the URL of the SharePoint Online Administration Center site.
135+
118136
119137
```yaml
120138
Type: UrlCmdletPipeBind
@@ -145,4 +163,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
145163
[Set up the SharePoint Online Management Shell Windows PowerShell environment]()
146164
147165
[Disconnect-SPOService](Disconnect-SPOService.md)
148-

sharepoint/sharepoint-ps/sharepoint-online/Disconnect-SPOService.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,27 @@ schema: 2.0.0
1010
## SYNOPSIS
1111
Disconnects from a SharePoint Online service.
1212

13+
1314
## SYNTAX
1415

1516
```
1617
Disconnect-SPOService [<CommonParameters>]
1718
```
1819

1920
## DESCRIPTION
20-
The Disconnect-SPOService cmdlet explicitly disconnects a previously created SharePoint Online service connection.
21+
The `Disconnect-SPOService` cmdlet explicitly disconnects a previously created SharePoint Online service connection.
2122

22-
Global administrators can disconnect the service by running the Disconnect-SPOService cmdlet or by running the Connect-SPOService cmdlet to initiate another connection.
23-
For more information, see Connect-SPOService.
23+
Global administrators can disconnect the service by running the `Disconnect-SPOService` cmdlet or by running the `Connect-SPOService` cmdlet to initiate another connection.
24+
For more information, see `Connect-SPOService`.
2425

2526
Even after a connection is terminated, operations that were started before the connection is terminated will run to completion.
26-
In other words, long-running operations will not be terminated by running the Disconnect-SPOService cmdlet or the Connect-SPOService cmdlet.
27+
In other words, long-running operations will not be terminated by running the `Disconnect-SPOService` cmdlet or the `Connect-SPOService` cmdlet.
2728

2829
You must be a SharePoint Online global administrator to run the cmdlet.
2930

3031
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).
3132

33+
3234
## EXAMPLES
3335

3436
### ------------ Example 1 --------------------
@@ -37,6 +39,7 @@ Disconnect-SPOService
3739
```
3840
This example disconnects the service for the tenant.
3941

42+
4043
## PARAMETERS
4144

4245
### CommonParameters
@@ -57,5 +60,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
5760
[Get-SPOAppErrors](Get-SPOAppErrors.md)
5861

5962
[Connect-SPOService](Connect-SPOService.md)
60-
61-

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOCrossGeoMovedUsers.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ schema: 2.0.0
1010
## SYNOPSIS
1111
{{Fill in the Synopsis}}
1212

13+
1314
## SYNTAX
1415

1516
```
@@ -19,19 +20,21 @@ Get-SPOCrossGeoMovedUsers -Direction <String> [<CommonParameters>]
1920
## DESCRIPTION
2021
{{Fill in the Description}}
2122

23+
2224
## EXAMPLES
2325

24-
### Example 1
26+
### -----------------------EXAMPLE 1-----------------------------
2527
```
2628
PS C:\> {{ Add example code here }}
2729
```
28-
2930
{{ Add example description here }}
3031

32+
3133
## PARAMETERS
3234

3335
### -Direction
34-
{{Fill Direction Description}}
36+
PARAMVALUE: String
37+
3538

3639
```yaml
3740
Type: String
@@ -61,4 +64,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
6164
## NOTES
6265
6366
## RELATED LINKS
64-

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOCrossGeoUsers.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ schema: 2.0.0
1010
## SYNOPSIS
1111
{{Fill in the Synopsis}}
1212

13+
1314
## SYNTAX
1415

1516
```
@@ -21,17 +22,18 @@ Get-SPOCrossGeoUsers -ValidDataLocation <Boolean> [<CommonParameters>]
2122

2223
## EXAMPLES
2324

24-
### Example 1
25+
### -----------------------EXAMPLE 1-----------------------------
2526
```
2627
PS C:\> {{ Add example code here }}
2728
```
28-
2929
{{ Add example description here }}
3030

31+
3132
## PARAMETERS
3233

3334
### -ValidDataLocation
34-
{{Fill ValidDataLocation Description}}
35+
PARAMVALUE: $true | $false
36+
3537

3638
```yaml
3739
Type: Boolean
@@ -60,4 +62,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
6062
## NOTES
6163
6264
## RELATED LINKS
63-

sharepoint/sharepoint-ps/sharepoint-online/Get-SPODataConnectionSetting.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ schema: 2.0.0
1212
Returns Business Connectivity Services OData connection properties.
1313

1414

15-
1615
## SYNTAX
1716

1817
```
@@ -21,7 +20,7 @@ Get-SPODataConnectionSetting -ServiceContext <SPServiceContextPipeBind>
2120
```
2221

2322
## DESCRIPTION
24-
Use the Get-SPODataConnectionSetting cmdlet to display Business Connectivity Services OData connection properties for a specified Business Connectivity Services connection.
23+
Use the `Get-SPODataConnectionSetting` cmdlet to display Business Connectivity Services OData connection properties for a specified Business Connectivity Services connection.
2524

2625
If the name of the connection is not specified by using the Name parameter, this cmdlet will return the list of the connections for the specified BDC service context.
2726

@@ -30,28 +29,31 @@ You cannot use this command in the SharePoint Online Management Shell.
3029

3130
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251831 (http://go.microsoft.com/fwlink/p/?LinkId=251831).
3231

32+
3333
## EXAMPLES
3434

35-
### ----------------EXAMPLE 1------------
35+
### -----------------------EXAMPLE 1-----------------------------
3636
```
3737
C:\PS>Get-SPODataConnectionSetting -ServiceContext "http://contoso" -Name "ContosoServiceApp"
3838
```
3939

4040
This example returns properties of the BCS connection named ContosoServiceApp
4141

42-
### ----------------EXAMPLE 2------------
42+
### -----------------------EXAMPLE 2-----------------------------
4343
```
4444
C:\PS>Get-SPODataConnectionSetting -ServiceContext "http://contoso"
4545
```
4646

4747
This example returns a list of BCS connections for the service context named http://contoso
4848

49+
4950
## PARAMETERS
5051

5152
### -ServiceContext
5253
Specifies the service context which is in the form of an instance of an SPServiceContext object, an SPSiteAdministration object identifier, or a SPSite object.
5354
An example of a service context value is an identifier from the ID field, a string identifier, a URI, or a string representation of a GUID.
5455

56+
5557
```yaml
5658
Type: SPServiceContextPipeBind
5759
Parameter Sets: (All)
@@ -72,7 +74,8 @@ Using the SPAssignment object, you can assign objects to a variable and dispose
7274
When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
7375
7476
When the Global parameter is used, all objects are contained in the global store.
75-
If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
77+
If objects are not immediately used, or disposed of by using the `Stop-SPAssignment` command, an out-of-memory scenario can occur.
78+
7679

7780
```yaml
7881
Type: SPAssignmentCollection
@@ -90,6 +93,7 @@ Accept wildcard characters: False
9093
### -Name
9194
Specifies the name of the Business Connectivity Services connection object.
9295

96+
9397
```yaml
9498
Type: String
9599
Parameter Sets: (All)
@@ -119,4 +123,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
119123
[Remove-SPODataConnectionSetting](Remove-SPODataConnectionSetting.md)
120124

121125
[Set-SPODataConnectionSetting](Set-SPODataConnectionSetting.md)
122-

sharepoint/sharepoint-ps/sharepoint-online/Get-SPODataConnectionSettingMetadata.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ schema: 2.0.0
1212
Returns a Business Data Connectivity service metadata object.
1313

1414

15-
1615
## SYNTAX
1716

1817
```
@@ -21,28 +20,31 @@ Get-SPODataConnectionSettingMetadata -ServiceContext <SPServiceContextPipeBind>
2120
```
2221

2322
## DESCRIPTION
24-
Use the Get-SPODataConnectionSettingMetaData cmdlet to return a Business Data Connectivity service metadata object for a specific Business Connectivity Services service application.
23+
Use the `Get-SPODataConnectionSettingMetaData` cmdlet to return a Business Data Connectivity service metadata object for a specific Business Connectivity Services service application.
2524

2625
This cmdlet applies to an on-premises environment only.
2726
You cannot use this command in the SharePoint Online Management Shell.
2827

2928
For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251831 (http://go.microsoft.com/fwlink/p/?LinkId=251831).
3029

30+
3131
## EXAMPLES
3232

33-
### -------------EXAMPLE------------
33+
### -----------------------EXAMPLE 1-----------------------------
3434
```
3535
C:\PS>Get-SPODataConnectionSettingMetadata -ServiceContext "http://contoso" -Name "ContosoServiceApp"
3636
```
3737

3838
This example displays metadata properties of BCS connection named ContosoServiceApp
3939

40+
4041
## PARAMETERS
4142

4243
### -ServiceContext
4344
Specifies the service context which is in the form of an instance of an SPServiceContext object, an SPSiteAdministration object identifier, or a SPSite object.
4445
An example of a service context value is an identifier from the ID field, a string identifier, a URI, or a string representation of a GUID.
4546

47+
4648
```yaml
4749
Type: SPServiceContextPipeBind
4850
Parameter Sets: (All)
@@ -59,6 +61,7 @@ Accept wildcard characters: False
5961
### -Name
6062
Specifies the name of the Business Connectivity Services connection whose metadata properties the user wants to see displayed.
6163
64+
6265
```yaml
6366
Type: String
6467
Parameter Sets: (All)
@@ -79,7 +82,8 @@ Using the SPAssignment object, you can assign objects to a variable and dispose
7982
When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
8083
8184
When the Global parameter is used, all objects are contained in the global store.
82-
If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
85+
If objects are not immediately used, or disposed of by using the `Stop-SPAssignment` command, an out-of-memory scenario can occur.
86+
8387

8488
```yaml
8589
Type: SPAssignmentCollection
@@ -106,4 +110,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
106110
## RELATED LINKS
107111

108112
[Set-SPODataConnectionSettingMetaData](Set-SPODataConnectionSettingMetaData.md)
109-

0 commit comments

Comments
 (0)