Skip to content

Commit 0dfece4

Browse files
committed
Added Example and Parameters
1 parent d102f7d commit 0dfece4

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

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

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ schema: 2.0.0
1010
## SYNOPSIS
1111
Tests a SharePoint Online site collection.
1212

13+
1314
## SYNTAX
1415

1516
```
@@ -25,20 +26,22 @@ You must be a SharePoint Online global administrator to run the `Test-SPOSite` c
2526

2627
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).
2728

29+
2830
## EXAMPLES
2931

30-
### ---------------EXAMPLE--------------
32+
### -----------------------EXAMPLE 1-----------------------------
3133
```
32-
PS C:\> {{ Add example code here }}
34+
Test-SPOSite https://contoso.sharepoint.com/sites/marketing
3335
```
3436

35-
{{ Add example description here }}
37+
This example runs all the site collection health checks on the https://contoso.sharepoint.com/sites/marketing site collection.
3638

3739

3840
## PARAMETERS
3941

4042
### -Identity
41-
{{Fill Identity Description}}
43+
Specifies the SharePoint Online site collection to test.
44+
4245

4346
```yaml
4447
Type: SpoSitePipeBind
@@ -54,7 +57,8 @@ Accept wildcard characters: False
5457
```
5558
5659
### -RuleId
57-
{{Fill RuleId Description}}
60+
Specifies the health check rule to run.
61+
5862
5963
```yaml
6064
Type: Guid
@@ -70,7 +74,8 @@ Accept wildcard characters: False
7074
```
7175
7276
### -RunAlways
73-
{{Fill RunAlways Description}}
77+
Displays a message that states the effect of the command instead of executing the command.
78+
7479
7580
```yaml
7681
Type: SwitchParameter

0 commit comments

Comments
 (0)