Skip to content

Commit

Permalink
Continuation of PR11493 - copy changes to other versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler committed Oct 28, 2024
1 parent c316717 commit add499e
Show file tree
Hide file tree
Showing 31 changed files with 37 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ Stopped AppIDSvc Application Identity

> [!NOTE]
> Both `ForEach()` and `Where()` methods are intrinsic members. For more
> information about intrinsic members, see [about_Instrinsic_Members][08].
> information about intrinsic members, see [about_Intrinsic_Members][08].
## Get the members of an array

Expand Down
2 changes: 1 addition & 1 deletion reference/5.1/Microsoft.PowerShell.Core/About/about_For.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ the new variables `$sortedOriginal` and `$sortedPadded`. Finally, it uses a
properties:

- **Index** represents the current index in the sorted arrays.
- **Original** is the item in the sorted array of original filenamess at the
- **Original** is the item in the sorted array of original filenames at the
current index.
- **Padded** is the item in the sorted array of padded filenames at the current
index.
Expand Down
2 changes: 1 addition & 1 deletion reference/5.1/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ names and the values are session option values.

> [!NOTE]
> If you specify a hashtable for **SessionOption**, PowerShell converts the hashtable into a
> **System.Management.Autiomation.Remoting.PSSessionOption** object. The values for keys specified
> **System.Management.Automation.Remoting.PSSessionOption** object. The values for keys specified
> in the hashtable are cast to the matching property of the object. This behaves differently from
> calling `New-PSSessionOption`. For example, the **System.TimeSpan** values for the timeout
> properties, like **IdleTimeout**, convert an integer value into ticks instead of milliseconds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Suspend-Service [-PassThru] -DisplayName <String[]> [-Include <String[]>] [-Excl

The `Suspend-Service` cmdlet sends a suspend message to the Windows Service Controller for each of
the specified services. While suspended, the service is still running, but its action is stopped
until resumed, such as by usingthe `Resume-Service` cmdlet. You can specify the services by their
until resumed, such as by using the `Resume-Service` cmdlet. You can specify the services by their
service names or display names, or you can use the **InputObject** parameter to pass a service
object that represents the services that you want to suspend.

Expand Down
2 changes: 1 addition & 1 deletion reference/5.1/Microsoft.PowerShell.Utility/Out-File.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ the file's content in the PowerShell console.
### Example 5: Set file output width for entire scope

This example uses `$PSDefaultParameterValues` to set the `Width` parameter for all invocations of
`Out-File` and the redirection operartors (`>` and `>>`) to 2000. This ensures that everywhere
`Out-File` and the redirection operators (`>` and `>>`) to 2000. This ensures that everywhere
within the current scope that you output table formatted data to file, PowerShell uses a line width
of 2000 instead of a line width determined by the PowerShell host's console width.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ The second command uses the `Update-TypeData` cmdlet to set the default list pro
**DefaultDisplayPropertySet** parameter to specify the default properties for a list. The selected
properties include the new **Quarter** script property that was added in a previous example.

The last command gets the currnet date and displays it in a list format again. It only displays the
The last command gets the current date and displays it in a list format again. It only displays the
properties defined in the `Update-TypeData` command, instead of the full list of properties.

### Example 5: Set the property a type displays in wide format
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ PS C:\> cd WSMan:
PS WSMan:\> dir
```

```Outpue
```Output
WSManConfig: Microsoft.WSMan.Management\WSMan::WSMan
ComputerName Type
------------ ----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ Stopped AppIDSvc Application Identity

> [!NOTE]
> Both `ForEach()` and `Where()` methods are intrinsic members. For more
> information about intrinsic members, see [about_Instrinsic_Members][08].
> information about intrinsic members, see [about_Intrinsic_Members][08].
## Get the members of an array

Expand Down
2 changes: 1 addition & 1 deletion reference/7.2/Microsoft.PowerShell.Core/About/about_For.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ the new variables `$sortedOriginal` and `$sortedPadded`. Finally, it uses a
properties:

- **Index** represents the current index in the sorted arrays.
- **Original** is the item in the sorted array of original filenamess at the
- **Original** is the item in the sorted array of original filenames at the
current index.
- **Padded** is the item in the sorted array of padded filenames at the current
index.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ By deriving from `ArgumentCompleterAttribute`, it's possible to create generic
completers that can be reused, for example:

```powershell
[DirectoryCompleter(ContainingFile="pswh.exe", Depth=2)]
[DirectoryCompleter(ContainingFile="pwsh.exe", Depth=2)]
[DateCompleter(WeekDay='Monday', From="LastYear")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Integer type literals are parsed using the following steps:

1. Determine the radix format
- For binary formats, parse into `[BigInteger]`.
- For hexadecimal formats, parse into `[BigInteger]` using special casies to
- For hexadecimal formats, parse into `[BigInteger]` using special cases to
retain original behaviors when the value is in the `[int]` or `[long]`
range.
- If neither binary nor hex, parse normally as a `[BigInteger]`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ non-Windows platforms results in an error.

### -Version | -v

Displays the version of this PowerShell exectuable. Additional parameters are ignored.
Displays the version of this PowerShell executable. Additional parameters are ignored.

### -WindowStyle | -w

Expand Down
2 changes: 1 addition & 1 deletion reference/7.2/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ names and the values are session option values.

> [!NOTE]
> If you specify a hashtable for **SessionOption**, PowerShell converts the hashtable into a
> **System.Management.Autiomation.Remoting.PSSessionOption** object. The values for keys specified
> **System.Management.Automation.Remoting.PSSessionOption** object. The values for keys specified
> in the hashtable are cast to the matching property of the object. This behaves differently from
> calling `New-PSSessionOption`. For example, the **System.TimeSpan** values for the timeout
> properties, like **IdleTimeout**, convert an integer value into ticks instead of milliseconds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Split-Path -LiteralPath <String[]> [-Resolve] [-Credential <PSCredential>] [<Com
The `Split-Path` cmdlet returns only the specified part of a path, such as the parent folder, a
subfolder, or a filename. It can also get items that are referenced by the split path and tell
whether the path is relative or absolute. If you split a path without specifying any other
parameters, `Split-Path` returs the parent part of the path provided.
parameters, `Split-Path` returns the parent part of the path provided.

The `Split-Path` command returns strings. It doesn't return **FileInfo** or other item objects like
the `*-Item` commands do.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Suspend-Service [-PassThru] -DisplayName <String[]> [-Include <String[]>] [-Excl
The `Suspend-Service` cmdlet sends a suspend message to the Windows Service Controller for each of
the specified services. While suspended, the service is still running, but its action is stopped
until resumed, such as by usingthe `Resume-Service` cmdlet. You can specify the services by their
until resumed, such as by using the `Resume-Service` cmdlet. You can specify the services by their
service names or display names, or you can use the **InputObject** parameter to pass a service
object that represents the services that you want to suspend.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ $x
### Example 7: Skipping Header Validation

By default, the `Invoke-RestMethod` cmdlet validates the values of well-known headers that have a
standardards-defined value format. The following example shows how this validation can raise an
standards-defined value format. The following example shows how this validation can raise an
error and how you can use the **SkipHeaderValidation** parameter to avoid validating values for
endpoints that tolerate invalidly formatted values.

Expand Down
2 changes: 1 addition & 1 deletion reference/7.2/Microsoft.PowerShell.Utility/Out-File.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ the file's content in the PowerShell console.
### Example 5: Set file output width for entire scope

This example uses `$PSDefaultParameterValues` to set the `Width` parameter for all invocations of
`Out-File` and the redirection operartors (`>` and `>>`) to 2000. This ensures that everywhere
`Out-File` and the redirection operators (`>` and `>>`) to 2000. This ensures that everywhere
within the current scope that you output table formatted data to file, PowerShell uses a line width
of 2000 instead of a line width determined by the PowerShell host's console width.

Expand Down
8 changes: 4 additions & 4 deletions reference/7.2/Microsoft.PowerShell.Utility/Update-TypeData.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ The second command uses the `Update-TypeData` cmdlet to set the default list pro
**DefaultDisplayPropertySet** parameter to specify the default properties for a list. The selected
properties include the new **Quarter** script property that was added in a previous example.

The last command gets the currnet date and displays it in a list format again. It only displays the
The last command gets the current date and displays it in a list format again. It only displays the
properties defined in the `Update-TypeData` command, instead of the full list of properties.

### Example 5: Set the property a type displays in wide format
Expand Down Expand Up @@ -306,12 +306,12 @@ Storage\Set-StorageFileServer PowerShellGet\Test-
PowerShellGet\Test-ScriptFileInfo Storage\Unblock-FileShareAccess
PowerShellGet\Update-ScriptFileInfo PowerShellGet\Update-ScriptFileInfo
BitsTransfer\Add-BitsFile AppLocker\Get-AppLockerFileInformation
Microsoft.PowerShell.Utility\Get-FileHash Microsoft.PowerShell.PSResourceGet\Get-PSScriptFileInfo
Microsoft.PowerShell.Utility\Get-FileHash Microsoft.PowerShell.PSResourceGet\Get-PSScriptFileInfo
Microsoft.PowerShell.Utility\Import-PowerShellDataFile Microsoft.PowerShell.Security\New-FileCatalog
Microsoft.PowerShell.Core\New-PSRoleCapabilityFile Microsoft.PowerShell.PSResourceGet\New-PSScriptFileInfo
Microsoft.PowerShell.Core\New-PSRoleCapabilityFile Microsoft.PowerShell.PSResourceGet\New-PSScriptFileInfo
Microsoft.PowerShell.Core\New-PSSessionConfigurationFile Microsoft.PowerShell.Utility\New-TemporaryFile
Microsoft.PowerShell.Utility\Out-File Dism\Set-AppXProvisionedDataFile
Microsoft.PowerShell.Security\Test-FileCatalog Microsoft.PowerShell.PSResourceGet\Test-PSScriptFileInfo
Microsoft.PowerShell.Security\Test-FileCatalog Microsoft.PowerShell.PSResourceGet\Test-PSScriptFileInfo
Microsoft.PowerShell.Core\Test-PSSessionConfigurationFile Microsoft.PowerShell.Utility\Unblock-File
Microsoft.PowerShell.PSResourceGet\Update-PSScriptFileInfo C:\WINDOWS\system32\FileDialogBroker.exe
C:\WINDOWS\system32\FileHistory.exe C:\WINDOWS\system32\forfiles.exe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ PS C:\> cd WSMan:
PS WSMan:\> dir
```

```Outpue
```Output
WSManConfig: Microsoft.WSMan.Management\WSMan::WSMan
ComputerName Type
------------ ----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ Stopped AppIDSvc Application Identity

> [!NOTE]
> Both `ForEach()` and `Where()` methods are intrinsic members. For more
> information about intrinsic members, see [about_Instrinsic_Members][08].
> information about intrinsic members, see [about_Intrinsic_Members][08].
## Get the members of an array

Expand Down
2 changes: 1 addition & 1 deletion reference/7.4/Microsoft.PowerShell.Core/About/about_For.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ the new variables `$sortedOriginal` and `$sortedPadded`. Finally, it uses a
properties:

- **Index** represents the current index in the sorted arrays.
- **Original** is the item in the sorted array of original filenamess at the
- **Original** is the item in the sorted array of original filenames at the
current index.
- **Padded** is the item in the sorted array of padded filenames at the current
index.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ By deriving from `ArgumentCompleterAttribute`, it's possible to create generic
completers that can be reused, for example:

```powershell
[DirectoryCompleter(ContainingFile="pswh.exe", Depth=2)]
[DirectoryCompleter(ContainingFile="pwsh.exe", Depth=2)]
[DateCompleter(WeekDay='Monday', From="LastYear")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Integer type literals are parsed using the following steps:

1. Determine the radix format
- For binary formats, parse into `[BigInteger]`.
- For hexadecimal formats, parse into `[BigInteger]` using special casies to
- For hexadecimal formats, parse into `[BigInteger]` using special cases to
retain original behaviors when the value is in the `[int]` or `[long]`
range.
- If neither binary nor hex, parse normally as a `[BigInteger]`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ non-Windows platforms results in an error.

### -Version | -v

Displays the version of this PowerShell exectuable. Additional parameters are ignored.
Displays the version of this PowerShell executable. Additional parameters are ignored.

### -WindowStyle | -w

Expand Down
2 changes: 1 addition & 1 deletion reference/7.4/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ names and the values are session option values.

> [!NOTE]
> If you specify a hashtable for **SessionOption**, PowerShell converts the hashtable into a
> **System.Management.Autiomation.Remoting.PSSessionOption** object. The values for keys specified
> **System.Management.Automation.Remoting.PSSessionOption** object. The values for keys specified
> in the hashtable are cast to the matching property of the object. This behaves differently from
> calling `New-PSSessionOption`. For example, the **System.TimeSpan** values for the timeout
> properties, like **IdleTimeout**, convert an integer value into ticks instead of milliseconds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Split-Path -LiteralPath <String[]> [-Resolve] [-Credential <PSCredential>] [<Com
The `Split-Path` cmdlet returns only the specified part of a path, such as the parent folder, a
subfolder, or a filename. It can also get items that are referenced by the split path and tell
whether the path is relative or absolute. If you split a path without specifying any other
parameters, `Split-Path` returs the parent part of the path provided.
parameters, `Split-Path` returns the parent part of the path provided.

The `Split-Path` command returns strings. It doesn't return **FileInfo** or other item objects like
the `*-Item` commands do.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Suspend-Service [-PassThru] -DisplayName <String[]> [-Include <String[]>] [-Excl
The `Suspend-Service` cmdlet sends a suspend message to the Windows Service Controller for each of
the specified services. While suspended, the service is still running, but its action is stopped
until resumed, such as by usingthe `Resume-Service` cmdlet. You can specify the services by their
until resumed, such as by using the `Resume-Service` cmdlet. You can specify the services by their
service names or display names, or you can use the **InputObject** parameter to pass a service
object that represents the services that you want to suspend.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ $x
### Example 7: Skipping Header Validation

By default, the `Invoke-RestMethod` cmdlet validates the values of well-known headers that have a
standardards-defined value format. The following example shows how this validation can raise an
standards-defined value format. The following example shows how this validation can raise an
error and how you can use the **SkipHeaderValidation** parameter to avoid validating values for
endpoints that tolerate invalidly formatted values.

Expand Down
2 changes: 1 addition & 1 deletion reference/7.4/Microsoft.PowerShell.Utility/Out-File.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ the file's content in the PowerShell console.
### Example 5: Set file output width for entire scope

This example uses `$PSDefaultParameterValues` to set the `Width` parameter for all invocations of
`Out-File` and the redirection operartors (`>` and `>>`) to 2000. This ensures that everywhere
`Out-File` and the redirection operators (`>` and `>>`) to 2000. This ensures that everywhere
within the current scope that you output table formatted data to file, PowerShell uses a line width
of 2000 instead of a line width determined by the PowerShell host's console width.

Expand Down
8 changes: 4 additions & 4 deletions reference/7.4/Microsoft.PowerShell.Utility/Update-TypeData.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ The second command uses the `Update-TypeData` cmdlet to set the default list pro
**DefaultDisplayPropertySet** parameter to specify the default properties for a list. The selected
properties include the new **Quarter** script property that was added in a previous example.

The last command gets the currnet date and displays it in a list format again. It only displays the
The last command gets the current date and displays it in a list format again. It only displays the
properties defined in the `Update-TypeData` command, instead of the full list of properties.

### Example 5: Set the property a type displays in wide format
Expand Down Expand Up @@ -306,12 +306,12 @@ Storage\Set-StorageFileServer PowerShellGet\Test-
PowerShellGet\Test-ScriptFileInfo Storage\Unblock-FileShareAccess
PowerShellGet\Update-ScriptFileInfo PowerShellGet\Update-ScriptFileInfo
BitsTransfer\Add-BitsFile AppLocker\Get-AppLockerFileInformation
Microsoft.PowerShell.Utility\Get-FileHash Microsoft.PowerShell.PSResourceGet\Get-PSScriptFileInfo
Microsoft.PowerShell.Utility\Get-FileHash Microsoft.PowerShell.PSResourceGet\Get-PSScriptFileInfo
Microsoft.PowerShell.Utility\Import-PowerShellDataFile Microsoft.PowerShell.Security\New-FileCatalog
Microsoft.PowerShell.Core\New-PSRoleCapabilityFile Microsoft.PowerShell.PSResourceGet\New-PSScriptFileInfo
Microsoft.PowerShell.Core\New-PSRoleCapabilityFile Microsoft.PowerShell.PSResourceGet\New-PSScriptFileInfo
Microsoft.PowerShell.Core\New-PSSessionConfigurationFile Microsoft.PowerShell.Utility\New-TemporaryFile
Microsoft.PowerShell.Utility\Out-File Dism\Set-AppXProvisionedDataFile
Microsoft.PowerShell.Security\Test-FileCatalog Microsoft.PowerShell.PSResourceGet\Test-PSScriptFileInfo
Microsoft.PowerShell.Security\Test-FileCatalog Microsoft.PowerShell.PSResourceGet\Test-PSScriptFileInfo
Microsoft.PowerShell.Core\Test-PSSessionConfigurationFile Microsoft.PowerShell.Utility\Unblock-File
Microsoft.PowerShell.PSResourceGet\Update-PSScriptFileInfo C:\WINDOWS\system32\FileDialogBroker.exe
C:\WINDOWS\system32\FileHistory.exe C:\WINDOWS\system32\forfiles.exe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ PS C:\> cd WSMan:
PS WSMan:\> dir
```

```Outpue
```Output
WSManConfig: Microsoft.WSMan.Management\WSMan::WSMan
ComputerName Type
------------ ----
Expand Down

0 comments on commit add499e

Please sign in to comment.