Skip to content

Commit 9e7955c

Browse files
authored
Merge pull request MicrosoftDocs#61 from MicrosoftDocs/master
Merge master to live
2 parents 3462f17 + 2c500eb commit 9e7955c

File tree

989 files changed

+2728
-851
lines changed

Some content is hidden

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

989 files changed

+2728
-851
lines changed

officewebapps/docfx.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@
5454
"externalReference": [],
5555
"globalMetadata": {
5656
"author" : "kenwith",
57-
"ms.author" : "kenwith",
58-
"ms.date" : "09/25/2017",
57+
"ms.author" : "mikeplum",
58+
"ms.date" : "11/28/2017",
5959
"ms.topic" : "reference",
60-
"ms.service" : "officewebapps-powershell",
60+
"ms.prod" : "office-online-server-powershell",
6161
"ms.devlang" : "powershell"
6262
},
6363
"fileMetadata": {},

officewebapps/officewebapps-ps/officewebapps/Get-OfficeWebAppsExcelBIServer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Get-OfficeWebAppsExcelBIServer
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Get-OfficeWebAppsExcelUserDefinedFunction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Get-OfficeWebAppsExcelUserDefinedFunction
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Get-OfficeWebAppsFarm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Get-OfficeWebAppsFarm
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Get-OfficeWebAppsHost.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Get-OfficeWebAppsHost
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Get-OfficeWebAppsMachine.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Get-OfficeWebAppsMachine
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/New-OfficeWebAppsExcelBIServer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: New-OfficeWebAppsExcelBIServer
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/New-OfficeWebAppsExcelUserDefinedFunction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: New-OfficeWebAppsExcelUserDefinedFunction
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/New-OfficeWebAppsFarm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: New-OfficeWebAppsFarm
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/New-OfficeWebAppsHost.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: New-OfficeWebAppsHost
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/New-OfficeWebAppsMachine.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: New-OfficeWebAppsMachine
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Remove-OfficeWebAppsExcelBIServer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Remove-OfficeWebAppsExcelBIServer
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Remove-OfficeWebAppsExcelUserDefinedFunction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Remove-OfficeWebAppsExcelUserDefinedFunction
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Remove-OfficeWebAppsHost.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Remove-OfficeWebAppsHost
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Remove-OfficeWebAppsMachine.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Remove-OfficeWebAppsMachine
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Repair-OfficeWebAppsFarm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Repair-OfficeWebAppsFarm
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Set-OfficeWebAppsExcelUserDefinedFunction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Set-OfficeWebAppsExcelUserDefinedFunction
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Set-OfficeWebAppsFarm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Set-OfficeWebAppsFarm
45
online version:
56
schema: 2.0.0
67
---

officewebapps/officewebapps-ps/officewebapps/Set-OfficeWebAppsMachine.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
external help file:
33
Module Name: officewebapps
4+
title: Set-OfficeWebAppsMachine
45
online version:
56
schema: 2.0.0
67
---

sharepoint/docfx.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,20 @@
5353
"overwrite": [],
5454
"externalReference": [],
5555
"globalMetadata": {
56-
"author" : "kenwith",
57-
"ms.author" : "kenwith",
58-
"ms.date" : "09/25/2017",
56+
"author" : "techwriter40",
57+
"ms.author" : "kirks",
58+
"ms.date" : "11/28/2017",
5959
"ms.topic" : "reference",
60-
"ms.service" : "sharepoint-powershell",
6160
"ms.devlang" : "powershell"
6261
},
63-
"fileMetadata": {},
62+
"fileMetadata": {
63+
"ms.service":{
64+
"sharepoint-online/*.md":"sharepoint-powershell"
65+
},
66+
"ms.prod":{
67+
"sharepoint-server/*.md":"sharepoint-2016-powershell"
68+
}
69+
},
6470
"template": [],
6571
"dest": "sharepoint-ps"
6672
}

sharepoint/docs-conceptual/intro.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

sharepoint/docs-conceptual/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Microsoft PowerShell is a command-line shell and scripting language that provide
44

55
By default, Powershell is located at the following path: <%SystemRoot%>\System32\WindowsPowerShell\v1.0\PowerShell.exe.
66

7-
For a list of SharePoint Server on-premises cmdlets, see [SharePoint Server cmdlets](sharepoint-server.md)
7+
For a list of SharePoint Server on-premises cmdlets, see [SharePoint Server cmdlets](sharepoint-server\sharepoint-server-cmdlets.md)
88

9-
For a list of SharePoint Online cmdlets, see [SharePoint Online cmdlets](sharepoint-online.md)
9+
For a list of SharePoint Online cmdlets, see [SharePoint Online cmdlets](sharepoint-online\sharepoint-online-cmdlets.md)
1010

1111
## Accessing PowerShell for SharePoint Server ##
1212

@@ -30,7 +30,7 @@ Before you can use the Add-SPShellAdmin cmdlet to grant permissions for users to
3030

3131
**NOTE:** If these permissions are not satisfied, contact your Setup administrator or SQL Server administrator to request these permissions.
3232

33-
For additional information about PowerShell permissions, see [Add-SPShellAdmin](Add-SPShellAdmin.md).
33+
For additional information about PowerShell permissions, see [Add-SPShellAdmin](../sharepoint-ps/sharepoint-server/Add-SPShellAdmin.md).
3434

