@@ -51,8 +51,8 @@ winget search Microsoft.PowerShell
5151``` Output
5252Name Id Version Source
5353-----------------------------------------------------------------
54- PowerShell Microsoft.PowerShell 7.4.1 .0 winget
55- PowerShell Preview Microsoft.PowerShell.Preview 7.4 .0.101 winget
54+ PowerShell Microsoft.PowerShell 7.4.2 .0 winget
55+ PowerShell Preview Microsoft.PowerShell.Preview 7.5 .0.2 winget
5656```
5757
5858Install PowerShell or PowerShell Preview using the ` id ` parameter
@@ -72,8 +72,8 @@ winget install --id Microsoft.Powershell.Preview --source winget
7272To install PowerShell on Windows, use the following links to download the install package from
7373GitHub.
7474
75- - [ PowerShell-7.4.1 -win-x64.msi] [ 28 ]
76- - [ PowerShell-7.4.1 -win-x86.msi] [ 30 ]
75+ - [ PowerShell-7.4.2 -win-x64.msi] [ 28 ]
76+ - [ PowerShell-7.4.2 -win-x86.msi] [ 30 ]
7777
7878Once downloaded, double-click the installer file and follow the prompts.
7979
@@ -143,7 +143,7 @@ installation options:
143143The following example shows how to silently install PowerShell with all the install options enabled.
144144
145145``` powershell
146- msiexec.exe /package PowerShell-7.4.1 -win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
146+ msiexec.exe /package PowerShell-7.4.2 -win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
147147```
148148
149149For a full list of command-line options for ` Msiexec.exe ` , see
@@ -154,9 +154,9 @@ For a full list of command-line options for `Msiexec.exe`, see
154154PowerShell binary ZIP archives are provided to enable advanced deployment scenarios. Download one of
155155the following ZIP archives from the [ current release] [ 23 ] page.
156156
157- - [ PowerShell-7.4.1 -win-x64.zip] [ 29 ]
158- - [ PowerShell-7.4.1 -win-x86.zip] [ 31 ]
159- - [ PowerShell-7.4.1 -win-arm64.zip] [ 27 ]
157+ - [ PowerShell-7.4.2 -win-x64.zip] [ 29 ]
158+ - [ PowerShell-7.4.2 -win-x86.zip] [ 31 ]
159+ - [ PowerShell-7.4.2 -win-arm64.zip] [ 27 ]
160160
161161Depending on how you download the file you may need to unblock the file using the ` Unblock-File `
162162cmdlet. Unzip the contents to the location of your choice and run ` pwsh.exe ` from there. Unlike
@@ -255,7 +255,7 @@ If there is an available upgrade, the output indicates the latest available vers
255255
256256> [ !NOTE]
257257> When upgrading, PowerShell won't upgrade from an LTS version to a non-LTS version. It only
258- > upgrades to the latest version of LTS, for example, from 7.2.3 to 7.2.18 . To upgrade from an
258+ > upgrades to the latest version of LTS, for example, from 7.2.3 to 7.2.19 . To upgrade from an
259259> LTS release to a newer stable version or the next LTS, you need to install the new version with
260260> the MSI for that release.
261261>
@@ -269,7 +269,7 @@ Windows 10 IoT Enterprise comes with Windows PowerShell, which we can use to dep
269269``` powershell
270270# Replace the placeholder information for the following variables:
271271$deviceip = '<device ip address'
272- $zipfile = 'PowerShell-7.4.1 -win-arm64.zip'
272+ $zipfile = 'PowerShell-7.4.2 -win-arm64.zip'
273273$downloadfolder = 'u:\users\administrator\Downloads' # The download location is local to the device.
274274 # There should be enough space for the zip file and the unzipped contents.
275275
@@ -282,10 +282,10 @@ Copy-Item $zipfile -Destination $downloadfolder -ToSession $S
282282#Connect to the device and expand the archive
283283Enter-PSSession $S
284284Set-Location u:\users\administrator\Downloads
285- Expand-Archive .\PowerShell-7.4.1 -win-arm64.zip
285+ Expand-Archive .\PowerShell-7.4.2 -win-arm64.zip
286286
287287# Set up remoting to PowerShell 7
288- Set-Location .\PowerShell-7.4.1 -win-arm64
288+ Set-Location .\PowerShell-7.4.2 -win-arm64
289289# Be sure to use the -PowerShellHome parameter otherwise it tries to create a new
290290# endpoint with Windows PowerShell 5.1
291291.\Install-PowerShellRemoting.ps1 -PowerShellHome .
@@ -297,7 +297,7 @@ PowerShell has to restart WinRM. Now you can connect to PowerShell 7 endpoint on
297297``` powershell
298298
299299# Be sure to use the -Configuration parameter. If you omit it, you connect to Windows PowerShell 5.1
300- Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.1
300+ Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.2
301301```
302302
303303## Deploying on Windows 10 IoT Core
@@ -346,15 +346,15 @@ Deploy PowerShell to Nano Server using the following steps.
346346# Replace the placeholder information for the following variables:
347347$ipaddr = '<Nano Server IP address>'
348348$credential = Get-Credential # <An Administrator account on the system>
349- $zipfile = 'PowerShell-7.4.1 -win-x64.zip'
349+ $zipfile = 'PowerShell-7.4.2 -win-x64.zip'
350350# Connect to the built-in instance of Windows PowerShell
351351$session = New-PSSession -ComputerName $ipaddr -Credential $credential
352352# Copy the file to the Nano Server instance
353353Copy-Item $zipfile c:\ -ToSession $session
354354# Enter the interactive remote session
355355Enter-PSSession $session
356356# Extract the ZIP file
357- Expand-Archive -Path C:\PowerShell-7.4.1 -win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7'
357+ Expand-Archive -Path C:\PowerShell-7.4.2 -win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7'
358358```
359359
360360If you want WSMan-based remoting, follow the instructions to create a remoting endpoint using the
@@ -409,11 +409,11 @@ can't support those methods.
409409[ 22 ] : https://aka.ms/powershell-release?tag=preview
410410[ 23 ] : https://aka.ms/powershell-release?tag=stable
411411[ 24 ] : https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease
412- [ 27 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.1 /PowerShell-7.4.1 -win-arm64.zip
413- [ 28 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.1 /PowerShell-7.4.1 -win-x64.msi
414- [ 29 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.1 /PowerShell-7.4.1 -win-x64.zip
415- [ 30 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.1 /PowerShell-7.4.1 -win-x86.msi
416- [ 31 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.1 /PowerShell-7.4.1 -win-x86.zip
412+ [ 27 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.2 /PowerShell-7.4.2 -win-arm64.zip
413+ [ 28 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.2 /PowerShell-7.4.2 -win-x64.msi
414+ [ 29 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.2 /PowerShell-7.4.2 -win-x64.zip
415+ [ 30 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.2 /PowerShell-7.4.2 -win-x86.msi
416+ [ 31 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.2 /PowerShell-7.4.2 -win-x86.zip
417417[ 32 ] : https://www.microsoft.com/download/details.aspx?id=50410
418418[ 33 ] : https://www.microsoft.com/store/apps/9MZ1SNWT0N5D
419419[ 34 ] : microsoft-update-faq.yml
0 commit comments