Skip to content

Commit 39f7be1

Browse files
author
blarrywang
committed
Merge branch 'docs-editor/Set-SPOTenant-1755022729' of https://github.com/blarrywangmsft/OfficeDocs-SharePoint-PowerShell into docs-editor/Set-SPOTenant-1755022729
2 parents a80a1a2 + 6e83ced commit 39f7be1

File tree

6 files changed

+33
-27
lines changed

6 files changed

+33
-27
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOListFileVersionBatchDeleteJob.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,13 @@ An array of file type names to trim versions. The supported file type names are:
171171
- OutlookPST
172172
- Video
173173
174+
<<<<<<< HEAD
175+
=======
176+
177+
178+
179+
180+
>>>>>>> 6e83ced68a482707018e763b6d17dbe1d5ae7ee5
174181
```yaml
175182
Type: String[]
176183
Parameter Sets: ByPolicy

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOSiteManageVersionPolicyJob.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ New-SPOSiteManageVersionPolicyJob [-Identity] <SpoSitePipeBind> [-FileTypes <Str
3636
## DESCRIPTION
3737
Starts a background job that does one or more of the following:
3838

39-
- set the version history limits of all document libraries to that of the site;
39+
- sets the version history limits of all document libraries to that of the site;
4040

4141
- trims version in all document libraries according to each list's version history limits.
4242

@@ -53,7 +53,7 @@ This effect can be applied to default version history limits, or a set of file t
5353
### Example 1
5454

5555
```powershell
56-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -FileTypes @("Video","Audio")
56+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -FileTypes @("Video","Audio")
5757
```
5858

5959
Apply the site video, audio, and default version history limits to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits.
@@ -62,7 +62,7 @@ Apply the site video, audio, and default version history limits to existing docu
6262

6363

6464
```powershell
65-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -FileTypes @("Video","Audio") -ExcludeDefaultPolicy
65+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -FileTypes @("Video","Audio") -ExcludeDefaultPolicy
6666
```
6767

6868
Apply the site video, audio version history limits to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits.
@@ -71,7 +71,7 @@ Apply the site video, audio version history limits to existing document librarie
7171

7272

7373
```powershell
74-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -FileTypes @()
74+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -FileTypes @()
7575
```
7676

7777
Apply the site default version history limits to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits.
@@ -80,7 +80,7 @@ Apply the site default version history limits to existing document libraries. If
8080

8181

8282
```powershell
83-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy
83+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy
8484
```
8585

8686
Apply the site version history limits (including file type overrides) to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits.
@@ -89,15 +89,15 @@ Apply the site version history limits (including file type overrides) to existin
8989

9090

9191
```powershell
92-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -ExcludeDefaultPolicy
92+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -ExcludeDefaultPolicy
9393
```
9494

95-
Apply the site level all file type version history limit overrides to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits.
95+
Apply all site file type version history limit overrides to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits.
9696

9797
### Example 6
9898

9999
```powershell
100-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -TrimUseListPolicy -FileTypes @("Video","Audio")
100+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -TrimUseListPolicy -FileTypes @("Video","Audio")
101101
```
102102

103103
Trim video and audio file versions, and the file versions that don't have a file type override, based on each document library's version history limits.
@@ -106,7 +106,7 @@ Trim video and audio file versions, and the file versions that don't have a file
106106

107107

108108
```powershell
109-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -TrimUseListPolicy -FileTypes @("Video","Audio") -ExcludeDefaultPolicy
109+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -TrimUseListPolicy -FileTypes @("Video","Audio") -ExcludeDefaultPolicy
110110
```
111111

112112
Trim video and audio file versions based on each document library's version history limits.
@@ -115,7 +115,7 @@ Trim video and audio file versions based on each document library's version hist
115115

116116

117117
```powershell
118-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -TrimUseListPolicy -FileTypes @()
118+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -TrimUseListPolicy -FileTypes @()
119119
```
120120

121121
Trim file versions that don't have a file type override based on each document library's version history limits.
@@ -124,7 +124,7 @@ Trim file versions that don't have a file type override based on each document l
124124

125125

126126
```powershell
127-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -TrimUseListPolicy
127+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -TrimUseListPolicy
128128
```
129129

130130
Trim all file versions based on each document library's version history limits.
@@ -133,7 +133,7 @@ Trim all file versions based on each document library's version history limits.
133133

134134

135135
```powershell
136-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -TrimUseListPolicy -ExcludeDefaultPolicy
136+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -TrimUseListPolicy -ExcludeDefaultPolicy
137137
```
138138

139139
Trim all file versions that have a file type override based on each document library's version history limits.
@@ -142,7 +142,7 @@ Trim all file versions that have a file type override based on each document lib
142142
### Example 11
143143

144144
```powershell
145-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -FileTypes @("Video","Audio")
145+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -FileTypes @("Video","Audio")
146146
```
147147

148148
Apply the site video, audio, and default version history limits to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits. Then trim video and audio file versions, and the file versions that don't have a file type override, based on each document library's version history limits.
@@ -151,7 +151,7 @@ Apply the site video, audio, and default version history limits to existing docu
151151

152152

153153
```powershell
154-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -TrimUseListPolicy -FileTypes @("Video","Audio") -ExcludeDefaultPolicy
154+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -TrimUseListPolicy -FileTypes @("Video","Audio") -ExcludeDefaultPolicy
155155
```
156156

157157
Apply the site video, audio version history limits to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits. Then trim video and audio file versions based on each document library's version history limits.
@@ -160,7 +160,7 @@ Apply the site video, audio version history limits to existing document librarie
160160

161161

162162
```powershell
163-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -TrimUseListPolicy -FileTypes @()
163+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -TrimUseListPolicy -FileTypes @()
164164
```
165165

166166
Apply the site default version history limits to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits. Then trim file versions that don't have a file type override based on each document library's version history limits.
@@ -169,7 +169,7 @@ Apply the site default version history limits to existing document libraries. If
169169

170170

171171
```powershell
172-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -TrimUseListPolicy
172+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -TrimUseListPolicy
173173
```
174174

175175
Apply the site version history limits (including file type overrides) to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits. Then trim all file versions based on each document library's version history limits.
@@ -178,10 +178,10 @@ Apply the site version history limits (including file type overrides) to existin
178178

179179

180180
```powershell
181-
New-SPOSiteManageVersionPolicyJob -Identity $siteUrl -SyncListPolicy -TrimUseListPolicy -ExcludeDefaultPolicy
181+
New-SPOSiteManageVersionPolicyJob -Identity https://contoso.sharepoint.com/sites/site1 -SyncListPolicy -TrimUseListPolicy -ExcludeDefaultPolicy
182182
```
183183

184-
Apply the site level all file type version history limit overrides to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits. Then trim all file versions that have a file type override based on each document library's version history limits.
184+
Apply all site file type version history limit overrides to existing document libraries. If the site is not broken inheritance for version history limits, then it applies the tenant version history limits. Then trim all file versions that have a file type override based on each document library's version history limits.
185185

186186
## PARAMETERS
187187

@@ -237,7 +237,9 @@ Accept wildcard characters: False
237237
```
238238
239239
### -Identity
240-
{{ Fill Identity Description }}
240+
> Applicable: SharePoint Online
241+
242+
Specifies the URL of the site collection.
241243
242244
```yaml
243245
Type: SpoSitePipeBind

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOSiteManageVersionPolicyJob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Stops processing of the in-progress manage version policy job for the given site
3636
Remove-SPOSiteFileVersionBatchDeleteJob -Identity https://contoso.sharepoint.com/sites/site1
3737
```
3838

