Skip to content

Commit 69b6a15

Browse files
authored
Merge pull request MicrosoftDocs#6589 from get-itips/patch-258
Correcting desc and adding example
2 parents 9df2a12 + 24a0f87 commit 69b6a15

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOAppErrors.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ Get-SPOAppErrors -ProductId ba51729b-e017-409d-681a-66f1dd18f0f4
4848

4949
This example returns a collection of monitoring error message(s) for application whose GUID is ba51729b-e017-409d-681a-66f1dd18f0f4.
5050

51+
### ------------ Example 2 --------------------
52+
53+
```powershell
54+
Get-SPOAppErrors -ProductId ba51729b-e017-409d-681a-66f1dd18f0f4 -StartTimeInUtc (Get-Date).AddHours(-1).ToUniversalTime()
55+
```
56+
57+
This example returns a collection of monitoring error message(s) for application whose GUID is ba51729b-e017-409d-681a-66f1dd18f0f4 in the last hour.
58+
5159
## PARAMETERS
5260

5361
### -EndTimeInUtc
@@ -86,7 +94,7 @@ Accept wildcard characters: False
8694
8795
### -StartTimeInUtc
8896
89-
Specifies the start time in UTC to search for monitoring errors (for example, 01032011:12:00). If no start time is given, the default value 72 hours before the current time is used.
97+
Specifies the start time in UTC to search for monitoring errors. If no start time is given, the default value 72 hours before the current time is used.
9098
9199
```yaml
92100
Type: DateTime

0 commit comments

Comments
 (0)