You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 20, 2022. It is now read-only.
Microsoft PowerShell is a command-line shell and scripting language that provides an administrator full access to applicable application programming interfaces (APIs). Administrators can interact directly with SharePoint Server to manipulate web applications, site collections, sites, lists and much more. In addition, an administrator can script cmdlets (pronounced "command-lets").
4
4
@@ -12,38 +12,37 @@ For a list of SharePoint Online cmdlets, see [SharePoint Online cmdlets](sharepo
12
12
13
13
For a list of the SharePoint PnP cmdlets, see [SharePoint PnP cmdlets](sharepoint-pnp/sharepoint-pnp-cmdlets.md)
14
14
15
-
####SharePoint Online ####
15
+
## SharePoint Online
16
16
17
17
Verify that you have the following administrative permissions:
18
18
19
-
* You must be assigned the global administrator role on the SharePoint Online site on which you are running the PowerShell cmdlet.
20
-
For more information, see [Default administrative roles and user groups](https://support.office.com/en-us/article/Default-SharePoint-Groups-13BB2B6B-DD8C-447E-B71B-0E4BB9EFE1D3?ui=en-US&rs=en-US&ad=US).
19
+
* You must be assigned the global administrator role on the SharePoint Online site on which you are running the PowerShell cmdlet.
20
+
For more information, see [Default administrative roles and user groups](https://support.office.com/en-us/article/Default-SharePoint-Groups-13BB2B6B-DD8C-447E-B71B-0E4BB9EFE1D3?ui=en-US&rs=en-US&ad=US).
21
21
22
22
**IMPORTANT:** You can use a specific group of PowerShell with SharePoint Online. For more information, see [Office 365 PowerShell for SharePoint Online](https://technet.microsoft.com/en-us/library/fp161362(v=office.16).aspx).
23
23
24
-
## Learning PowerShell ##
24
+
## Learning PowerShell
25
25
26
26
There are several PowerShell learning resources for SharePoint IT professionals.
27
27
28
-
####TechNet Scripting Center ####
28
+
### TechNet Scripting Center
29
29
30
30
The TechNet Scripting Center includes many resources to help you learn the basics about PowerShell. It also contains script repositories with samples of scripts that are typically used with various Microsoft products. The following table shows the main learning resources.
31
31
32
32
|**Page**|**Description**|
33
33
|------------------|------------------|
34
-
|[Windows PowerShell Documentation on TechNet](https://docs.microsoft.com/powershell/scripting/powershell-scripting?view=powershell-5.1)|This section of the TechNet Library contains web copies of the core PowerShell Get-Help topics. The section also has web copies of the PowerShell Getting Started document, the PowerShell.exe help, and a PowerShell primer.|
35
-
|[Scripting With Windows PowerShell](https://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx)| The home page for PowerShell scripting learning resources.|
36
-
|[Windows PowerShell Owner's Manual](https://technet.microsoft.com/en-us/library/ee221100.aspx)|Web-based guide for getting started with PowerShell.|
37
-
|[Windows PowerShell Quick Reference](https://www.microsoft.com/en-us/download/details.aspx?id=30002)|Downloadable copy of the Quick Reference document that is installed with PowerShell.|
34
+
|[Windows PowerShell Documentation on TechNet](https://docs.microsoft.com/en-us/powershell/scripting/powershell-scripting?view=powershell-5.1)|This section of the TechNet Library contains web copies of the core PowerShell Get-Help topics. The section also has web copies of the PowerShell Getting Started document, the PowerShell.exe help, and a PowerShell primer.|
35
+
|[Scripting With Windows PowerShell](https://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx)| The home page for PowerShell scripting learning resources.|
36
+
|[Windows PowerShell Owner's Manual](https://technet.microsoft.com/en-us/library/ee221100.aspx)|Web-based guide for getting started with PowerShell.|
37
+
|[Windows PowerShell Quick Reference](https://www.microsoft.com/en-us/download/details.aspx?id=30002)|Downloadable copy of the Quick Reference document that is installed with PowerShell.|
38
38
39
39
As you read these resources, consider that the following concepts and cmdlets are useful ones to learn before you use PowerShell for SharePoint Server:
Copy file name to clipboardExpand all lines: sharepoint/sharepoint-ps/sharepoint-online/Get-SPOGeoAdministrator.md
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ ms.reviewer:
11
11
# Get-SPOGeoAdministrator
12
12
13
13
## SYNOPSIS
14
+
14
15
This cmdlet returns the SharePoint Online user or security group accounts with global administrative privileges in the current Multi-Geographics tenant.
15
16
16
17
## SYNTAX
@@ -32,25 +33,24 @@ You must be a SharePoint Online or global administrator and you must have a the
32
33
33
34
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).
34
35
35
-
36
36
## EXAMPLES
37
37
38
-
### Example 1
38
+
### Example 1
39
+
39
40
```powershell
40
-
Get-SPOGeoAdministrator
41
+
Get-SPOGeoAdministrator
41
42
```
42
43
This cmdlet will output a SharePoint Online user or security group that is Multi-Geographic administrators on the current multi-geo tenant.
43
44
44
45
## PARAMETERS
45
46
46
47
### CommonParameters
47
-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
48
-
49
48
49
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
50
50
51
51
## RELATED LINKS
52
52
53
-
[Add or remove a geo administrator](https://docs.microsoft.com/Office365/Enterprise/add-a-sharepoint-geo-admin)
53
+
[Add or remove a geo administrator](https://docs.microsoft.com/Office365/Enterprise/add-a-sharepoint-geo-admin)
54
54
55
55
[Getting started with SharePoint Online Management Shell](https://docs.microsoft.com/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps)
56
56
@@ -59,5 +59,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
0 commit comments