From 5694c3be6b1a611877f76b67e3e0f8272c67c109 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 12 Sep 2022 16:29:52 -0500 Subject: [PATCH] Fix overlocalization of language elements --- .../About/about_Language_Modes.md | 109 ++++++++-------- .../About/about_Line_Editing.md | 15 ++- .../About/about_Numeric_Literals.md | 27 ++-- .../About/about_Output_Streams.md | 3 +- .../About/about_Language_Modes.md | 119 +++++++++--------- .../About/about_Line_Editing.md | 15 ++- .../About/about_Numeric_Literals.md | 41 +++--- .../About/about_Output_Streams.md | 3 +- .../About/about_Language_Modes.md | 119 +++++++++--------- .../About/about_Line_Editing.md | 15 ++- .../About/about_Numeric_Literals.md | 41 +++--- .../About/about_Output_Streams.md | 3 +- .../About/about_Language_Modes.md | 119 +++++++++--------- .../About/about_Line_Editing.md | 15 ++- .../About/about_Numeric_Literals.md | 41 +++--- .../About/about_Output_Streams.md | 3 +- 16 files changed, 348 insertions(+), 340 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Language_Modes.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Language_Modes.md index bac5f1cd48a8..66c8c17c5dcd 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Language_Modes.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Language_Modes.md @@ -2,6 +2,7 @@ description: Explains language modes and their effect on PowerShell sessions. Locale: en-US ms.date: 08/03/2021 +no-loc: [FullLanguage, ConstrainedLanguage, RestrictedLanguage, NoLanguage] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_language_modes?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Language Modes @@ -23,7 +24,7 @@ PowerShell supports the following language modes: - **RestrictedLanguage** - **NoLanguage** -### WHAT IS A LANGUAGE MODE? +### What is a language mode? The language mode determines the language elements that are permitted in the session. @@ -44,13 +45,13 @@ language mode of the session. To specify the session configuration of a PSSession, use the ConfigurationName parameter of cmdlets that create a session. -### LANGUAGE MODES +### Language modes This section describes the language modes in PowerShell sessions. -#### FULL LANGUAGE (FullLanguage) +#### Full language (FullLanguage) -The FullLanguage mode permits all language elements in the session. +The **FullLanguage** mode permits all language elements in the session. FullLanguage is the default language mode for default sessions on all versions of Windows except for Windows RT. @@ -79,7 +80,7 @@ permitted. #### No language (NoLanguage) -NoLanguage mode can only be used through the API. NoLanguage mode means no +**NoLanguage** mode can only be used through the API. NoLanguage mode means no script text of any form is permitted. This precludes the use of the **AddScript()** method which sends fragments of PowerShell script to be parsed and executed. You can only use **AddCommand()** and **AddParameter()** which @@ -139,58 +140,58 @@ The features of **ConstrainedLanguage** mode are as follows: - **Scripting.FileSystemObject** - **VBScript.RegExp** -The following types are permitted in ConstrainedLanguage mode. Users +The following types are permitted in **ConstrainedLanguage** mode. Users can get properties, invoke methods, and convert objects to these types. Allowed Types: -- AliasAttribute -- AllowEmptyCollectionAttribute -- AllowEmptyStringAttribute -- AllowNullAttribute -- Array -- Bool -- byte -- char -- CmdletBindingAttribute -- DateTime -- decimal -- DirectoryEntry -- DirectorySearcher -- double -- float -- Guid -- Hashtable -- int -- Int16 -- long -- ManagementClass -- ManagementObject -- ManagementObjectSearcher -- NullString -- OutputTypeAttribute -- ParameterAttribute -- PSCredential -- PSDefaultValueAttribute -- PSListModifier -- PSObject -- PSPrimitiveDictionary -- PSReference -- PSTypeNameAttribute -- Regex -- SByte -- string -- SupportsWildcardsAttribute -- SwitchParameter -- System.Globalization.CultureInfo -- System.Net.IPAddress -- System.Net.Mail.MailAddress -- System.Numerics.BigInteger -- System.Security.SecureString -- TimeSpan -- UInt16 -- UInt32 -- UInt64 +- `[AliasAttribute]` +- `[AllowEmptyCollectionAttribute]` +- `[AllowEmptyStringAttribute]` +- `[AllowNullAttribute]` +- `[Array]` +- `[Bool]` +- `[byte]` +- `[char]` +- `[CmdletBindingAttribute]` +- `[DateTime]` +- `[decimal]` +- `[DirectoryEntry]` +- `[DirectorySearcher]` +- `[double]` +- `[float]` +- `[Guid]` +- `[Hashtable]` +- `[int]` +- `[Int16]` +- `[long]` +- `[ManagementClass]` +- `[ManagementObject]` +- `[ManagementObjectSearcher]` +- `[NullString]` +- `[OutputTypeAttribute]` +- `[ParameterAttribute]` +- `[PSCredential]` +- `[PSDefaultValueAttribute]` +- `[PSListModifier]` +- `[PSObject]` +- `[PSPrimitiveDictionary]` +- `[PSReference]` +- `[PSTypeNameAttribute]` +- `[Regex]` +- `[SByte]` +- `[String]` +- `[SupportsWildcardsAttribute]` +- `[SwitchParameter]` +- `[System.Globalization.CultureInfo]` +- `[System.Net.IPAddress]` +- `[System.Net.Mail.MailAddress]` +- `[System.Numerics.BigInteger]` +- `[System.Security.SecureString]` +- `[TimeSpan]` +- `[UInt16]` +- `[UInt32]` +- `[UInt64]` ### Finding the language mode of a session configuration @@ -204,7 +205,7 @@ FullLanguage ``` On other session configurations, you can find the language mode indirectly by -finding the language mode of a session that is created by using the session +finding the language mode of a session that is created using the session configuration. ### Finding the language mode of a session diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md index 697600db0b70..3720bf1bdfcb 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md @@ -1,7 +1,7 @@ --- description: Describes how to edit commands at the PowerShell command prompt. Locale: en-US -ms.date: 07/10/2019 +ms.date: 09/12/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Line Editing @@ -27,16 +27,15 @@ continuation prompt. Press Enter to execute the command. ### Move left and right -To move the cursor one character to the left, press the Left arrow. +To move the cursor one character to the left, press the LeftArrow. -To move the cursor one word to the left, press Ctrl+Left -arrow. +To move the cursor one word to the left, press +Ctrl+LeftArrow. -To move the cursor one character to the right, press the Right -arrow. +To move the cursor one character to the right, press the RightArrow. -To move the cursor one word to the right, press Ctrl+Right -arrow. +To move the cursor one word to the right, press +Ctrl+RightArrow. ### Move to a line's beginning or end diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md index e37691b158af..927a2d5a560a 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md @@ -1,7 +1,8 @@ --- description: Both integer and real numeric literals can have type and multiplier suffixes. Locale: en-US -ms.date: 11/15/2021 +ms.date: 09/12/2022 +no-loc: [482gb] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_numeric_literals?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Numeric Literals @@ -20,12 +21,12 @@ Integer literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | | ------ | ------------------- | -| l | long data type | -| kb | kilobyte multiplier | -| mb | megabyte multiplier | -| gb | gigabyte multiplier | -| tb | terabyte multiplier | -| pb | petabyte multiplier | +| `l` | long data type | +| `kb` | kilobyte multiplier | +| `mb` | megabyte multiplier | +| `gb` | gigabyte multiplier | +| `tb` | terabyte multiplier | +| `Pb` | petabyte multiplier | The type of an integer literal is determined by its value, the type suffix, and the numeric multiplier suffix. @@ -62,12 +63,12 @@ Real literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | | ------ | ------------------- | -| d | decimal data type | -| kb | kilobyte multiplier | -| mb | megabyte multiplier | -| gb | gigabyte multiplier | -| tb | terabyte multiplier | -| pb | petabyte multiplier | +| `d` | decimal data type | +| `kb` | kilobyte multiplier | +| `mb` | megabyte multiplier | +| `gb` | gigabyte multiplier | +| `tb` | terabyte multiplier | +| `pb` | petabyte multiplier | There are two kinds of real literal: double and decimal. These are indicated by the absence or presence, respectively, of decimal-type suffix. PowerShell does diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Output_Streams.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Output_Streams.md index b887d44734b5..ed54d0614024 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Output_Streams.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Output_Streams.md @@ -1,7 +1,8 @@ --- description: Explains the availability and purpose of output streams in PowerShell. Locale: en-US -ms.date: 12/13/2021 +ms.date: 09/12/2022 +no-loc: [Success, Error, Warning, Verbose, Debug, Information, Progress] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_output_streams?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Output Streams diff --git a/reference/7.0/Microsoft.PowerShell.Core/About/about_Language_Modes.md b/reference/7.0/Microsoft.PowerShell.Core/About/about_Language_Modes.md index f146abdc1e5c..5be325a77730 100644 --- a/reference/7.0/Microsoft.PowerShell.Core/About/about_Language_Modes.md +++ b/reference/7.0/Microsoft.PowerShell.Core/About/about_Language_Modes.md @@ -1,7 +1,8 @@ --- description: Explains language modes and their effect on PowerShell sessions. Locale: en-US -ms.date: 03/07/2022 +ms.date: 08/03/2021 +no-loc: [FullLanguage, ConstrainedLanguage, RestrictedLanguage, NoLanguage] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_language_modes?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Language Modes @@ -23,7 +24,7 @@ PowerShell supports the following language modes: - **RestrictedLanguage** - **NoLanguage** -### WHAT IS A LANGUAGE MODE? +### What is a language mode? The language mode determines the language elements that are permitted in the session. @@ -44,13 +45,13 @@ language mode of the session. To specify the session configuration of a PSSession, use the ConfigurationName parameter of cmdlets that create a session. -### LANGUAGE MODES +### Language modes This section describes the language modes in PowerShell sessions. -#### FULL LANGUAGE (FullLanguage) +#### Full language (FullLanguage) -The FullLanguage mode permits all language elements in the session. +The **FullLanguage** mode permits all language elements in the session. FullLanguage is the default language mode for default sessions on all versions of Windows except for Windows RT. @@ -86,7 +87,7 @@ permitted. #### No language (NoLanguage) -NoLanguage mode can only be used through the API. NoLanguage mode means no +**NoLanguage** mode can only be used through the API. NoLanguage mode means no script text of any form is permitted. This precludes the use of the **AddScript()** method which sends fragments of PowerShell script to be parsed and executed. You can only use **AddCommand()** and **AddParameter()** which @@ -140,58 +141,58 @@ The features of **ConstrainedLanguage** mode are as follows: - **Scripting.FileSystemObject** - **VBScript.RegExp** -The following types are permitted in ConstrainedLanguage mode. Users +The following types are permitted in **ConstrainedLanguage** mode. Users can get properties, invoke methods, and convert objects to these types. Allowed Types: -- AliasAttribute -- AllowEmptyCollectionAttribute -- AllowEmptyStringAttribute -- AllowNullAttribute -- Array -- Bool -- byte -- char -- CmdletBindingAttribute -- DateTime -- decimal -- DirectoryEntry -- DirectorySearcher -- double -- float -- Guid -- Hashtable -- int -- Int16 -- long -- ManagementClass -- ManagementObject -- ManagementObjectSearcher -- NullString -- OutputTypeAttribute -- ParameterAttribute -- PSCredential -- PSDefaultValueAttribute -- PSListModifier -- PSObject -- PSPrimitiveDictionary -- PSReference -- PSTypeNameAttribute -- Regex -- SByte -- string -- SupportsWildcardsAttribute -- SwitchParameter -- System.Globalization.CultureInfo -- System.Net.IPAddress -- System.Net.Mail.MailAddress -- System.Numerics.BigInteger -- System.Security.SecureString -- TimeSpan -- UInt16 -- UInt32 -- UInt64 +- `[AliasAttribute]` +- `[AllowEmptyCollectionAttribute]` +- `[AllowEmptyStringAttribute]` +- `[AllowNullAttribute]` +- `[Array]` +- `[Bool]` +- `[byte]` +- `[char]` +- `[CmdletBindingAttribute]` +- `[DateTime]` +- `[decimal]` +- `[DirectoryEntry]` +- `[DirectorySearcher]` +- `[double]` +- `[float]` +- `[Guid]` +- `[Hashtable]` +- `[int]` +- `[Int16]` +- `[long]` +- `[ManagementClass]` +- `[ManagementObject]` +- `[ManagementObjectSearcher]` +- `[NullString]` +- `[OutputTypeAttribute]` +- `[ParameterAttribute]` +- `[PSCredential]` +- `[PSDefaultValueAttribute]` +- `[PSListModifier]` +- `[PSObject]` +- `[PSPrimitiveDictionary]` +- `[PSReference]` +- `[PSTypeNameAttribute]` +- `[Regex]` +- `[SByte]` +- `[String]` +- `[SupportsWildcardsAttribute]` +- `[SwitchParameter]` +- `[System.Globalization.CultureInfo]` +- `[System.Net.IPAddress]` +- `[System.Net.Mail.MailAddress]` +- `[System.Numerics.BigInteger]` +- `[System.Security.SecureString]` +- `[TimeSpan]` +- `[UInt16]` +- `[UInt32]` +- `[UInt64]` ### Finding the language mode of a session configuration @@ -205,14 +206,14 @@ FullLanguage ``` On other session configurations, you can find the language mode indirectly by -finding the language mode of a session that is created with the session +finding the language mode of a session that is created using the session configuration. > [!NOTE] -> Session configurations are a feature of WSMan-based PowerShell remoting. They are used only when you -> use the `New-PSSession`, `Invoke-Command`, or `Enter-PSSession` cmdlets -> to connect to a remote Windows computer. The `Get-PSSessionConfiguration` -> cmdlet is only available on Windows computers. +> Session configurations are a feature of WSMan-based PowerShell remoting. +> They are used only when you use the `New-PSSession`, `Invoke-Command`, or +> `Enter-PSSession` cmdlets to connect to a remote Windows computer. The +> `Get-PSSessionConfiguration` cmdlet is only available on Windows computers. ### Finding the language mode of a session diff --git a/reference/7.0/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/7.0/Microsoft.PowerShell.Core/About/about_Line_Editing.md index 5a893cf3bb22..e9542fae914f 100644 --- a/reference/7.0/Microsoft.PowerShell.Core/About/about_Line_Editing.md +++ b/reference/7.0/Microsoft.PowerShell.Core/About/about_Line_Editing.md @@ -1,7 +1,7 @@ --- description: Describes how to edit commands at the PowerShell command prompt. Locale: en-US -ms.date: 07/10/2019 +ms.date: 09/12/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Line Editing @@ -27,16 +27,15 @@ continuation prompt. Press Enter to execute the command. ### Move left and right -To move the cursor one character to the left, press the Left arrow. +To move the cursor one character to the left, press the LeftArrow. -To move the cursor one word to the left, press Ctrl+Left -arrow. +To move the cursor one word to the left, press +Ctrl+LeftArrow. -To move the cursor one character to the right, press the Right -arrow. +To move the cursor one character to the right, press the RightArrow. -To move the cursor one word to the right, press Ctrl+Right -arrow. +To move the cursor one word to the right, press +Ctrl+RightArrow. ### Move to a line's beginning or end diff --git a/reference/7.0/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md b/reference/7.0/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md index b124ee138e97..6469cd9ab547 100644 --- a/reference/7.0/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md +++ b/reference/7.0/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md @@ -1,7 +1,8 @@ --- description: Both integer and real numeric literals can have type and multiplier suffixes. Locale: en-US -ms.date: 11/15/2021 +ms.date: 09/12/2022 +no-loc: [482gb] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_numeric_literals?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Numeric Literals @@ -21,19 +22,19 @@ Integer literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | Note | | ------ | ------------------------------ | ----------------------- | -| y | signed byte data type | Added in PowerShell 6.2 | -| uy | unsigned byte data type | Added in PowerShell 6.2 | -| s | short data type | Added in PowerShell 6.2 | -| us | unsigned short data type | Added in PowerShell 6.2 | -| l | long data type | | -| u | unsigned int or long data type | Added in PowerShell 6.2 | -| ul | unsigned long data type | Added in PowerShell 6.2 | -| n | BigInteger data type | Added in PowerShell 7.0 | -| kb | kilobyte multiplier | | -| mb | megabyte multiplier | | -| gb | gigabyte multiplier | | -| tb | terabyte multiplier | | -| pb | petabyte multiplier | | +| `y` | signed byte data type | Added in PowerShell 6.2 | +| `uy` | unsigned byte data type | Added in PowerShell 6.2 | +| `s` | short data type | Added in PowerShell 6.2 | +| `us` | unsigned short data type | Added in PowerShell 6.2 | +| `l` | long data type | | +| `u` | unsigned int or long data type | Added in PowerShell 6.2 | +| `ul` | unsigned long data type | Added in PowerShell 6.2 | +| `n` | BigInteger data type | Added in PowerShell 7.0 | +| `kb` | kilobyte multiplier | | +| `mb` | megabyte multiplier | | +| `gb` | gigabyte multiplier | | +| `tb` | terabyte multiplier | | +| `pb` | petabyte multiplier | | The type of an integer literal is determined by its value, the type suffix, and the numeric multiplier suffix. @@ -70,12 +71,12 @@ Real literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | | ------ | ------------------- | -| d | decimal data type | -| kb | kilobyte multiplier | -| mb | megabyte multiplier | -| gb | gigabyte multiplier | -| tb | terabyte multiplier | -| pb | petabyte multiplier | +| `d` | decimal data type | +| `kb` | kilobyte multiplier | +| `mb` | megabyte multiplier | +| `gb` | gigabyte multiplier | +| `tb` | terabyte multiplier | +| `pb` | petabyte multiplier | There are two kinds of real literal: double and decimal. These are indicated by the absence or presence, respectively, of decimal-type suffix. PowerShell does diff --git a/reference/7.0/Microsoft.PowerShell.Core/About/about_Output_Streams.md b/reference/7.0/Microsoft.PowerShell.Core/About/about_Output_Streams.md index c0b313d3427e..abca4aacbc6d 100644 --- a/reference/7.0/Microsoft.PowerShell.Core/About/about_Output_Streams.md +++ b/reference/7.0/Microsoft.PowerShell.Core/About/about_Output_Streams.md @@ -1,7 +1,8 @@ --- description: Explains the availability and purpose of output streams in PowerShell. Locale: en-US -ms.date: 12/13/2021 +ms.date: 09/12/2022 +no-loc: [Success, Error, Warning, Verbose, Debug, Information, Progress] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_output_streams?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Output Streams diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Language_Modes.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Language_Modes.md index b9b913b0d1cd..73b8eb70519d 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Language_Modes.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Language_Modes.md @@ -1,7 +1,8 @@ --- description: Explains language modes and their effect on PowerShell sessions. Locale: en-US -ms.date: 03/07/2022 +ms.date: 08/03/2021 +no-loc: [FullLanguage, ConstrainedLanguage, RestrictedLanguage, NoLanguage] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_language_modes?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Language Modes @@ -23,7 +24,7 @@ PowerShell supports the following language modes: - **RestrictedLanguage** - **NoLanguage** -### WHAT IS A LANGUAGE MODE? +### What is a language mode? The language mode determines the language elements that are permitted in the session. @@ -44,13 +45,13 @@ language mode of the session. To specify the session configuration of a PSSession, use the ConfigurationName parameter of cmdlets that create a session. -### LANGUAGE MODES +### Language modes This section describes the language modes in PowerShell sessions. -#### FULL LANGUAGE (FullLanguage) +#### Full language (FullLanguage) -The FullLanguage mode permits all language elements in the session. +The **FullLanguage** mode permits all language elements in the session. FullLanguage is the default language mode for default sessions on all versions of Windows except for Windows RT. @@ -89,7 +90,7 @@ permitted. #### No language (NoLanguage) -NoLanguage mode can only be used through the API. NoLanguage mode means no +**NoLanguage** mode can only be used through the API. NoLanguage mode means no script text of any form is permitted. This precludes the use of the **AddScript()** method which sends fragments of PowerShell script to be parsed and executed. You can only use **AddCommand()** and **AddParameter()** which @@ -146,58 +147,58 @@ The features of **ConstrainedLanguage** mode are as follows: - **Scripting.FileSystemObject** - **VBScript.RegExp** -The following types are permitted in ConstrainedLanguage mode. Users +The following types are permitted in **ConstrainedLanguage** mode. Users can get properties, invoke methods, and convert objects to these types. Allowed Types: -- AliasAttribute -- AllowEmptyCollectionAttribute -- AllowEmptyStringAttribute -- AllowNullAttribute -- Array -- Bool -- byte -- char -- CmdletBindingAttribute -- DateTime -- decimal -- DirectoryEntry -- DirectorySearcher -- double -- float -- Guid -- Hashtable -- int -- Int16 -- long -- ManagementClass -- ManagementObject -- ManagementObjectSearcher -- NullString -- OutputTypeAttribute -- ParameterAttribute -- PSCredential -- PSDefaultValueAttribute -- PSListModifier -- PSObject -- PSPrimitiveDictionary -- PSReference -- PSTypeNameAttribute -- Regex -- SByte -- string -- SupportsWildcardsAttribute -- SwitchParameter -- System.Globalization.CultureInfo -- System.Net.IPAddress -- System.Net.Mail.MailAddress -- System.Numerics.BigInteger -- System.Security.SecureString -- TimeSpan -- UInt16 -- UInt32 -- UInt64 +- `[AliasAttribute]` +- `[AllowEmptyCollectionAttribute]` +- `[AllowEmptyStringAttribute]` +- `[AllowNullAttribute]` +- `[Array]` +- `[Bool]` +- `[byte]` +- `[char]` +- `[CmdletBindingAttribute]` +- `[DateTime]` +- `[decimal]` +- `[DirectoryEntry]` +- `[DirectorySearcher]` +- `[double]` +- `[float]` +- `[Guid]` +- `[Hashtable]` +- `[int]` +- `[Int16]` +- `[long]` +- `[ManagementClass]` +- `[ManagementObject]` +- `[ManagementObjectSearcher]` +- `[NullString]` +- `[OutputTypeAttribute]` +- `[ParameterAttribute]` +- `[PSCredential]` +- `[PSDefaultValueAttribute]` +- `[PSListModifier]` +- `[PSObject]` +- `[PSPrimitiveDictionary]` +- `[PSReference]` +- `[PSTypeNameAttribute]` +- `[Regex]` +- `[SByte]` +- `[String]` +- `[SupportsWildcardsAttribute]` +- `[SwitchParameter]` +- `[System.Globalization.CultureInfo]` +- `[System.Net.IPAddress]` +- `[System.Net.Mail.MailAddress]` +- `[System.Numerics.BigInteger]` +- `[System.Security.SecureString]` +- `[TimeSpan]` +- `[UInt16]` +- `[UInt32]` +- `[UInt64]` ### Finding the language mode of a session configuration @@ -211,14 +212,14 @@ FullLanguage ``` On other session configurations, you can find the language mode indirectly by -finding the language mode of a session that is created with the session +finding the language mode of a session that is created using the session configuration. > [!NOTE] -> Session configurations are a feature of WSMan-based PowerShell remoting. They are used only when you -> use the `New-PSSession`, `Invoke-Command`, or `Enter-PSSession` cmdlets -> to connect to a remote Windows computer. The `Get-PSSessionConfiguration` -> cmdlet is only available on Windows computers. +> Session configurations are a feature of WSMan-based PowerShell remoting. +> They are used only when you use the `New-PSSession`, `Invoke-Command`, or +> `Enter-PSSession` cmdlets to connect to a remote Windows computer. The +> `Get-PSSessionConfiguration` cmdlet is only available on Windows computers. ### Finding the language mode of a session diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Line_Editing.md index f9c048b906e3..2911c3766ed8 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Line_Editing.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Line_Editing.md @@ -1,7 +1,7 @@ --- description: Describes how to edit commands at the PowerShell command prompt. Locale: en-US -ms.date: 07/10/2019 +ms.date: 09/12/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Line Editing @@ -27,16 +27,15 @@ continuation prompt. Press Enter to execute the command. ### Move left and right -To move the cursor one character to the left, press the Left arrow. +To move the cursor one character to the left, press the LeftArrow. -To move the cursor one word to the left, press Ctrl+Left -arrow. +To move the cursor one word to the left, press +Ctrl+LeftArrow. -To move the cursor one character to the right, press the Right -arrow. +To move the cursor one character to the right, press the RightArrow. -To move the cursor one word to the right, press Ctrl+Right -arrow. +To move the cursor one word to the right, press +Ctrl+RightArrow. ### Move to a line's beginning or end 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 e267a3b199fb..bd883cc361a2 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 @@ -1,7 +1,8 @@ --- description: Both integer and real numeric literals can have type and multiplier suffixes. Locale: en-US -ms.date: 11/15/2021 +ms.date: 09/12/2022 +no-loc: [482gb] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_numeric_literals?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Numeric Literals @@ -21,19 +22,19 @@ Integer literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | Note | | ------ | ------------------------------ | ----------------------- | -| y | signed byte data type | Added in PowerShell 6.2 | -| uy | unsigned byte data type | Added in PowerShell 6.2 | -| s | short data type | Added in PowerShell 6.2 | -| us | unsigned short data type | Added in PowerShell 6.2 | -| l | long data type | | -| u | unsigned int or long data type | Added in PowerShell 6.2 | -| ul | unsigned long data type | Added in PowerShell 6.2 | -| n | BigInteger data type | Added in PowerShell 7.0 | -| kb | kilobyte multiplier | | -| mb | megabyte multiplier | | -| gb | gigabyte multiplier | | -| tb | terabyte multiplier | | -| pb | petabyte multiplier | | +| `y` | signed byte data type | Added in PowerShell 6.2 | +| `uy` | unsigned byte data type | Added in PowerShell 6.2 | +| `s` | short data type | Added in PowerShell 6.2 | +| `us` | unsigned short data type | Added in PowerShell 6.2 | +| `l` | long data type | | +| `u` | unsigned int or long data type | Added in PowerShell 6.2 | +| `ul` | unsigned long data type | Added in PowerShell 6.2 | +| `n` | BigInteger data type | Added in PowerShell 7.0 | +| `kb` | kilobyte multiplier | | +| `mb` | megabyte multiplier | | +| `gb` | gigabyte multiplier | | +| `tb` | terabyte multiplier | | +| `pb` | petabyte multiplier | | The type of an integer literal is determined by its value, the type suffix, and the numeric multiplier suffix. @@ -70,12 +71,12 @@ Real literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | | ------ | ------------------- | -| d | decimal data type | -| kb | kilobyte multiplier | -| mb | megabyte multiplier | -| gb | gigabyte multiplier | -| tb | terabyte multiplier | -| pb | petabyte multiplier | +| `d` | decimal data type | +| `kb` | kilobyte multiplier | +| `mb` | megabyte multiplier | +| `gb` | gigabyte multiplier | +| `tb` | terabyte multiplier | +| `pb` | petabyte multiplier | There are two kinds of real literal: double and decimal. These are indicated by the absence or presence, respectively, of decimal-type suffix. PowerShell does diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Output_Streams.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Output_Streams.md index 75407f32c4a1..f74fd0c5c53b 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Output_Streams.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Output_Streams.md @@ -1,7 +1,8 @@ --- description: Explains the availability and purpose of output streams in PowerShell. Locale: en-US -ms.date: 12/13/2021 +ms.date: 09/12/2022 +no-loc: [Success, Error, Warning, Verbose, Debug, Information, Progress] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_output_streams?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Output Streams diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Language_Modes.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Language_Modes.md index 9ba2130c416d..ead319f2ebec 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Language_Modes.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Language_Modes.md @@ -1,7 +1,8 @@ --- description: Explains language modes and their effect on PowerShell sessions. Locale: en-US -ms.date: 03/07/2022 +ms.date: 08/03/2021 +no-loc: [FullLanguage, ConstrainedLanguage, RestrictedLanguage, NoLanguage] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_language_modes?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Language Modes @@ -23,7 +24,7 @@ PowerShell supports the following language modes: - **RestrictedLanguage** - **NoLanguage** -### WHAT IS A LANGUAGE MODE? +### What is a language mode? The language mode determines the language elements that are permitted in the session. @@ -44,13 +45,13 @@ language mode of the session. To specify the session configuration of a PSSession, use the ConfigurationName parameter of cmdlets that create a session. -### LANGUAGE MODES +### Language modes This section describes the language modes in PowerShell sessions. -#### FULL LANGUAGE (FullLanguage) +#### Full language (FullLanguage) -The FullLanguage mode permits all language elements in the session. +The **FullLanguage** mode permits all language elements in the session. FullLanguage is the default language mode for default sessions on all versions of Windows except for Windows RT. @@ -89,7 +90,7 @@ permitted. #### No language (NoLanguage) -NoLanguage mode can only be used through the API. NoLanguage mode means no +**NoLanguage** mode can only be used through the API. NoLanguage mode means no script text of any form is permitted. This precludes the use of the **AddScript()** method which sends fragments of PowerShell script to be parsed and executed. You can only use **AddCommand()** and **AddParameter()** which @@ -146,58 +147,58 @@ The features of **ConstrainedLanguage** mode are as follows: - **Scripting.FileSystemObject** - **VBScript.RegExp** -The following types are permitted in ConstrainedLanguage mode. Users +The following types are permitted in **ConstrainedLanguage** mode. Users can get properties, invoke methods, and convert objects to these types. Allowed Types: -- AliasAttribute -- AllowEmptyCollectionAttribute -- AllowEmptyStringAttribute -- AllowNullAttribute -- Array -- Bool -- byte -- char -- CmdletBindingAttribute -- DateTime -- decimal -- DirectoryEntry -- DirectorySearcher -- double -- float -- Guid -- Hashtable -- int -- Int16 -- long -- ManagementClass -- ManagementObject -- ManagementObjectSearcher -- NullString -- OutputTypeAttribute -- ParameterAttribute -- PSCredential -- PSDefaultValueAttribute -- PSListModifier -- PSObject -- PSPrimitiveDictionary -- PSReference -- PSTypeNameAttribute -- Regex -- SByte -- string -- SupportsWildcardsAttribute -- SwitchParameter -- System.Globalization.CultureInfo -- System.Net.IPAddress -- System.Net.Mail.MailAddress -- System.Numerics.BigInteger -- System.Security.SecureString -- TimeSpan -- UInt16 -- UInt32 -- UInt64 +- `[AliasAttribute]` +- `[AllowEmptyCollectionAttribute]` +- `[AllowEmptyStringAttribute]` +- `[AllowNullAttribute]` +- `[Array]` +- `[Bool]` +- `[byte]` +- `[char]` +- `[CmdletBindingAttribute]` +- `[DateTime]` +- `[decimal]` +- `[DirectoryEntry]` +- `[DirectorySearcher]` +- `[double]` +- `[float]` +- `[Guid]` +- `[Hashtable]` +- `[int]` +- `[Int16]` +- `[long]` +- `[ManagementClass]` +- `[ManagementObject]` +- `[ManagementObjectSearcher]` +- `[NullString]` +- `[OutputTypeAttribute]` +- `[ParameterAttribute]` +- `[PSCredential]` +- `[PSDefaultValueAttribute]` +- `[PSListModifier]` +- `[PSObject]` +- `[PSPrimitiveDictionary]` +- `[PSReference]` +- `[PSTypeNameAttribute]` +- `[Regex]` +- `[SByte]` +- `[String]` +- `[SupportsWildcardsAttribute]` +- `[SwitchParameter]` +- `[System.Globalization.CultureInfo]` +- `[System.Net.IPAddress]` +- `[System.Net.Mail.MailAddress]` +- `[System.Numerics.BigInteger]` +- `[System.Security.SecureString]` +- `[TimeSpan]` +- `[UInt16]` +- `[UInt32]` +- `[UInt64]` ### Finding the language mode of a session configuration @@ -211,14 +212,14 @@ FullLanguage ``` On other session configurations, you can find the language mode indirectly by -finding the language mode of a session that is created with the session +finding the language mode of a session that is created using the session configuration. > [!NOTE] -> Session configurations are a feature of WSMan-based PowerShell remoting. They are used only when you -> use the `New-PSSession`, `Invoke-Command`, or `Enter-PSSession` cmdlets -> to connect to a remote Windows computer. The `Get-PSSessionConfiguration` -> cmdlet is only available on Windows computers. +> Session configurations are a feature of WSMan-based PowerShell remoting. +> They are used only when you use the `New-PSSession`, `Invoke-Command`, or +> `Enter-PSSession` cmdlets to connect to a remote Windows computer. The +> `Get-PSSessionConfiguration` cmdlet is only available on Windows computers. ### Finding the language mode of a session diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Line_Editing.md index 7b0dfe384039..686a9710335c 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Line_Editing.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Line_Editing.md @@ -1,7 +1,7 @@ --- description: Describes how to edit commands at the PowerShell command prompt. Locale: en-US -ms.date: 07/10/2019 +ms.date: 09/12/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Line Editing @@ -27,16 +27,15 @@ continuation prompt. Press Enter to execute the command. ### Move left and right -To move the cursor one character to the left, press the Left arrow. +To move the cursor one character to the left, press the LeftArrow. -To move the cursor one word to the left, press Ctrl+Left -arrow. +To move the cursor one word to the left, press +Ctrl+LeftArrow. -To move the cursor one character to the right, press the Right -arrow. +To move the cursor one character to the right, press the RightArrow. -To move the cursor one word to the right, press Ctrl+Right -arrow. +To move the cursor one word to the right, press +Ctrl+RightArrow. ### Move to a line's beginning or end diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md index 1ad39a76871b..3d29a4aa9ca2 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Numeric_Literals.md @@ -1,7 +1,8 @@ --- description: Both integer and real numeric literals can have type and multiplier suffixes. Locale: en-US -ms.date: 11/15/2021 +ms.date: 09/12/2022 +no-loc: [482gb] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_numeric_literals?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Numeric Literals @@ -21,19 +22,19 @@ Integer literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | Note | | ------ | ------------------------------ | ----------------------- | -| y | signed byte data type | Added in PowerShell 6.2 | -| uy | unsigned byte data type | Added in PowerShell 6.2 | -| s | short data type | Added in PowerShell 6.2 | -| us | unsigned short data type | Added in PowerShell 6.2 | -| l | long data type | | -| u | unsigned int or long data type | Added in PowerShell 6.2 | -| ul | unsigned long data type | Added in PowerShell 6.2 | -| n | BigInteger data type | Added in PowerShell 7.0 | -| kb | kilobyte multiplier | | -| mb | megabyte multiplier | | -| gb | gigabyte multiplier | | -| tb | terabyte multiplier | | -| pb | petabyte multiplier | | +| `y` | signed byte data type | Added in PowerShell 6.2 | +| `uy` | unsigned byte data type | Added in PowerShell 6.2 | +| `s` | short data type | Added in PowerShell 6.2 | +| `us` | unsigned short data type | Added in PowerShell 6.2 | +| `l` | long data type | | +| `u` | unsigned int or long data type | Added in PowerShell 6.2 | +| `ul` | unsigned long data type | Added in PowerShell 6.2 | +| `n` | BigInteger data type | Added in PowerShell 7.0 | +| `kb` | kilobyte multiplier | | +| `mb` | megabyte multiplier | | +| `gb` | gigabyte multiplier | | +| `tb` | terabyte multiplier | | +| `pb` | petabyte multiplier | | The type of an integer literal is determined by its value, the type suffix, and the numeric multiplier suffix. @@ -70,12 +71,12 @@ Real literals can have a type suffix and a multiplier suffix. | Suffix | Meaning | | ------ | ------------------- | -| d | decimal data type | -| kb | kilobyte multiplier | -| mb | megabyte multiplier | -| gb | gigabyte multiplier | -| tb | terabyte multiplier | -| pb | petabyte multiplier | +| `d` | decimal data type | +| `kb` | kilobyte multiplier | +| `mb` | megabyte multiplier | +| `gb` | gigabyte multiplier | +| `tb` | terabyte multiplier | +| `pb` | petabyte multiplier | There are two kinds of real literal: double and decimal. These are indicated by the absence or presence, respectively, of decimal-type suffix. PowerShell does diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Output_Streams.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Output_Streams.md index e0f21ba1dd82..1b49029f30d3 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Output_Streams.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Output_Streams.md @@ -1,7 +1,8 @@ --- description: Explains the availability and purpose of output streams in PowerShell. Locale: en-US -ms.date: 12/13/2021 +ms.date: 09/12/2022 +no-loc: [Success, Error, Warning, Verbose, Debug, Information, Progress] online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_output_streams?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Output Streams