Skip to content

Commit 307b72b

Browse files
committed
Update Get-SPContentDatabase.md
1 parent 00650ec commit 307b72b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Get-SPContentDatabase.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ Get-SPContentDatabase -Site <SPSitePipeBind> [-AssignmentCollection <SPAssignmen
3232
Get-SPContentDatabase -WebApplication <SPWebApplicationPipeBind>
3333
[-AssignmentCollection <SPAssignmentCollection>] [-NoStatusFilter] [<CommonParameters>]
3434
```
35+
### ContentDatabasesSinceLastProfileSync
36+
```
37+
Get-SPContentDatabase -DaysSinceLastProfileSync <Int32> [-NoStatusFilter]
38+
[-AssignmentCollection <SPAssignmentCollection>] [<CommonParameters>]
39+
```
3540

3641
### Unattached
3742
```
@@ -64,6 +69,12 @@ PS C:\>Get-SPContentDatabase -Site http://siteUrl
6469

6570
This example returns the content database that contains the site collection at http://siteUrl.
6671

72+
### ----------------EXAMPLE 3------------
73+
```
74+
PS C:\>Get-SPContentDatabase -DaysSinceLastProfileSync 7
75+
```
76+
This example returns all content databases that were last synchronized with the User Profile service 7 or more days ago. Content databases that were last synchronized with the User Profile service less than 7 days ago would not be returned.
77+
6778
## PARAMETERS
6879

6980
### -Identity
@@ -203,6 +214,21 @@ Default value: None
203214
Accept pipeline input: False
204215
Accept wildcard characters: False
205216
```
217+
### -DaysSinceLastProfileSync
218+
Specifies the minimum number of days since the User Profile service last synchronized the content database.
219+
220+
```yaml
221+
Type: Int32
222+
Parameter Sets: ContentDatabasesSinceLastProfileSync
223+
Aliases:
224+
225+
Required: True
226+
Position: Named
227+
Default value: None
228+
Accept pipeline input: True (ByValue)
229+
Accept wildcard characters: False
230+
```
231+
206232
207233
### -NoStatusFilter
208234
Specifies whether a status filter is turned on.

0 commit comments

Comments
 (0)