Skip to content

Commit

Permalink
1 Typo Fix (#11194)
Browse files Browse the repository at this point in the history
Fixed 1 typo: $Error[($Error.Count -1]
  • Loading branch information
InvalidAccountNameEntered committed Jun 17, 2024
1 parent 31d3f5f commit f4fa34a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Variables that customize the behavior of PowerShell.
Locale: en-US
ms.date: 04/06/2024
ms.date: 06/17/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about Preference Variables
Expand Down Expand Up @@ -812,7 +812,7 @@ $Error[0]
To display the oldest retained error, type:

```powershell
$Error[($Error.Count -1]
$Error[-1]
```

The **Force** parameter overrides the special formatting of **ErrorRecord**
Expand Down

0 comments on commit f4fa34a

Please sign in to comment.