Skip to content

Commit 091cb95

Browse files
Fix $false automatic variable case (#11828)
1 parent e1056e3 commit 091cb95

File tree

92 files changed

+172
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+172
-172
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Data_Sections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ is limited to the following elements:
4747
- All PowerShell operators, except `-match`
4848
- `If`, `Else`, and `ElseIf` statements
4949
- The following automatic variables: `$PsCulture`, `$PsUICulture`, `$True`,
50-
`$False`, and `$Null`
50+
`$false`, and `$Null`
5151
- Comments
5252
- Pipelines
5353
- Statements separated by semicolons (`;`)

reference/5.1/Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ system files and folders, use the **Attributes** parameter.
582582
### NewerThan \<DateTime\>
583583

584584
Returns `$True` when the `LastWriteTime` value of a file is greater than the
585-
specified date. Otherwise, it returns `$False`.
585+
specified date. Otherwise, it returns `$false`.
586586

587587
Enter a [DateTime][01] object, such as one that the [Get-Date][37] cmdlet
588588
returns, or a string that can be converted to a **DateTime** object, such as
@@ -595,7 +595,7 @@ returns, or a string that can be converted to a **DateTime** object, such as
595595
### OlderThan \<DateTime\>
596596

597597
Returns `$True` when the `LastWriteTime` value of a file is less than the
598-
specified date. Otherwise, it returns `$False`.
598+
specified date. Otherwise, it returns `$false`.
599599

600600
Enter a **DateTime** object, such as one that the `Get-Date` cmdlet
601601
returns, or a string that can be converted to a [DateTime][01] object, such as

reference/5.1/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ parameter is used in a command.
413413
By default, all function parameters are positional. PowerShell assigns position
414414
numbers to parameters in the order the parameters are declared in the function.
415415
To disable this feature, set the value of the `PositionalBinding` argument of
416-
the **CmdletBinding** attribute to `$False`. The `Position` argument takes
416+
the **CmdletBinding** attribute to `$false`. The `Position` argument takes
417417
precedence over the value of the `PositionalBinding` argument of the
418418
**CmdletBinding** attribute. For more information, see `PositionalBinding` in
419419
[about_Functions_CmdletBindingAttribute][12].

reference/5.1/Microsoft.PowerShell.Core/About/about_Functions_CmdletBindingAttribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ lists the changes that the command would make, instead of running the command.
175175

176176
The **PositionalBinding** argument determines whether parameters in the
177177
function are positional by default. The default value is `$True`. You can use
178-
the **PositionalBinding** argument with a value of `$False` to disable
178+
the **PositionalBinding** argument with a value of `$false` to disable
179179
positional binding.
180180

181181
The **PositionalBinding** argument is introduced in Windows PowerShell 3.0.
@@ -192,7 +192,7 @@ When **PositionalBinding** is `$True`, function parameters are positional by
192192
default. PowerShell assigns position number to the parameters in the order in
193193
which they are declared in the function.
194194

195-
When **PositionalBinding** is `$False`, function parameters are not positional
195+
When **PositionalBinding** is `$false`, function parameters are not positional
196196
by default. Unless the **Position** argument of the **Parameter** attribute is
197197
declared on the parameter, the parameter name (or an alias or abbreviation)
198198
must be included when the parameter is used in a function.

reference/5.1/Microsoft.PowerShell.Core/About/about_Group_Policy_Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ any PowerShell modules.
6767
If this policy setting isn't configured, the **LogPipelineExecutionDetails**
6868
property of each module determines whether PowerShell logs the execution events
6969
of that module. By default, the **LogPipelineExecutionDetails** property of all
70-
modules is set to `$False`.
70+
modules is set to `$false`.
7171

7272
To turn on module logging for a module, use the following command format. The
7373
module must be imported into the session and the setting is effective only in

reference/5.1/Microsoft.PowerShell.Core/About/about_Language_Modes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ mode:
167167
- `$PSCulture`
168168
- `$PSUICulture`
169169
- `$True`
170-
- `$False`
170+
- `$false`
171171
- `$Null`
172172

173173
Module manifests are loaded in `RestrictedLanguage` mode and may use these

reference/5.1/Microsoft.PowerShell.Core/About/about_Preference_Variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ The following table lists the preference variables and their default values.
3232
| [`$ErrorView`][05] | [`NormalView`][57] |
3333
| [`$FormatEnumerationLimit`][06] | `4` |
3434
| [`$InformationPreference`][07] | [`SilentlyContinue`][54] |
35-
| [`$LogCommandHealthEvent`][08] | `$False` (not logged) |
36-
| [`$LogCommandLifecycleEvent`][08] | `$False` (not logged) |
35+
| [`$LogCommandHealthEvent`][08] | `$false` (not logged) |
36+
| [`$LogCommandLifecycleEvent`][08] | `$false` (not logged) |
3737
| [`$LogEngineHealthEvent`][08] | `$True` (logged) |
3838
| [`$LogEngineLifecycleEvent`][08] | `$True` (logged) |
3939
| [`$LogProviderLifecycleEvent`][08] | `$True` (logged) |
@@ -56,7 +56,7 @@ The following table lists the preference variables and their default values.
5656
| [`$Transcript`][24] | `$Null` (none) |
5757
| [`$VerbosePreference`][25] | [`SilentlyContinue`][54] |
5858
| [`$WarningPreference`][26] | [`Continue`][54] |
59-
| [`$WhatIfPreference`][27] | `$False` |
59+
| [`$WhatIfPreference`][27] | `$false` |
6060

6161
PowerShell includes the following environment variables that store user
6262
preferences. For more information about these environment variables, see

reference/5.1/Microsoft.PowerShell.Core/About/about_Properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ object, the file changes too.
2828
Most objects have properties. Properties are the data that are associated with
2929
an object. Different types of object have different properties. For example, a
3030
**FileInfo** object, which represents a file, has an **IsReadOnly** property
31-
that contains `$True` if the file has the read-only attribute and `$False` if
31+
that contains `$True` if the file has the read-only attribute and `$false` if
3232
it doesn't. A **DirectoryInfo** object, which represents a file system
3333
directory, has a **Parent** property that contains the path to the parent
3434
directory.

reference/5.1/Microsoft.PowerShell.Core/About/about_Splatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ variable in a command with splatting. The At symbol (`@HashArguments`) replaces
7070
the dollar sign (`$HashArguments`) in the command.
7171

7272
To provide a value for the **WhatIf** switch parameter, use `$True` or
73-
`$False`.
73+
`$false`.
7474

7575
```powershell
7676
$HashArguments = @{

reference/5.1/Microsoft.PowerShell.Core/Get-Job.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,21 +548,21 @@ Accept wildcard characters: False
548548
Indicates whether this cmdlet gets only jobs that have the specified **HasMoreData** property value.
549549
The **HasMoreData** property indicates whether all job results have been received in the current
550550
session. To get jobs that have more results, specify a value of `$True`. To get jobs that do not
551-
have more results, specify a value of `$False`.
551+
have more results, specify a value of `$false`.
552552

553553
To get the results of a job, use the `Receive-Job` cmdlet.
554554

555555
When you use the `Receive-Job` cmdlet, it deletes from its in-memory, session-specific storage the
556556
results that it returned. When it has returned all results of the job in the current session, it
557-
sets the value of the **HasMoreData** property of the job to `$False`) to indicate that it has no
557+
sets the value of the **HasMoreData** property of the job to `$false`) to indicate that it has no
558558
more results for the job in the current session. Use the **Keep** parameter of `Receive-Job` to
559559
prevent `Receive-Job` from deleting results and changing the value of the **HasMoreData** property.
560560
For more information, type `Get-Help Receive-Job`.
561561

562562
The **HasMoreData** property is specific to the current session. If results for a custom job type
563563
are saved outside of the session, such as the scheduled job type, which saves job results on disk,
564564
you can use the `Receive-Job` cmdlet in a different session to get the job results again, even if
565-
the value of **HasMoreData** is `$False`. For more information, see the help topics for the custom
565+
the value of **HasMoreData** is `$false`. For more information, see the help topics for the custom
566566
job type.
567567

568568
This parameter was introduced in Windows PowerShell 3.0.

0 commit comments

Comments
 (0)