From 6f3a3cd7a9da1551e65d10da716ba639835b338b Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Sun, 27 Oct 2024 21:13:32 +0100 Subject: [PATCH] Spelling on 7.5 --- .../7.5/Microsoft.PowerShell.Core/About/about_Arrays.md | 2 +- .../7.5/Microsoft.PowerShell.Core/About/about_For.md | 2 +- .../About/about_Functions_Argument_Completion.md | 2 +- .../About/about_Numeric_Literals.md | 2 +- .../7.5/Microsoft.PowerShell.Core/About/about_Pwsh.md | 2 +- reference/7.5/Microsoft.PowerShell.Core/Invoke-Command.md | 2 +- .../7.5/Microsoft.PowerShell.Management/Split-Path.md | 2 +- .../Microsoft.PowerShell.Management/Suspend-Service.md | 2 +- .../7.5/Microsoft.PowerShell.Utility/Invoke-RestMethod.md | 2 +- reference/7.5/Microsoft.PowerShell.Utility/Out-File.md | 2 +- .../7.5/Microsoft.PowerShell.Utility/Update-TypeData.md | 8 ++++---- .../7.5/Microsoft.WSMan.Management/Disconnect-WSMan.md | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md index d219244814a1..ec7d84f41b29 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -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 diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_For.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_For.md index f76bf7c4d04a..33d797406447 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_For.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_For.md @@ -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. diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md index 63c40958bf60..54d54a355120 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md @@ -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")] diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md index a03e2214a5a1..aa44f252faa2 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md @@ -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]`. diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Pwsh.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Pwsh.md index 72e7174078fd..23d1e10959e9 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Pwsh.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Pwsh.md @@ -407,7 +407,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 diff --git a/reference/7.5/Microsoft.PowerShell.Core/Invoke-Command.md b/reference/7.5/Microsoft.PowerShell.Core/Invoke-Command.md index cd0708227fe9..05695b0a304d 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/Invoke-Command.md +++ b/reference/7.5/Microsoft.PowerShell.Core/Invoke-Command.md @@ -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. diff --git a/reference/7.5/Microsoft.PowerShell.Management/Split-Path.md b/reference/7.5/Microsoft.PowerShell.Management/Split-Path.md index c01b8d092b0a..2b3684c39584 100644 --- a/reference/7.5/Microsoft.PowerShell.Management/Split-Path.md +++ b/reference/7.5/Microsoft.PowerShell.Management/Split-Path.md @@ -74,7 +74,7 @@ Split-Path -LiteralPath [-Resolve] [-Credential ] [ [-Include ] [-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. diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Invoke-RestMethod.md b/reference/7.5/Microsoft.PowerShell.Utility/Invoke-RestMethod.md index ef2cf9b39a7c..bced273a9e70 100644 --- a/reference/7.5/Microsoft.PowerShell.Utility/Invoke-RestMethod.md +++ b/reference/7.5/Microsoft.PowerShell.Utility/Invoke-RestMethod.md @@ -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. diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Out-File.md b/reference/7.5/Microsoft.PowerShell.Utility/Out-File.md index cc9a782f99d0..982484549617 100644 --- a/reference/7.5/Microsoft.PowerShell.Utility/Out-File.md +++ b/reference/7.5/Microsoft.PowerShell.Utility/Out-File.md @@ -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. diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Update-TypeData.md b/reference/7.5/Microsoft.PowerShell.Utility/Update-TypeData.md index 950d197d3429..0e36e8f8ba23 100644 --- a/reference/7.5/Microsoft.PowerShell.Utility/Update-TypeData.md +++ b/reference/7.5/Microsoft.PowerShell.Utility/Update-TypeData.md @@ -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 @@ -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 diff --git a/reference/7.5/Microsoft.WSMan.Management/Disconnect-WSMan.md b/reference/7.5/Microsoft.WSMan.Management/Disconnect-WSMan.md index 786d1e31fcbc..2610af68047b 100644 --- a/reference/7.5/Microsoft.WSMan.Management/Disconnect-WSMan.md +++ b/reference/7.5/Microsoft.WSMan.Management/Disconnect-WSMan.md @@ -43,7 +43,7 @@ PS C:\> cd WSMan: PS WSMan:\> dir ``` -```Outpue +```Output WSManConfig: Microsoft.WSMan.Management\WSMan::WSMan ComputerName Type ------------ ----