11---
22description : Information about installing PowerShell on Windows
3- ms.date : 06/19 /2024
3+ ms.date : 07/24 /2024
44title : Installing PowerShell on Windows
55---
66# Installing PowerShell on Windows
@@ -55,7 +55,7 @@ winget search Microsoft.PowerShell
5555``` Output
5656Name Id Version Source
5757-----------------------------------------------------------------
58- PowerShell Microsoft.PowerShell 7.4.3 .0 winget
58+ PowerShell Microsoft.PowerShell 7.4.4 .0 winget
5959PowerShell Preview Microsoft.PowerShell.Preview 7.5.0.3 winget
6060```
6161
@@ -76,8 +76,8 @@ winget install --id Microsoft.Powershell.Preview --source winget
7676To install PowerShell on Windows, use the following links to download the install package from
7777GitHub.
7878
79- - [ PowerShell-7.4.3 -win-x64.msi] [ 28 ]
80- - [ PowerShell-7.4.3 -win-x86.msi] [ 30 ]
79+ - [ PowerShell-7.4.4 -win-x64.msi] [ 28 ]
80+ - [ PowerShell-7.4.4 -win-x86.msi] [ 30 ]
8181
8282Once downloaded, double-click the installer file and follow the prompts.
8383
@@ -147,7 +147,7 @@ installation options:
147147The following example shows how to silently install PowerShell with all the install options enabled.
148148
149149``` powershell
150- msiexec.exe /package PowerShell-7.4.3 -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
150+ msiexec.exe /package PowerShell-7.4.4 -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
151151```
152152
153153For a full list of command-line options for ` Msiexec.exe ` , see
@@ -158,9 +158,9 @@ For a full list of command-line options for `Msiexec.exe`, see
158158PowerShell binary ZIP archives are provided to enable advanced deployment scenarios. Download one of
159159the following ZIP archives from the [ current release] [ 23 ] page.
160160
161- - [ PowerShell-7.4.3 -win-x64.zip] [ 29 ]
162- - [ PowerShell-7.4.3 -win-x86.zip] [ 31 ]
163- - [ PowerShell-7.4.3 -win-arm64.zip] [ 27 ]
161+ - [ PowerShell-7.4.4 -win-x64.zip] [ 29 ]
162+ - [ PowerShell-7.4.4 -win-x86.zip] [ 31 ]
163+ - [ PowerShell-7.4.4 -win-arm64.zip] [ 27 ]
164164
165165Depending on how you download the file you may need to unblock the file using the ` Unblock-File `
166166cmdlet. Unzip the contents to the location of your choice and run ` pwsh.exe ` from there. Unlike
@@ -259,7 +259,7 @@ If there is an available upgrade, the output indicates the latest available vers
259259
260260> [ !NOTE]
261261> When upgrading, PowerShell won't upgrade from an LTS version to a non-LTS version. It only
262- > upgrades to the latest version of LTS, for example, from 7.2.3 to 7.2.21 . To upgrade from an
262+ > upgrades to the latest version of LTS, for example, from 7.2.3 to 7.2.22 . To upgrade from an
263263> LTS release to a newer stable version or the next LTS, you need to install the new version with
264264> the MSI for that release.
265265>
@@ -273,7 +273,7 @@ Windows 10 IoT Enterprise comes with Windows PowerShell, which we can use to dep
273273``` powershell
274274# Replace the placeholder information for the following variables:
275275$deviceip = '<device ip address'
276- $zipfile = 'PowerShell-7.4.3 -win-arm64.zip'
276+ $zipfile = 'PowerShell-7.4.4 -win-arm64.zip'
277277$downloadfolder = 'u:\users\administrator\Downloads' # The download location is local to the device.
278278 # There should be enough space for the zip file and the unzipped contents.
279279
@@ -286,10 +286,10 @@ Copy-Item $zipfile -Destination $downloadfolder -ToSession $S
286286#Connect to the device and expand the archive
287287Enter-PSSession $S
288288Set-Location u:\users\administrator\Downloads
289- Expand-Archive .\PowerShell-7.4.3 -win-arm64.zip
289+ Expand-Archive .\PowerShell-7.4.4 -win-arm64.zip
290290
291291# Set up remoting to PowerShell 7
292- Set-Location .\PowerShell-7.4.3 -win-arm64
292+ Set-Location .\PowerShell-7.4.4 -win-arm64
293293# Be sure to use the -PowerShellHome parameter otherwise it tries to create a new
294294# endpoint with Windows PowerShell 5.1
295295.\Install-PowerShellRemoting.ps1 -PowerShellHome .
@@ -301,7 +301,7 @@ PowerShell has to restart WinRM. Now you can connect to PowerShell 7 endpoint on
301301``` powershell
302302
303303# Be sure to use the -Configuration parameter. If you omit it, you connect to Windows PowerShell 5.1
304- Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.3
304+ Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.4
305305```
306306
307307## Deploying on Windows 10 IoT Core
@@ -350,15 +350,15 @@ Deploy PowerShell to Nano Server using the following steps.
350350# Replace the placeholder information for the following variables:
351351$ipaddr = '<Nano Server IP address>'
352352$credential = Get-Credential # <An Administrator account on the system>
353- $zipfile = 'PowerShell-7.4.3 -win-x64.zip'
353+ $zipfile = 'PowerShell-7.4.4 -win-x64.zip'
354354# Connect to the built-in instance of Windows PowerShell
355355$session = New-PSSession -ComputerName $ipaddr -Credential $credential
356356# Copy the file to the Nano Server instance
357357Copy-Item $zipfile c:\ -ToSession $session
358358# Enter the interactive remote session
359359Enter-PSSession $session
360360# Extract the ZIP file
361- Expand-Archive -Path C:\PowerShell-7.4.3 -win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7'
361+ Expand-Archive -Path C:\PowerShell-7.4.4 -win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7'
362362```
363363
364364If you want WSMan-based remoting, follow the instructions to create a remoting endpoint using the
@@ -413,11 +413,11 @@ can't support those methods.
413413[ 22 ] : https://aka.ms/powershell-release?tag=preview
414414[ 23 ] : https://aka.ms/powershell-release?tag=stable
415415[ 24 ] : https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease
416- [ 27 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.3 /PowerShell-7.4.3 -win-arm64.zip
417- [ 28 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.3 /PowerShell-7.4.3 -win-x64.msi
418- [ 29 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.3 /PowerShell-7.4.3 -win-x64.zip
419- [ 30 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.3 /PowerShell-7.4.3 -win-x86.msi
420- [ 31 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.3 /PowerShell-7.4.3 -win-x86.zip
416+ [ 27 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.4 /PowerShell-7.4.4 -win-arm64.zip
417+ [ 28 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.4 /PowerShell-7.4.4 -win-x64.msi
418+ [ 29 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.4 /PowerShell-7.4.4 -win-x64.zip
419+ [ 30 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.4 /PowerShell-7.4.4 -win-x86.msi
420+ [ 31 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.4 /PowerShell-7.4.4 -win-x86.zip
421421[ 32 ] : https://www.microsoft.com/download/details.aspx?id=50410
422422[ 33 ] : https://www.microsoft.com/store/apps/9MZ1SNWT0N5D
423423[ 34 ] : microsoft-update-faq.yml
0 commit comments