39-
Stops further processing of site manage version policy job
39+
Stops further processing of site manage version policy job.
4040

4141
## PARAMETERS
4242

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOListVersionPolicy.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,7 @@ Accept wildcard characters: False
294294
```
295295

296296
### -RemoveVersionExpirationFileTypeOverride
297-
An array of file type names. Removes the version history limits to a set of file types so that they will follow the default version history limits.
298-
299-
297+
An array of file type names. Removes the version history limit override from a set of file types so that they will follow the default version history limits.
300298

301299
```yaml
302300
Type: String[]

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOSite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-InformationBarriersMode <String>] [-
157157

158158
```
159159
Set-SPOSite [-Identity] <SpoSitePipeBind> [-InformationBarriersMode <String>] [-ApplyToNewDocumentLibraries]
160-
[-RemoveVersionExpirationFileTypeOverride <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
160+
-RemoveVersionExpirationFileTypeOverride <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
161161
```
162162

163163
### ClearGroupId
@@ -1808,7 +1808,7 @@ Type: String[]
18081808
Parameter Sets: RemoveSiteFileVersionPolicy
18091809
Aliases:
18101810
1811-
Required: False
1811+
Required: True
18121812
Position: Named
18131813
Default value: None
18141814
Accept pipeline input: False

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4507,10 +4507,9 @@ Accept wildcard characters: False
45074507

45084508
### -RemoveVersionExpirationFileTypeOverride
45094509

4510-
An array of file type names. Removes the version history limits to a set of file types so that they will follow the default version history limits.
4510+
An array of file type names. Removes the version history limit override from a set of file types so that they will follow the default version history limits.
45114511

45124512
The version history limits are applied on new document libraries in the tenant.
4513-
45144513
> [!NOTE]
45154514
> This feature is currently in preview and may not be available in your tenant.
45164515

0 commit comments

Comments
 (0)