From 3ce0ec24f11d1fbcae9212d897bd6017fa6992df Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Mon, 1 Sep 2025 06:04:30 -0400 Subject: [PATCH] Fix a few typos --- LICENSE.md | 2 +- reference/5.1/Microsoft.PowerShell.Core/About/About.md | 2 +- reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md | 2 +- reference/7.4/Microsoft.PowerShell.Core/About/about_Trap.md | 2 +- reference/7.4/Microsoft.PowerShell.Utility/Add-Type.md | 2 +- reference/7.5/Microsoft.PowerShell.Core/About/About.md | 2 +- .../7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md | 2 +- reference/7.5/Microsoft.PowerShell.Core/About/about_Trap.md | 2 +- reference/7.5/Microsoft.PowerShell.Utility/Add-Type.md | 2 +- reference/7.6/Microsoft.PowerShell.Core/About/about_Switch.md | 2 +- reference/7.6/Microsoft.PowerShell.Core/About/about_Trap.md | 2 +- reference/7.6/Microsoft.PowerShell.Utility/Add-Type.md | 2 +- .../7.6/Microsoft.PowerShell.Utility/Register-ObjectEvent.md | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 8386abc7b639..94574aed0424 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -41,7 +41,7 @@ licenses. other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. - More_considerations for the public: + More considerations for the public: [wiki.creativecommons.org/Considerations_for_licensors][03] --- diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/About.md b/reference/5.1/Microsoft.PowerShell.Core/About/About.md index def241d6b906..99e072af3e03 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/About.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/About.md @@ -450,7 +450,7 @@ that is passed to it. ### [about_Registry_Provider](about_Registry_Provider.md) -Describes teh features and functions of the Registry provider. +Describes the features and functions of the Registry provider. ### [about_Regular_Expressions](about_Regular_Expressions.md) diff --git a/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md b/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md index 717e1f624acd..4bfa1521fa46 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Add-Computer.md @@ -458,7 +458,7 @@ FQDN format. By default, no domain controller is specified. Beginning in August 2024, security hardening for domain join requires that you use the FQDN of the domain controller. For example: `DC1.contoso.com`. For more information, see -[NetJoin Domain Join Hardning Changes](https://support.microsoft.com/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8). +[NetJoin Domain Join Hardening Changes](https://support.microsoft.com/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8). ```yaml Type: System.String diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Trap.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Trap.md index 9b62de3a3ddd..b0d147f4f059 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Trap.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Trap.md @@ -255,7 +255,7 @@ By default, when a terminating error is thrown, execution transfers to the trap statement. After the `trap` block is run, control returns to the next statement block after the location of the error. -For example, when a terminating error occurs in an `foreach` statement, the +For example, when a terminating error occurs in a `foreach` statement, the `trap` statement is run and execution continues at the next statement after the `foreach` block, not within the `foreach` block. diff --git a/reference/7.4/Microsoft.PowerShell.Utility/Add-Type.md b/reference/7.4/Microsoft.PowerShell.Utility/Add-Type.md index 61fb62728eb3..3ed96b08c374 100644 --- a/reference/7.4/Microsoft.PowerShell.Utility/Add-Type.md +++ b/reference/7.4/Microsoft.PowerShell.Utility/Add-Type.md @@ -624,7 +624,7 @@ them. However, using `Add-Type` is still permitted to allow scripts to be implic any version of PowerShell. Assemblies in the GAC can be loaded by type name, rather than by path. Loading assemblies from an -arbitrary path requires `Add-Type`, since those assemblies can't not be loaded automatically. +arbitrary path requires `Add-Type`, since those assemblies can't be loaded automatically. ## RELATED LINKS diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/About.md b/reference/7.5/Microsoft.PowerShell.Core/About/About.md index 805f8b912fdd..da937c07770b 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/About.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/About.md @@ -460,7 +460,7 @@ that is passed to it. ### [about_Registry_Provider](about_Registry_Provider.md) -Describes teh features and functions of the Registry provider. +Describes the features and functions of the Registry provider. ### [about_Regular_Expressions](about_Regular_Expressions.md) diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md index 9152b870030e..8be5807d460a 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md @@ -68,7 +68,7 @@ handling. `__AllParameterSets` is the name of the default parameter set when an explicit default name is not used. -Setting the `ParameterSetName` of a the **Parameter** attribute to +Setting the `ParameterSetName` of the **Parameter** attribute to `__AllParameterSets` is equivalent to not assigning a `ParameterSetName`. In both cases the parameter belongs to all parameter sets. diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Trap.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Trap.md index 1010787e5dd2..b38eadf81996 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Trap.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Trap.md @@ -255,7 +255,7 @@ By default, when a terminating error is thrown, execution transfers to the trap statement. After the `trap` block is run, control returns to the next statement block after the location of the error. -For example, when a terminating error occurs in an `foreach` statement, the +For example, when a terminating error occurs in a `foreach` statement, the `trap` statement is run and execution continues at the next statement after the `foreach` block, not within the `foreach` block. diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Add-Type.md b/reference/7.5/Microsoft.PowerShell.Utility/Add-Type.md index 50b5863fd4ff..c3bfd5cd1293 100644 --- a/reference/7.5/Microsoft.PowerShell.Utility/Add-Type.md +++ b/reference/7.5/Microsoft.PowerShell.Utility/Add-Type.md @@ -625,7 +625,7 @@ them. However, using `Add-Type` is still permitted to allow scripts to be implic any version of PowerShell. Assemblies in the GAC can be loaded by type name, rather than by path. Loading assemblies from an -arbitrary path requires `Add-Type`, since those assemblies can't not be loaded automatically. +arbitrary path requires `Add-Type`, since those assemblies can't be loaded automatically. ## RELATED LINKS diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Switch.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Switch.md index 526fbf960a7f..36593acc0347 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Switch.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Switch.md @@ -210,7 +210,7 @@ switch ( ([datetime]'1 Jan 1970').DayOfWeek ) { The **DayOfWeek** property of the date object is an enumeration. While enumerations can be compared to their numeric or string values, the `switch` -statement converts the value to a the string representation of the enumeration. +statement converts the value to a string representation of the enumeration. ```Output The string value matches a Thursday. diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Trap.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Trap.md index c053298e6614..bbfa13a1a1a4 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Trap.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Trap.md @@ -255,7 +255,7 @@ By default, when a terminating error is thrown, execution transfers to the trap statement. After the `trap` block is run, control returns to the next statement block after the location of the error. -For example, when a terminating error occurs in an `foreach` statement, the +For example, when a terminating error occurs in a `foreach` statement, the `trap` statement is run and execution continues at the next statement after the `foreach` block, not within the `foreach` block. diff --git a/reference/7.6/Microsoft.PowerShell.Utility/Add-Type.md b/reference/7.6/Microsoft.PowerShell.Utility/Add-Type.md index c76df4275832..7c1a204cf266 100644 --- a/reference/7.6/Microsoft.PowerShell.Utility/Add-Type.md +++ b/reference/7.6/Microsoft.PowerShell.Utility/Add-Type.md @@ -624,7 +624,7 @@ them. However, using `Add-Type` is still permitted to allow scripts to be implic any version of PowerShell. Assemblies in the GAC can be loaded by type name, rather than by path. Loading assemblies from an -arbitrary path requires `Add-Type`, since those assemblies can't not be loaded automatically. +arbitrary path requires `Add-Type`, since those assemblies can't be loaded automatically. ## RELATED LINKS diff --git a/reference/7.6/Microsoft.PowerShell.Utility/Register-ObjectEvent.md b/reference/7.6/Microsoft.PowerShell.Utility/Register-ObjectEvent.md index 688b806faedf..cd6cb7a672dd 100644 --- a/reference/7.6/Microsoft.PowerShell.Utility/Register-ObjectEvent.md +++ b/reference/7.6/Microsoft.PowerShell.Utility/Register-ObjectEvent.md @@ -128,7 +128,7 @@ Finally, we run the `Enable-ProcessCreationEvent` function in the remote session ### Example 4: Use the dynamic module in the PSEventJob object This example shows how to use the dynamic module in the **PSEventJob** object that is created when -you include an **Action** in an event registration. First we create and and enable a timer object, +you include an **Action** in an event registration. First we create and enable a timer object, then set the interval of the timer to 500 (milliseconds). The `Register-ObjectEvent` cmdlet registers the **Elapsed** event of the timer object. The **PSEventJob** object is saved in the `$Job` variable and is also available in the **Action** property of the event subscriber. For more