Skip to content

Commit f470d7f

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

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

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

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,27 @@ For permissions and the most current information about Windows PowerShell for Sh
3333

3434
## EXAMPLES
3535

36-
### ----------------------EXAMPLE-----------------------
36+
### -----------------------EXAMPLE 1-----------------------------
3737
```
38-
PS C:\> {{ Add example code here }}
38+
Repair-SPOSite https://contoso.sharepoint.com/sites/marketing
3939
```
4040

41-
{{ Add example description here }}
41+
This example runs all the site collection health checks in repair mode on the https://contoso.sharepoint.com/sites/marketing site collection.
42+
43+
### -----------------------EXAMPLE 2-----------------------------
44+
```
45+
Repair-SPOSite https://contoso.sharepoint.com/sites/marketing -RuleID "ee967197-ccbe-4c00-88e4-e6fab81145e1"
46+
```
47+
48+
This example runs the Missing Galleries Check rule in repair mode on the https://contoso.sharepoint.com/sites/marketing site collection.
4249

4350

4451
## PARAMETERS
4552

4653
### -Confirm
4754
Prompts you for confirmation before running the cmdlet.
4855

56+
4957
```yaml
5058
Type: SwitchParameter
5159
Parameter Sets: (All)
@@ -60,7 +68,8 @@ Accept wildcard characters: False
6068
```
6169
6270
### -Identity
63-
{{Fill Identity Description}}
71+
Specifies the SharePoint Online site collection on which to run the repairs.
72+
6473
6574
```yaml
6675
Type: SpoSitePipeBind
@@ -76,7 +85,8 @@ Accept wildcard characters: False
7685
```
7786
7887
### -RuleId
79-
{{Fill RuleId Description}}
88+
Specifies a health check rule to run.
89+
8090
8191
```yaml
8292
Type: Guid
@@ -92,7 +102,8 @@ Accept wildcard characters: False
92102
```
93103
94104
### -RunAlways
95-
{{Fill RunAlways Description}}
105+
Displays a message that explains the effect of the command instead of executing the command.
106+
96107
97108
```yaml
98109
Type: SwitchParameter

0 commit comments

Comments
 (0)