3535
If you do not have membership in the **SharePoint_Shell_Access** role or **WSS_Admin_WPG** local group, use the **Add-SPShellAdmin** cmdlet to add the **WSS_Admin_WPG** group in all front-end web servers in the SharePoint farm and the **SharePoint_Shell_Access** role. If the SQL Server database does not have a **SharePoint_Shell_Access** role, the role is automatically created when you run the **Add-SPShellAdmin** cmdlet. After you run the **Add-SPShellAdmin** cmdlet, users can run SharePoint PowerShell cmdlets in a multiple-server farm environment.
3636

sharepoint/docs-conceptual/sharepoint-online-cmdlets.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Before you get started using PowerShell to manage SharePoint Online, make sure that the SharePoint Online Management Shell is installed and you have connected to SharePoint Online.
2+
3+
Install the SharePoint Online Management Shell by downloading and running the [SharePoint Online Management Shell](https://go.microsoft.com/fwlink/p/?LinkId=255251). You only need to do this once for each computer from which you are running SharePoint Online PowerShell commands.
4+
5+
To open the SharePoint Online Management Shell command prompt, from the **Start** screen, type **sharepoint**, and then click **SharePoint Online Management Shell**.
6+
7+
#### To connect with a user name and password ####
8+
9+
1. Fill in the values for the **$adminUPN** and **$orgName** variables (replacing all the text between the quotes, including the < and > characters), and then run the following commands at the SharePoint Online Management Shell command prompt:
10+
11+
```
12+
$adminUPN="<the full email address of a SharePoint administrator account, example: [email protected]>"
13+
$orgName="<name of your Office 365 organization, example: contosotoycompany>"
14+
$userCredential = Get-Credential -UserName $adminUPN -Message "Type the password."
15+
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCredential
16+
17+
```
18+
19+
2. When prompted with the Windows PowerShell credential request dialog box, type the password for the SharePoint Online SharePoint administrator account.
20+
21+
To make a user account a SharePoint administrator, see [Assign admin roles in Office 365 for business](https://support.office.com/en-us/article/Assign-admin-roles-in-Office-365-for-business-eac4d046-1afd-4f1a-85fc-8219c79e1504?ui=en-US&rs=en-US&ad=US) or [Assign roles to user accounts with Office 365 PowerShell](https://technet.microsoft.com/library/mt736914.aspx).
22+
23+
#### To connect with multifactor authentication (MFA) ####
24+
25+
1. Fill in the value for the **$orgName** variable (replacing all the text between the quotes, including the < and > characters), and then run the following commands at the SharePoint Online Management Shell command prompt:
26+
27+
```
28+
$orgName="<name of your Office 365 organization, example: contosotoycompany>"
29+
Connect-SPOService -Url https://$orgName-admin.sharepoint.com
30+
```
31+
2. When prompted with the **Microsoft SharePoint Online Management Shell** dialog box, type the account name and password for a SharePoint administrator account, and then click **Sign in**.
32+
33+
3. Follow the instructions in the **Microsoft SharePoint Online Management Shell** dialog box to provide the additional authentication information, such as a verification code, and then click **Sign in**.
34+
35+
You are now ready to use SharePoint Online commands.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# What is the SharePoint Online Management Shell? #
2+
3+
The SharePoint Online Management Shell is a Windows PowerShell module that you can use to manage SharePoint Online users, sites, and site collections. Command-line operations in Windows PowerShell are composed of a series of commands. Each command uses a cmdlet and a set of settings known as parameters. For example, you use the **New-SPOSite** cmdlet for a command that creates a new SharePoint Online site with a specified title, URL, owner, storage quota, and template (the parameters).
4+
5+
SharePoint Online PowerShell commands can be very efficient for batch operations — for example, creating a dozen new sites or adding hundreds of new SharePoint Online users to a site. For more information, see [Why you need to use Office 365 PowerShell](https://technet.microsoft.com/library/dn568034.aspx).
6+
7+
#### What is the difference between SharePoint Online PowerShell commands and Office 365 PowerShell commands? ####
8+
9+
The major and obvious difference is the nouns they use. Every SharePoint Online cmdlet will start with SPO as its noun. Conversely, Office 365 will start with MSO as it noun.
10+
11+
The set of SharePoint Online Management Shell commands differs from the set of Office 365 for professionals and small businesses PowerShell commands. SharePoint Online Management Shell commands manage SharePoint Online users and sites, whereas Office 365 commands manage Office 365-level tasks such as users, licenses, organization information, and services. They both manage users and groups. However, Office 365 PowerShell commands manage users and groups for all of the Office 365 services. The SharePoint Online commands manage users and groups only for SharePoint Online.
12+
13+
#### Should I use the SharePoint Online Admin Center or SharePoint Online PowerShell commands? ####
14+
15+
If you are new to Office 365 and SharePoint Online and you have not done much managing of SharePoint sites or users, the SharePoint Online Administration Center is a good place to start.
16+
17+
After you get familiar with SharePoint Online sites and users, try using SharePoint Online commands, especially when you want to manage lots of users, sites, or site collections.
18+
19+
# How do I get permissions and set up the environment? #
20+
21+
To use SharePoint Online PowerShell commands, you must be a SharePoint Online global administrator.
22+
23+
Before you can run SharePoint Online commands, you must install the SharePoint Online Management Shell module and connect to the SharePoint Online service. For more information, see [Connect SharePoint Online](connect-sharepoint-online.md)
24+
25+
26+
27+
28+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#SharePoint Online Cmdlets
2+
3+
For a listing of the SharePoint Online cmdlets, see [SharePoint Online cmdlets](sharepoint-online.md).

0 commit comments

Comments
 (0)