Skip to content

Commit 7304e43

Browse files
committed
Added Examples and Parameters
1 parent 0dfece4 commit 7304e43

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Upgrade-SPOSite.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ schema: 2.0.0
1010
## SYNOPSIS
1111
Starts the upgrade process on a site collection.
1212

13+
1314
## SYNTAX
1415

1516
```
@@ -29,21 +30,30 @@ You must be a SharePoint Online global administrator and a site collection admin
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

34-
### -----------EXAMPLE---------
36+
### -----------------------EXAMPLE 1-----------------------------
37+
```
38+
Upgrade-SPOSite -Identity https://contoso.sharepoint.com/sites/marketing
39+
```
40+
41+
Example 1 runs a build-to-build upgrade of the existing site collection https://contoso.sharepoint.com/sites/marketing. The CompatibilityLevel property associated with the site collection is not changed by this operation. For more information about CompatibilityLevel, see `New-SPOSite`.
42+
43+
### -----------------------EXAMPLE 2-----------------------------
3544
```
36-
PS C:\> {{ Add example code here }}
45+
Upgrade-SPOSite -Identity https://contoso.sharepoint.com/sites/marketing -VersionUpgrade
3746
```
3847

39-
{{ Add example description here }}
48+
Example 2 runs a version-to-version upgrade of the existing site collection https://contoso.sharepoint.com/sites/marketing. The CompatibilityLevel property associated with the site collection is changed to a value of SharePoint 2013 by this operation. For more information about CompatibilityLevel, see `New-SPOSite`.
4049

4150

4251
## PARAMETERS
4352

4453
### -Confirm
4554
Prompts you for confirmation before running the cmdlet.
4655

56+
4757
```yaml
4858
Type: SwitchParameter
4959
Parameter Sets: (All)
@@ -58,7 +68,8 @@ Accept wildcard characters: False
5868
```
5969
6070
### -Identity
61-
{{Fill Identity Description}}
71+
Specifies the SharePoint Online site collection to upgrade.
72+
6273
6374
```yaml
6475
Type: SpoSitePipeBind
@@ -74,7 +85,8 @@ Accept wildcard characters: False
7485
```
7586
7687
### -NoEmail
77-
{{Fill NoEmail Description}}
88+
Specifies that the system not send the requester and site collection administrators a notification e-mail message at the end of the upgrade process.
89+
7890
7991
```yaml
8092
Type: SwitchParameter
@@ -90,7 +102,8 @@ Accept wildcard characters: False
90102
```
91103
92104
### -QueueOnly
93-
{{Fill QueueOnly Description}}
105+
Adds the site collection to the upgrade queue. The upgrade does not occur immediately.
106+
94107
95108
```yaml
96109
Type: SwitchParameter
@@ -106,7 +119,8 @@ Accept wildcard characters: False
106119
```
107120
108121
### -VersionUpgrade
109-
{{Fill VersionUpgrade Description}}
122+
Specifies whether to perform a version-to-version upgrade on the site collection. When this parameter is set, it internally triggers any available build-to-build upgrade associated with the current site collection operating mode and continues with version-to-version upgrade. When this parameter is not set, it triggers only build-to-build upgrade on the site collection.
123+
110124
111125
```yaml
112126
Type: SwitchParameter

0 commit comments

Comments
 (0)