From b53fe5a52b25b58085a08e30d3360fd27278e1e9 Mon Sep 17 00:00:00 2001 From: Mikey Bronowski Date: Thu, 28 Apr 2022 15:26:23 +0100 Subject: [PATCH 1/2] Update Installing-PowerShell-on-Windows.md (#8771) --- .../Installing-PowerShell-on-Windows.md | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md index 12216fad3606..ae4c86084272 100644 --- a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md +++ b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md @@ -35,8 +35,8 @@ different scenarios and workflows. Choose the method that best suits your needs. To install PowerShell on Windows, use the following links to download the install package from GitHub. -- [PowerShell-7.2.2-win-x64.msi][x64msi] -- [PowerShell-7.2.2-win-x86.msi][x86msi] +- [PowerShell-7.2.3-win-x64.msi][x64msi] +- [PowerShell-7.2.3-win-x86.msi][x86msi] Once downloaded, double-click the installer file and follow the prompts. @@ -97,7 +97,7 @@ installation options: The following example shows how to silently install PowerShell with all the install options enabled. ```powershell -msiexec.exe /package PowerShell-7.2.2-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 +msiexec.exe /package PowerShell-7.2.3-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ``` For a full list of command-line options for `Msiexec.exe`, see @@ -108,10 +108,10 @@ For a full list of command-line options for `Msiexec.exe`, see PowerShell binary ZIP archives are provided to enable advanced deployment scenarios. Download one of the following ZIP archives from the [current release][current] page. -- [PowerShell-7.2.2-win-x64.zip][x64zip] -- [PowerShell-7.2.2-win-x86.zip][x86zip] -- [PowerShell-7.2.2-win-arm64.zip][arm64zip] -- [PowerShell-7.2.2-win-arm32.zip][arm32zip] +- [PowerShell-7.2.3-win-x64.zip][x64zip] +- [PowerShell-7.2.3-win-x86.zip][x86zip] +- [PowerShell-7.2.3-win-arm64.zip][arm64zip] +- [PowerShell-7.2.3-win-arm32.zip][arm32zip] Depending on how you download the file you may need to unblock the file using the `Unblock-File` cmdlet. Unzip the contents to the location of your choice and run `pwsh.exe` from there. Unlike @@ -156,8 +156,8 @@ winget search Microsoft.PowerShell ```Output Name Id Version Source --------------------------------------------------------------- -PowerShell Microsoft.PowerShell 7.2.2.0 winget -PowerShell Preview Microsoft.PowerShell.Preview 7.3.0.2 winget +PowerShell Microsoft.PowerShell 7.2.3.0 winget +PowerShell Preview Microsoft.PowerShell.Preview 7.3.0.3 winget ``` Install Powershell or Powershell Preview using the `id` parameter @@ -234,7 +234,7 @@ Windows 10 IoT Enterprise comes with Windows PowerShell, which we can use to dep ```powershell # Replace the placeholder information for the following variables: $deviceip = ' -$zipfile = 'PowerShell-7.2.2-win-x64.zip' +$zipfile = 'PowerShell-7.2.3-win-x64.zip' # Connect to the built-in instance of Windows PowerShell $session = New-PSSession -ComputerName $ipaddr -Credential $credential # Copy the file to the Nano Server instance @@ -319,7 +319,7 @@ Copy-Item $zipfile c:\ -ToSession $session # Enter the interactive remote session Enter-PSSession $session # Extract the ZIP file -Expand-Archive -Path C:\PowerShell-7.2.2-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' +Expand-Archive -Path C:\PowerShell-7.2.3-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' ``` If you want WSMan-based remoting, follow the instructions to create a remoting endpoint using the @@ -370,10 +370,10 @@ cannot support those methods. [store-app]: https://www.microsoft.com/store/apps/9MZ1SNWT0N5D [winget]: /windows/package-manager/winget [wsman-remoting]: ../learn/remoting/WSMan-Remoting-in-PowerShell-Core.md -[arm32zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-arm32.zip -[arm64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-arm64.zip -[x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x64.msi -[x64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x64.zip -[x86msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x86.msi -[x86zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x86.zip -[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.2/PowerShell-7.2.2-win-x64.msi +[arm32zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-arm32.zip +[arm64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-arm64.zip +[x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-x64.msi +[x64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-x64.zip +[x86msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-x86.msi +[x86zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-x86.zip +[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/PowerShell-7.2.3-win-x64.msi From 0f4e7947d9f011e0a8b7f1b60aaa915624e878df Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Thu, 28 Apr 2022 15:26:46 -0500 Subject: [PATCH 2/2] Fixes #8739 - Update description of PropertyType parameter (#8773) * Update -PropertyType description * Editorial changes to sync versions * Update related articles --- .../About/about_Registry_Provider.md | 28 +++++++++---------- .../New-ItemProperty.md | 22 +++++++-------- .../Set-ItemProperty.md | 22 +++++++-------- .../About/about_Registry_Provider.md | 28 +++++++++---------- .../New-ItemProperty.md | 22 +++++++-------- .../Set-ItemProperty.md | 22 +++++++-------- .../About/about_Registry_Provider.md | 28 +++++++++---------- .../New-ItemProperty.md | 22 +++++++-------- .../Set-ItemProperty.md | 22 +++++++-------- .../About/about_Registry_Provider.md | 28 +++++++++---------- .../New-ItemProperty.md | 22 +++++++-------- .../Set-ItemProperty.md | 22 +++++++-------- .../About/about_Registry_Provider.md | 28 +++++++++---------- .../New-ItemProperty.md | 22 +++++++-------- .../Set-ItemProperty.md | 24 ++++++++-------- 15 files changed, 181 insertions(+), 181 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md index b3c10d6e67cb..ff0deb311e05 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md @@ -1,7 +1,7 @@ --- description: Registry Locale: en-US -ms.date: 09/28/2021 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_registry_provider?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Registry Provider @@ -541,19 +541,19 @@ cmdlet. It is also available on the [Set-Item](xref:Microsoft.PowerShell.Management.Set-Item) cmdlet in the registry drives, but it has no effect. -| Value | Description | -| -------------- | ------------------------------------------------------------ | -| `String` | Specifies a null-terminated string. Equivalent to REG_SZ. | -| `ExpandString` | Specifies a null-terminated string that contains unexpanded | -| | references to environment variables that are expanded when | -| | the value is retrieved. Equivalent to REG_EXPAND_SZ. | -| `Binary` | Specifies binary data in any form. Equivalent to REG_BINARY. | -| `DWord` | Specifies a 32-bit binary number. Equivalent to REG_DWORD. | -| `MultiString` | Specifies an array of null-terminated strings terminated by | -| | two null characters. Equivalent to REG_MULTI_SZ. | -| `QWord` | Specifies a 64-bit binary number. Equivalent to REG_QWORD. | -| `Unknown` | Indicates an unsupported registry data type, such as | -| | REG_RESOURCE_LIST. | +| Value | Description | +| -------------- | -------------------------------------------------------------- | +| `String` | Specifies a null-terminated string. Used for REG_SZ values. | +| `ExpandString` | Specifies a null-terminated string that contains unexpanded | +| | references to environment variables that are expanded when | +| | the value is retrieved. Used for REG_EXPAND_SZ values. | +| `Binary` | Specifies binary data in any form. Used for REG_BINARY values. | +| `DWord` | Specifies a 32-bit binary number. Used for REG_DWORD values. | +| `MultiString` | Specifies an array of null-terminated strings terminated by | +| | two null characters. Used for REG_MULTI_SZ values. | +| `QWord` | Specifies a 64-bit binary number. Used for REG_QWORD values. | +| `Unknown` | Indicates an unsupported registry data type, such as | +| | REG_RESOURCE_LIST values. | #### Cmdlets supported diff --git a/reference/5.1/Microsoft.PowerShell.Management/New-ItemProperty.md b/reference/5.1/Microsoft.PowerShell.Management/New-ItemProperty.md index c610e352a972..0070a13780ac 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/New-ItemProperty.md +++ b/reference/5.1/Microsoft.PowerShell.Management/New-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/18/2018 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/new-itemproperty?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: New-ItemProperty @@ -280,16 +280,16 @@ Accept wildcard characters: False Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: System.String diff --git a/reference/5.1/Microsoft.PowerShell.Management/Set-ItemProperty.md b/reference/5.1/Microsoft.PowerShell.Management/Set-ItemProperty.md index 314e8c16a040..7354621d71b8 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Set-ItemProperty.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Set-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/28/2021 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/set-itemproperty?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-ItemProperty @@ -336,16 +336,16 @@ This parameter only works in the registry drives. Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: Microsoft.Win32.RegistryValueKind diff --git a/reference/7.0/Microsoft.PowerShell.Core/About/about_Registry_Provider.md b/reference/7.0/Microsoft.PowerShell.Core/About/about_Registry_Provider.md index ac52c97c74a0..0cc1402d27e2 100644 --- a/reference/7.0/Microsoft.PowerShell.Core/About/about_Registry_Provider.md +++ b/reference/7.0/Microsoft.PowerShell.Core/About/about_Registry_Provider.md @@ -1,7 +1,7 @@ --- description: Registry Locale: en-US -ms.date: 03/07/2022 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_registry_provider?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Registry Provider @@ -543,19 +543,19 @@ cmdlet. It is also available on the [Set-Item](xref:Microsoft.PowerShell.Management.Set-Item) cmdlet in the registry drives, but it has no effect. -| Value | Description | -| -------------- | ------------------------------------------------------------ | -| `String` | Specifies a null-terminated string. Equivalent to REG_SZ. | -| `ExpandString` | Specifies a null-terminated string that contains unexpanded | -| | references to environment variables that are expanded when | -| | the value is retrieved. Equivalent to REG_EXPAND_SZ. | -| `Binary` | Specifies binary data in any form. Equivalent to REG_BINARY. | -| `DWord` | Specifies a 32-bit binary number. Equivalent to REG_DWORD. | -| `MultiString` | Specifies an array of null-terminated strings terminated by | -| | two null characters. Equivalent to REG_MULTI_SZ. | -| `QWord` | Specifies a 64-bit binary number. Equivalent to REG_QWORD. | -| `Unknown` | Indicates an unsupported registry data type, such as | -| | REG_RESOURCE_LIST. | +| Value | Description | +| -------------- | -------------------------------------------------------------- | +| `String` | Specifies a null-terminated string. Used for REG_SZ values. | +| `ExpandString` | Specifies a null-terminated string that contains unexpanded | +| | references to environment variables that are expanded when | +| | the value is retrieved. Used for REG_EXPAND_SZ values. | +| `Binary` | Specifies binary data in any form. Used for REG_BINARY values. | +| `DWord` | Specifies a 32-bit binary number. Used for REG_DWORD values. | +| `MultiString` | Specifies an array of null-terminated strings terminated by | +| | two null characters. Used for REG_MULTI_SZ values. | +| `QWord` | Specifies a 64-bit binary number. Used for REG_QWORD values. | +| `Unknown` | Indicates an unsupported registry data type, such as | +| | REG_RESOURCE_LIST values. | #### Cmdlets supported diff --git a/reference/7.0/Microsoft.PowerShell.Management/New-ItemProperty.md b/reference/7.0/Microsoft.PowerShell.Management/New-ItemProperty.md index 6431ae819947..40ea3d9d9915 100644 --- a/reference/7.0/Microsoft.PowerShell.Management/New-ItemProperty.md +++ b/reference/7.0/Microsoft.PowerShell.Management/New-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 05/14/2019 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/new-itemproperty?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 title: New-ItemProperty @@ -277,16 +277,16 @@ Accept wildcard characters: True Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: System.String diff --git a/reference/7.0/Microsoft.PowerShell.Management/Set-ItemProperty.md b/reference/7.0/Microsoft.PowerShell.Management/Set-ItemProperty.md index d981b517ceb2..aaeab5461e9d 100644 --- a/reference/7.0/Microsoft.PowerShell.Management/Set-ItemProperty.md +++ b/reference/7.0/Microsoft.PowerShell.Management/Set-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/28/2021 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/set-itemproperty?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-ItemProperty @@ -338,16 +338,16 @@ This parameter only works in the registry drives. Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: Microsoft.Win32.RegistryValueKind diff --git a/reference/7.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md b/reference/7.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md index fb7f87aa8d3b..bf67758df000 100644 --- a/reference/7.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md +++ b/reference/7.1/Microsoft.PowerShell.Core/About/about_Registry_Provider.md @@ -1,7 +1,7 @@ --- description: Registry Locale: en-US -ms.date: 03/07/2022 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_registry_provider?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Registry Provider @@ -543,19 +543,19 @@ cmdlet. It is also available on the [Set-Item](xref:Microsoft.PowerShell.Management.Set-Item) cmdlet in the registry drives, but it has no effect. -| Value | Description | -| -------------- | ------------------------------------------------------------ | -| `String` | Specifies a null-terminated string. Equivalent to REG_SZ. | -| `ExpandString` | Specifies a null-terminated string that contains unexpanded | -| | references to environment variables that are expanded when | -| | the value is retrieved. Equivalent to REG_EXPAND_SZ. | -| `Binary` | Specifies binary data in any form. Equivalent to REG_BINARY. | -| `DWord` | Specifies a 32-bit binary number. Equivalent to REG_DWORD. | -| `MultiString` | Specifies an array of null-terminated strings terminated by | -| | two null characters. Equivalent to REG_MULTI_SZ. | -| `QWord` | Specifies a 64-bit binary number. Equivalent to REG_QWORD. | -| `Unknown` | Indicates an unsupported registry data type, such as | -| | REG_RESOURCE_LIST. | +| Value | Description | +| -------------- | -------------------------------------------------------------- | +| `String` | Specifies a null-terminated string. Used for REG_SZ values. | +| `ExpandString` | Specifies a null-terminated string that contains unexpanded | +| | references to environment variables that are expanded when | +| | the value is retrieved. Used for REG_EXPAND_SZ values. | +| `Binary` | Specifies binary data in any form. Used for REG_BINARY values. | +| `DWord` | Specifies a 32-bit binary number. Used for REG_DWORD values. | +| `MultiString` | Specifies an array of null-terminated strings terminated by | +| | two null characters. Used for REG_MULTI_SZ values. | +| `QWord` | Specifies a 64-bit binary number. Used for REG_QWORD values. | +| `Unknown` | Indicates an unsupported registry data type, such as | +| | REG_RESOURCE_LIST values. | #### Cmdlets supported diff --git a/reference/7.1/Microsoft.PowerShell.Management/New-ItemProperty.md b/reference/7.1/Microsoft.PowerShell.Management/New-ItemProperty.md index e5f849bf3ddb..cc2021148028 100644 --- a/reference/7.1/Microsoft.PowerShell.Management/New-ItemProperty.md +++ b/reference/7.1/Microsoft.PowerShell.Management/New-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 05/14/2019 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/new-itemproperty?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: New-ItemProperty @@ -277,16 +277,16 @@ Accept wildcard characters: True Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: System.String diff --git a/reference/7.1/Microsoft.PowerShell.Management/Set-ItemProperty.md b/reference/7.1/Microsoft.PowerShell.Management/Set-ItemProperty.md index c48f6e95ff99..311949e31eaf 100644 --- a/reference/7.1/Microsoft.PowerShell.Management/Set-ItemProperty.md +++ b/reference/7.1/Microsoft.PowerShell.Management/Set-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/28/2021 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/set-itemproperty?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-ItemProperty @@ -338,16 +338,16 @@ This parameter only works in the registry drives. Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: Microsoft.Win32.RegistryValueKind diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Registry_Provider.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Registry_Provider.md index f6170f1bbdd9..691b70ae14d3 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Registry_Provider.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Registry_Provider.md @@ -1,7 +1,7 @@ --- description: Registry Locale: en-US -ms.date: 03/07/2022 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_registry_provider?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Registry Provider @@ -543,19 +543,19 @@ cmdlet. It is also available on the [Set-Item](xref:Microsoft.PowerShell.Management.Set-Item) cmdlet in the registry drives, but it has no effect. -| Value | Description | -| -------------- | ------------------------------------------------------------ | -| `String` | Specifies a null-terminated string. Equivalent to REG_SZ. | -| `ExpandString` | Specifies a null-terminated string that contains unexpanded | -| | references to environment variables that are expanded when | -| | the value is retrieved. Equivalent to REG_EXPAND_SZ. | -| `Binary` | Specifies binary data in any form. Equivalent to REG_BINARY. | -| `DWord` | Specifies a 32-bit binary number. Equivalent to REG_DWORD. | -| `MultiString` | Specifies an array of null-terminated strings terminated by | -| | two null characters. Equivalent to REG_MULTI_SZ. | -| `QWord` | Specifies a 64-bit binary number. Equivalent to REG_QWORD. | -| `Unknown` | Indicates an unsupported registry data type, such as | -| | REG_RESOURCE_LIST. | +| Value | Description | +| -------------- | -------------------------------------------------------------- | +| `String` | Specifies a null-terminated string. Used for REG_SZ values. | +| `ExpandString` | Specifies a null-terminated string that contains unexpanded | +| | references to environment variables that are expanded when | +| | the value is retrieved. Used for REG_EXPAND_SZ values. | +| `Binary` | Specifies binary data in any form. Used for REG_BINARY values. | +| `DWord` | Specifies a 32-bit binary number. Used for REG_DWORD values. | +| `MultiString` | Specifies an array of null-terminated strings terminated by | +| | two null characters. Used for REG_MULTI_SZ values. | +| `QWord` | Specifies a 64-bit binary number. Used for REG_QWORD values. | +| `Unknown` | Indicates an unsupported registry data type, such as | +| | REG_RESOURCE_LIST values. | #### Cmdlets supported diff --git a/reference/7.2/Microsoft.PowerShell.Management/New-ItemProperty.md b/reference/7.2/Microsoft.PowerShell.Management/New-ItemProperty.md index 7bb32ef1d17c..024ca2b95b79 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/New-ItemProperty.md +++ b/reference/7.2/Microsoft.PowerShell.Management/New-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 05/14/2019 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/new-itemproperty?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: New-ItemProperty @@ -277,16 +277,16 @@ Accept wildcard characters: True Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: System.String diff --git a/reference/7.2/Microsoft.PowerShell.Management/Set-ItemProperty.md b/reference/7.2/Microsoft.PowerShell.Management/Set-ItemProperty.md index b572b9368143..386c01f827ca 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/Set-ItemProperty.md +++ b/reference/7.2/Microsoft.PowerShell.Management/Set-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/28/2021 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/set-itemproperty?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-ItemProperty @@ -338,16 +338,16 @@ This parameter only works in the registry drives. Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: Microsoft.Win32.RegistryValueKind diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Registry_Provider.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Registry_Provider.md index 6d250224d1c1..dc9b707e53bf 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Registry_Provider.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Registry_Provider.md @@ -1,7 +1,7 @@ --- description: Registry Locale: en-US -ms.date: 03/07/2022 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_registry_provider?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Registry Provider @@ -543,19 +543,19 @@ cmdlet. It is also available on the [Set-Item](xref:Microsoft.PowerShell.Management.Set-Item) cmdlet in the registry drives, but it has no effect. -| Value | Description | -| -------------- | ------------------------------------------------------------ | -| `String` | Specifies a null-terminated string. Equivalent to REG_SZ. | -| `ExpandString` | Specifies a null-terminated string that contains unexpanded | -| | references to environment variables that are expanded when | -| | the value is retrieved. Equivalent to REG_EXPAND_SZ. | -| `Binary` | Specifies binary data in any form. Equivalent to REG_BINARY. | -| `DWord` | Specifies a 32-bit binary number. Equivalent to REG_DWORD. | -| `MultiString` | Specifies an array of null-terminated strings terminated by | -| | two null characters. Equivalent to REG_MULTI_SZ. | -| `QWord` | Specifies a 64-bit binary number. Equivalent to REG_QWORD. | -| `Unknown` | Indicates an unsupported registry data type, such as | -| | REG_RESOURCE_LIST. | +| Value | Description | +| -------------- | -------------------------------------------------------------- | +| `String` | Specifies a null-terminated string. Used for REG_SZ values. | +| `ExpandString` | Specifies a null-terminated string that contains unexpanded | +| | references to environment variables that are expanded when | +| | the value is retrieved. Used for REG_EXPAND_SZ values. | +| `Binary` | Specifies binary data in any form. Used for REG_BINARY values. | +| `DWord` | Specifies a 32-bit binary number. Used for REG_DWORD values. | +| `MultiString` | Specifies an array of null-terminated strings terminated by | +| | two null characters. Used for REG_MULTI_SZ values. | +| `QWord` | Specifies a 64-bit binary number. Used for REG_QWORD values. | +| `Unknown` | Indicates an unsupported registry data type, such as | +| | REG_RESOURCE_LIST values. | #### Cmdlets supported diff --git a/reference/7.3/Microsoft.PowerShell.Management/New-ItemProperty.md b/reference/7.3/Microsoft.PowerShell.Management/New-ItemProperty.md index c1ff546122f3..6c455734cdba 100644 --- a/reference/7.3/Microsoft.PowerShell.Management/New-ItemProperty.md +++ b/reference/7.3/Microsoft.PowerShell.Management/New-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 05/14/2019 +ms.date: 04/28/2022 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/new-itemproperty?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: New-ItemProperty @@ -277,16 +277,16 @@ Accept wildcard characters: True Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: System.String diff --git a/reference/7.3/Microsoft.PowerShell.Management/Set-ItemProperty.md b/reference/7.3/Microsoft.PowerShell.Management/Set-ItemProperty.md index b52cd15cbfc7..a968dfb56e0c 100644 --- a/reference/7.3/Microsoft.PowerShell.Management/Set-ItemProperty.md +++ b/reference/7.3/Microsoft.PowerShell.Management/Set-ItemProperty.md @@ -2,8 +2,8 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 10/28/2021 -online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/set-itemproperty?view=powershell-7.3&WT.mc_id=ps-gethelp +ms.date: 04/28/2022 +online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/set-itemproperty?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-ItemProperty --- @@ -338,16 +338,16 @@ This parameter only works in the registry drives. Specifies the type of property that this cmdlet adds. The acceptable values for this parameter are: -- **String**: Specifies a null-terminated string. Equivalent to **REG_SZ**. -- **ExpandString**: Specifies a null-terminated string that contains unexpanded references to - environment variables that are expanded when the value is retrieved. Equivalent to - **REG_EXPAND_SZ**. -- **Binary**: Specifies binary data in any form. Equivalent to **REG_BINARY**. -- **DWord**: Specifies a 32-bit binary number. Equivalent to **REG_DWORD**. -- **MultiString**: Specifies an array of null-terminated strings terminated by two null characters. - Equivalent to **REG_MULTI_SZ**. -- **Qword**: Specifies a 64-bit binary number. Equivalent to **REG_QWORD**. -- **Unknown**: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST**. +- `String`: Specifies a null-terminated string. Used for **REG_SZ** values. +- `ExpandString`: Specifies a null-terminated string that contains unexpanded references to + environment variables that are expanded when the value is retrieved. Used for **REG_EXPAND_SZ** + values. +- `Binary`: Specifies binary data in any form. Used for **REG_BINARY** values. +- `DWord`: Specifies a 32-bit binary number. Used for **REG_DWORD** values. +- `MultiString`: Specifies an array of null-terminated strings terminated by two null characters. + Used for **REG_MULTI_SZ** values. +- `Qword`: Specifies a 64-bit binary number. Used for **REG_QWORD** values. +- `Unknown`: Indicates an unsupported registry data type, such as **REG_RESOURCE_LIST** values. ```yaml Type: Microsoft.Win32.RegistryValueKind