diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Arrays.md index 30f1be009711..3229c0dc5cbd 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/5.1/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/5.1/Microsoft.PowerShell.Core/About/about_For.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_For.md index f5da57413caa..2f815abae42c 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_For.md +++ b/reference/5.1/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/5.1/Microsoft.PowerShell.Core/About/about_Signing.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Signing.md index c8e87e48edd9..40e2162534d0 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Signing.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Signing.md @@ -23,6 +23,15 @@ This topic explains how to run selected scripts that aren't signed, even while the execution policy is **RemoteSigned**, and how to sign scripts for your own use. +PowerShell checks the Authenticode signature of the following type types: + +- `.ps1` script files +- `.psm1` module files +- `.psd1` module manifest and data files +- `.ps1xml` type and format XML files +- `.cdxml` CDXML script files +- `.xaml` XAML script files + For more information about PowerShell execution policies, see [about_Execution_Policies][01]. diff --git a/reference/5.1/Microsoft.PowerShell.Core/Invoke-Command.md b/reference/5.1/Microsoft.PowerShell.Core/Invoke-Command.md index 7460b08761ad..fa99f3952616 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/Invoke-Command.md +++ b/reference/5.1/Microsoft.PowerShell.Core/Invoke-Command.md @@ -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. diff --git a/reference/5.1/Microsoft.PowerShell.Management/Suspend-Service.md b/reference/5.1/Microsoft.PowerShell.Management/Suspend-Service.md index 84b14eedaae5..658f20de0774 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Suspend-Service.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Suspend-Service.md @@ -40,7 +40,7 @@ Suspend-Service [-PassThru] -DisplayName [-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/5.1/Microsoft.PowerShell.Utility/Out-File.md b/reference/5.1/Microsoft.PowerShell.Utility/Out-File.md index dffb6ea22f85..5d26b9d096ba 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Out-File.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Out-File.md @@ -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. diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Update-TypeData.md b/reference/5.1/Microsoft.PowerShell.Utility/Update-TypeData.md index 15035749e5e2..4591a7d390fe 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Update-TypeData.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Update-TypeData.md @@ -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 diff --git a/reference/5.1/Microsoft.WSMan.Management/Disconnect-WSMan.md b/reference/5.1/Microsoft.WSMan.Management/Disconnect-WSMan.md index de6e4ff11137..94c06b97a5d3 100644 --- a/reference/5.1/Microsoft.WSMan.Management/Disconnect-WSMan.md +++ b/reference/5.1/Microsoft.WSMan.Management/Disconnect-WSMan.md @@ -41,7 +41,7 @@ PS C:\> cd WSMan: PS WSMan:\> dir ``` -```Outpue +```Output WSManConfig: Microsoft.WSMan.Management\WSMan::WSMan ComputerName Type ------------ ---- diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Arrays.md index a693f1093ddd..997d84327c28 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.2/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.2/Microsoft.PowerShell.Core/About/about_For.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_For.md index 0b4d15f2d6eb..75bdb7577079 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_For.md +++ b/reference/7.2/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.2/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md index 83ba381eb990..bc86b4ebda68 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md +++ b/reference/7.2/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.2/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md index 28c8c67fa81c..fa4297ba8ae8 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md +++ b/reference/7.2/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.2/Microsoft.PowerShell.Core/About/about_Pwsh.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Pwsh.md index ee6d46d3b262..765b5869c47b 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Pwsh.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Pwsh.md @@ -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 diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Signing.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Signing.md index e717298c62c1..78a674fa4770 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Signing.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Signing.md @@ -25,6 +25,15 @@ This topic explains how to run selected scripts that aren't signed, even while the execution policy is **RemoteSigned**, and how to sign scripts for your own use. +PowerShell checks the Authenticode signature of the following type types: + +- `.ps1` script files +- `.psm1` module files +- `.psd1` module manifest and data files +- `.ps1xml` type and format XML files +- `.cdxml` CDXML script files +- `.xaml` XAML script files + For more information about PowerShell execution policies, see [about_Execution_Policies][01]. diff --git a/reference/7.2/Microsoft.PowerShell.Core/Invoke-Command.md b/reference/7.2/Microsoft.PowerShell.Core/Invoke-Command.md index b6078a0c5b39..9049c2e471b5 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/Invoke-Command.md +++ b/reference/7.2/Microsoft.PowerShell.Core/Invoke-Command.md @@ -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. diff --git a/reference/7.2/Microsoft.PowerShell.Management/Split-Path.md b/reference/7.2/Microsoft.PowerShell.Management/Split-Path.md index 59837c9ed58e..854f6a75515b 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/Split-Path.md +++ b/reference/7.2/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.2/Microsoft.PowerShell.Utility/Invoke-RestMethod.md b/reference/7.2/Microsoft.PowerShell.Utility/Invoke-RestMethod.md index aa589da365b5..aceb826d4927 100644 --- a/reference/7.2/Microsoft.PowerShell.Utility/Invoke-RestMethod.md +++ b/reference/7.2/Microsoft.PowerShell.Utility/Invoke-RestMethod.md @@ -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. diff --git a/reference/7.2/Microsoft.PowerShell.Utility/Out-File.md b/reference/7.2/Microsoft.PowerShell.Utility/Out-File.md index 01c4c3841b81..c2c9f00cf568 100644 --- a/reference/7.2/Microsoft.PowerShell.Utility/Out-File.md +++ b/reference/7.2/Microsoft.PowerShell.Utility/Out-File.md @@ -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. diff --git a/reference/7.2/Microsoft.PowerShell.Utility/Update-TypeData.md b/reference/7.2/Microsoft.PowerShell.Utility/Update-TypeData.md index 7ac803f9a3ff..06cea4a43a51 100644 --- a/reference/7.2/Microsoft.PowerShell.Utility/Update-TypeData.md +++ b/reference/7.2/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.2/Microsoft.WSMan.Management/Disconnect-WSMan.md b/reference/7.2/Microsoft.WSMan.Management/Disconnect-WSMan.md index 3c6a04da0c45..7748c7e77c6d 100644 --- a/reference/7.2/Microsoft.WSMan.Management/Disconnect-WSMan.md +++ b/reference/7.2/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 ------------ ---- diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md index b770677f2d7d..03385f12ad3c 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Core/About/about_For.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_For.md index cdafa9b6da9e..5aa6d3c2a02a 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_For.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md index fd2e6f3741d1..9154bd0b649d 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Functions_Argument_Completion.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md index 287b8c3b6862..3a7dc16dfbcc 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Core/About/about_Pwsh.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Pwsh.md index d855188801e3..602ca62dfce0 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Pwsh.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Pwsh.md @@ -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 diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Signing.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Signing.md index c78afdaae678..b9e52e1f3445 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Signing.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Signing.md @@ -25,6 +25,15 @@ This topic explains how to run selected scripts that aren't signed, even while the execution policy is **RemoteSigned**, and how to sign scripts for your own use. +PowerShell checks the Authenticode signature of the following type types: + +- `.ps1` script files +- `.psm1` module files +- `.psd1` module manifest and data files +- `.ps1xml` type and format XML files +- `.cdxml` CDXML script files +- `.xaml` XAML script files + For more information about PowerShell execution policies, see [about_Execution_Policies][01]. diff --git a/reference/7.4/Microsoft.PowerShell.Core/Invoke-Command.md b/reference/7.4/Microsoft.PowerShell.Core/Invoke-Command.md index 7d3d80852877..84481932cd0b 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/Invoke-Command.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Management/Split-Path.md b/reference/7.4/Microsoft.PowerShell.Management/Split-Path.md index b63f156283e7..7388e3b2a8f1 100644 --- a/reference/7.4/Microsoft.PowerShell.Management/Split-Path.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Utility/Invoke-RestMethod.md b/reference/7.4/Microsoft.PowerShell.Utility/Invoke-RestMethod.md index ed5deeeb7ec3..08348ea5b971 100644 --- a/reference/7.4/Microsoft.PowerShell.Utility/Invoke-RestMethod.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Utility/Out-File.md b/reference/7.4/Microsoft.PowerShell.Utility/Out-File.md index 2745f34645d0..6d32c6102398 100644 --- a/reference/7.4/Microsoft.PowerShell.Utility/Out-File.md +++ b/reference/7.4/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.4/Microsoft.PowerShell.Utility/Update-TypeData.md b/reference/7.4/Microsoft.PowerShell.Utility/Update-TypeData.md index 2d84274e507b..18ca07b2c592 100644 --- a/reference/7.4/Microsoft.PowerShell.Utility/Update-TypeData.md +++ b/reference/7.4/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.4/Microsoft.WSMan.Management/Disconnect-WSMan.md b/reference/7.4/Microsoft.WSMan.Management/Disconnect-WSMan.md index e306380c2210..65079380eae3 100644 --- a/reference/7.4/Microsoft.WSMan.Management/Disconnect-WSMan.md +++ b/reference/7.4/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 ------------ ---- 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/About/about_Signing.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Signing.md index c76f7b8f4221..bb8fdf4b7a74 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Signing.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Signing.md @@ -25,6 +25,15 @@ This topic explains how to run selected scripts that aren't signed, even while the execution policy is **RemoteSigned**, and how to sign scripts for your own use. +PowerShell checks the Authenticode signature of the following type types: + +- `.ps1` script files +- `.psm1` module files +- `.psd1` module manifest and data files +- `.ps1xml` type and format XML files +- `.cdxml` CDXML script files +- `.xaml` XAML script files + For more information about PowerShell execution policies, see [about_Execution_Policies][01]. 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 ------------ ----