11--- 
22description : Information about installing PowerShell on Windows 
3- ms.date : 12/12/2024 
3+ ms.date : 01/23/2025 
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.6 .0   winget 
58+ PowerShell         Microsoft.PowerShell         7.4.7 .0   winget 
5959PowerShell Preview Microsoft.PowerShell.Preview 7.5.0.101 winget 
6060``` 
6161
@@ -79,9 +79,9 @@ winget install --id Microsoft.PowerShell.Preview --source winget
7979To install PowerShell on Windows, use the following links to download the install package from
8080GitHub.
8181
82- -  [ PowerShell-7.4.6 -win-x64.msi] [ 28 ] 
83- -  [ PowerShell-7.4.6 -win-x86.msi] [ 30 ] 
84- -  [ PowerShell-7.4.6 -win-arm64.msi] [ 36 ] 
82+ -  [ PowerShell-7.4.7 -win-x64.msi] [ 28 ] 
83+ -  [ PowerShell-7.4.7 -win-x86.msi] [ 30 ] 
84+ -  [ PowerShell-7.4.7 -win-arm64.msi] [ 36 ] 
8585
8686Once downloaded, double-click the installer file and follow the prompts.
8787
@@ -151,7 +151,7 @@ installation options:
151151The following example shows how to silently install PowerShell with all the install options enabled.
152152
153153``` powershell 
154- msiexec.exe /package PowerShell-7.4.6 -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 
154+ msiexec.exe /package PowerShell-7.4.7 -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 
155155``` 
156156
157157For a full list of command-line options for ` Msiexec.exe ` , see
@@ -162,9 +162,9 @@ For a full list of command-line options for `Msiexec.exe`, see
162162PowerShell binary ZIP archives are provided to enable advanced deployment scenarios. Download one of
163163the following ZIP archives from the [ current release] [ 23 ]  page.
164164
165- -  [ PowerShell-7.4.6 -win-x64.zip] [ 29 ] 
166- -  [ PowerShell-7.4.6 -win-x86.zip] [ 31 ] 
167- -  [ PowerShell-7.4.6 -win-arm64.zip] [ 27 ] 
165+ -  [ PowerShell-7.4.7 -win-x64.zip] [ 29 ] 
166+ -  [ PowerShell-7.4.7 -win-x86.zip] [ 31 ] 
167+ -  [ PowerShell-7.4.7 -win-arm64.zip] [ 27 ] 
168168
169169Depending on how you download the file you may need to unblock the file using the ` Unblock-File ` 
170170cmdlet. Unzip the contents to the location of your choice and run ` pwsh.exe `  from there. Unlike
@@ -261,7 +261,7 @@ If there is an available upgrade, the output indicates the latest available vers
261261
262262>  [ !NOTE] 
263263>  When upgrading, PowerShell won't upgrade from an LTS version to a non-LTS version. It only
264- >  upgrades to the latest version of LTS, for example, from 7.4.3 to 7.4.6 . To upgrade from an
264+ >  upgrades to the latest version of LTS, for example, from 7.4.3 to 7.4.7 . To upgrade from an
265265>  LTS release to a newer stable version or the next LTS, you need to install the new version with
266266>  the MSI for that release.
267267> 
@@ -275,7 +275,7 @@ Windows 10 IoT Enterprise comes with Windows PowerShell, which we can use to dep
275275``` powershell 
276276# Replace the placeholder information for the following variables: 
277277$deviceip = '<device ip address' 
278- $zipfile = 'PowerShell-7.4.6 -win-arm64.zip' 
278+ $zipfile = 'PowerShell-7.4.7 -win-arm64.zip' 
279279$downloadfolder = 'u:\users\administrator\Downloads'  # The download location is local to the device. 
280280    # There should be enough  space for the zip file and the unzipped contents. 
281281
@@ -288,10 +288,10 @@ Copy-Item $zipfile -Destination $downloadfolder -ToSession $S
288288#Connect to the device and expand the archive 
289289Enter-PSSession $S 
290290Set-Location u:\users\administrator\Downloads 
291- Expand-Archive .\PowerShell-7.4.6 -win-arm64.zip 
291+ Expand-Archive .\PowerShell-7.4.7 -win-arm64.zip 
292292
293293# Set up remoting to PowerShell 7 
294- Set-Location .\PowerShell-7.4.6 -win-arm64 
294+ Set-Location .\PowerShell-7.4.7 -win-arm64 
295295# Be sure to use the -PowerShellHome parameter otherwise it tries to create a new 
296296# endpoint with Windows PowerShell 5.1 
297297.\Install-PowerShellRemoting.ps1 -PowerShellHome . 
@@ -303,7 +303,7 @@ PowerShell has to restart WinRM. Now you can connect to PowerShell 7 endpoint on
303303``` powershell 
304304
305305# Be sure to use the -Configuration parameter. If you omit it, you connect to Windows PowerShell 5.1 
306- Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.6  
306+ Enter-PSSession -ComputerName $deviceIp -Credential Administrator -Configuration PowerShell.7.4.7  
307307``` 
308308
309309## Deploying on Windows 10 IoT Core  
@@ -352,15 +352,15 @@ Deploy PowerShell to Nano Server using the following steps.
352352# Replace the placeholder information for the following variables: 
353353$ipaddr = '<Nano Server IP address>' 
354354$credential = Get-Credential # <An Administrator account on the system> 
355- $zipfile = 'PowerShell-7.4.6 -win-x64.zip' 
355+ $zipfile = 'PowerShell-7.4.7 -win-x64.zip' 
356356# Connect to the built-in instance of Windows PowerShell 
357357$session = New-PSSession -ComputerName $ipaddr -Credential $credential 
358358# Copy the file to the Nano Server instance 
359359Copy-Item $zipfile c:\ -ToSession $session 
360360# Enter the interactive remote session 
361361Enter-PSSession $session 
362362# Extract the ZIP file 
363- Expand-Archive -Path C:\PowerShell-7.4.6 -win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' 
363+ Expand-Archive -Path C:\PowerShell-7.4.7 -win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' 
364364``` 
365365
366366If you want WSMan-based remoting, follow the instructions to create a remoting endpoint using the
@@ -415,13 +415,13 @@ can't support those methods.
415415[ 22 ] : https://aka.ms/powershell-release?tag=preview 
416416[ 23 ] : https://aka.ms/powershell-release?tag=stable 
417417[ 24 ] : https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease 
418- [ 27 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.6 /PowerShell-7.4.6 -win-arm64.zip 
419- [ 28 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.6 /PowerShell-7.4.6 -win-x64.msi 
420- [ 29 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.6 /PowerShell-7.4.6 -win-x64.zip 
421- [ 30 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.6 /PowerShell-7.4.6 -win-x86.msi 
422- [ 31 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.6 /PowerShell-7.4.6 -win-x86.zip 
418+ [ 27 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.7 /PowerShell-7.4.7 -win-arm64.zip 
419+ [ 28 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.7 /PowerShell-7.4.7 -win-x64.msi 
420+ [ 29 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.7 /PowerShell-7.4.7 -win-x64.zip 
421+ [ 30 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.7 /PowerShell-7.4.7 -win-x86.msi 
422+ [ 31 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.7 /PowerShell-7.4.7 -win-x86.zip 
423423[ 32 ] : https://www.microsoft.com/download/details.aspx?id=50410 
424424[ 33 ] : https://www.microsoft.com/store/apps/9MZ1SNWT0N5D 
425425[ 34 ] : microsoft-update-faq.yml 
426426[ 35 ] : https://techcommunity.microsoft.com/t5/windows-server-insiders/announcing-windows-server-preview-build-26085/m-p/4098829 
427- [ 36 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.6 /PowerShell-7.4.6 -win-arm64.msi 
427+ [ 36 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.7 /PowerShell-7.4.7 -win-arm64.msi 
0 commit comments