File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed
sharepoint/sharepoint-ps/sharepoint-online Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,27 @@ For permissions and the most current information about Windows PowerShell for Sh
33
33
34
34
## EXAMPLES
35
35
36
- ### ----------------------EXAMPLE-----------------------
36
+ ### ----------------------- EXAMPLE 1------ -----------------------
37
37
```
38
- PS C:\> {{ Add example code here }}
38
+ Repair-SPOSite https://contoso.sharepoint.com/sites/marketing
39
39
```
40
40
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.
42
49
43
50
44
51
## PARAMETERS
45
52
46
53
### -Confirm
47
54
Prompts you for confirmation before running the cmdlet.
48
55
56
+
49
57
``` yaml
50
58
Type : SwitchParameter
51
59
Parameter Sets : (All)
@@ -60,7 +68,8 @@ Accept wildcard characters: False
60
68
` ` `
61
69
62
70
### -Identity
63
- {{Fill Identity Description}}
71
+ Specifies the SharePoint Online site collection on which to run the repairs.
72
+
64
73
65
74
` ` ` yaml
66
75
Type : SpoSitePipeBind
@@ -76,7 +85,8 @@ Accept wildcard characters: False
76
85
` ` `
77
86
78
87
### -RuleId
79
- {{Fill RuleId Description}}
88
+ Specifies a health check rule to run.
89
+
80
90
81
91
` ` ` yaml
82
92
Type : Guid
@@ -92,7 +102,8 @@ Accept wildcard characters: False
92
102
` ` `
93
103
94
104
### -RunAlways
95
- {{Fill RunAlways Description}}
105
+ Displays a message that explains the effect of the command instead of executing the command.
106
+
96
107
97
108
` ` ` yaml
98
109
Type : SwitchParameter
You can’t perform that action at this time.
0 commit comments