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
Gets the progress of the site manage version policy job for the given site.
38
+
39
+
## PARAMETERS
40
+
41
+
### -Identity
42
+
43
+
> Applicable: SharePoint Online
44
+
45
+
Specifies the URL of the site collection.
46
+
47
+
```yaml
48
+
Type: SpoSitePipeBind
49
+
Parameter Sets: (All)
50
+
Aliases:
51
+
52
+
Required: True
53
+
Position: 0
54
+
Default value: None
55
+
Accept pipeline input: True (ByValue)
56
+
Accept wildcard characters: False
57
+
```
58
+
59
+
### CommonParameters
60
+
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).
Example 4 starts a trim job that will delete file versions in the document library called "Documents" based on the version history limits of the document library.
Example 5 starts a trim job that will delete file versions for video and audio file types, and file versions that do not belong to a file type override in the document library based on the version history limits of the document library.
Example 6 starts a trim job that will delete file versions for video and audio file types in the document library based on the version history limits of the document library.
101
+
72
102
## PARAMETERS
73
103
74
104
### -Automatic
@@ -101,6 +131,45 @@ Accept pipeline input: False
101
131
Accept wildcard characters: False
102
132
```
103
133
134
+
### -ExcludeDefaultPolicy
135
+
Indicates whether to trim versions based on the default version history limits.
136
+
137
+
> [!NOTE]
138
+
> This feature is currently in preview and may not be available in your tenant.
139
+
140
+
```yaml
141
+
Type: SwitchParameter
142
+
Parameter Sets: ByPolicy
143
+
Aliases:
144
+
145
+
Required: False
146
+
Position: Named
147
+
Default value: None
148
+
Accept pipeline input: False
149
+
Accept wildcard characters: False
150
+
```
151
+
152
+
### -FileTypes
153
+
An array of file type names to trim versions. The supported file type names are:
154
+
- Audio
155
+
- OutlookPST
156
+
- Video
157
+
158
+
> [!NOTE]
159
+
> This feature is currently in preview and may not be available in your tenant.
160
+
161
+
```yaml
162
+
Type: String[]
163
+
Parameter Sets: ByPolicy
164
+
Aliases:
165
+
166
+
Required: False
167
+
Position: Named
168
+
Default value: None
169
+
Accept pipeline input: False
170
+
Accept wildcard characters: False
171
+
```
172
+
104
173
### -List
105
174
106
175
The document library name or Id.
@@ -180,6 +249,24 @@ Accept pipeline input: False
180
249
Accept wildcard characters: False
181
250
```
182
251
252
+
### -TrimUseListPolicy
253
+
Indicates whether to trim versions by applying the document library's version history limits.
254
+
255
+
> [!NOTE]
256
+
> This feature is currently in preview and may not be available in your tenant.
0 commit comments