{"id":54335,"date":"2026-07-26T18:36:29","date_gmt":"2026-07-26T21:36:29","guid":{"rendered":"https:\/\/mastertrend.info\/?p=54335"},"modified":"2026-07-26T18:36:29","modified_gmt":"2026-07-26T21:36:29","slug":"update-powershell-on-windows","status":"publish","type":"post","link":"https:\/\/mastertrend.info\/en\/actualizar-powershell-en-windows\/","title":{"rendered":"Updating PowerShell on Windows: all methods"},"content":{"rendered":"<div class=\"mt-editorial-article\" style=\"max-width: 980px; margin: 0 auto; padding: clamp(18px,3vw,34px); font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; font-size: 17px; line-height: 1.72; color: #1f2937; background: #ffffff; box-sizing: border-box;\">\n<h2 style=\"margin: 0 0 16px; padding-bottom: 11px; border-bottom: 3px solid #2563eb; font-size: clamp(1.6em,3vw,2.05em); line-height: 1.22; color: #102a43;\">Updating PowerShell on Windows: A practical guide and official methods<\/h2>\n<p style=\"margin: 0 0 18px; font-size: 1.08em; line-height: 1.75; color: #283548;\"><strong>Update PowerShell in Windows<\/strong> It is necessary to distinguish between two different products. Windows PowerShell 5.1 is part of the operating system and only receives security patches through Windows Update. PowerShell 7 is installed separately and uses the executable. <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">pwsh.exe<\/code> and can be updated with WinGet, Microsoft Store, an MSI package, a ZIP file, or the .NET global tool.<\/p>\n<div class=\"mt-editorial-summary\" style=\"margin: 24px 0 30px; padding: 20px 22px; border: 1px solid #bfd3ee; border-left: 5px solid #2563eb; border-radius: 14px; background: linear-gradient(135deg,#f8fbff 0%,#edf5ff 100%); box-shadow: 0 8px 22px rgba(23,67,125,.08);\">\n<p style=\"margin: 0 0 9px; font-weight: 800; color: #17457d; font-size: 1.03em;\">Quick response<\/p>\n<p style=\"margin: 0 0 10px;\">And <a title=\"RSAT in Windows 11 and its real impact on IT management\" href=\"https:\/\/mastertrend.info\/en\/rsat-in-windows-11\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"34810\">PowerShell 7 is already installed, open Windows<\/a> Terminal and run:<\/p>\n<pre style=\"margin: 0; padding: 14px 16px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget upgrade --id Microsoft.PowerShell --exact --source winget<\/code><\/pre>\n<p style=\"margin: 12px 0 0;\">If it's not already installed, replace <code style=\"padding: 2px 6px; border-radius: 5px; background: #e3edf9;\">upgrade<\/code> by <code style=\"padding: 2px 6px; border-radius: 5px; background: #e3edf9;\">install<\/code>For administration, remoting, or installation for all users, the MSI is more complete than the default MSIX package.<\/p>\n<\/div>\n<div class=\"mt-editorial-warning\" style=\"margin: 24px 0 30px; padding: 20px 22px; border: 1px solid #f0ca8b; border-left: 5px solid #d97706; border-radius: 14px; background: #fff9ee;\">\n<p style=\"margin: 0 0 8px; font-weight: 800; color: #8a4707;\">Updating does not fix all errors<\/p>\n<p style=\"margin: 0;\">If PowerShell is slow to open, crashes, or displays errors, the cause could also be related to the startup profile, an incompatible module, a corporate policy, antivirus software, environment variables, or corrupted files. Updating may provide fixes, but it shouldn't be considered a solution for every problem.<\/p>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Windows PowerShell 5.1 and PowerShell 7 are not the same application<\/h2>\n<div class=\"mt-editorial-table-wrap\" style=\"margin: 22px 0 30px; overflow-x: auto; border: 1px solid #d8e2ee; border-radius: 14px; box-shadow: 0 6px 18px rgba(15,42,67,.06);\">\n<table style=\"width: 100%; min-width: 760px; border-collapse: collapse; background: #ffffff;\">\n<thead>\n<tr>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Feature<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Windows PowerShell 5.1<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">PowerShell 7<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Executable<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><code>powershell.exe<\/code><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><code>pwsh.exe<\/code><\/td>\n<\/tr>\n<tr style=\"background: #f8fafc;\">\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Motor<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">.NET Framework 4.x<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Modern and cross-platform .NET<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Update<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><a title=\"Windows Security won&#039;t open? 9 effective tricks \ud83d\ude80\ud83d\udcbb\" href=\"https:\/\/mastertrend.info\/en\/windows-security-wont-open\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"34811\">Windows Update; security maintenance<\/a><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">WinGet, Store\/MSIX, MSI, ZIP o .NET<\/td>\n<\/tr>\n<tr style=\"background: #f8fafc;\">\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Usual route<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><code>C:\\Windows\\System32\\WindowsPowerShell\\v1.0<\/code><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><code>C:\\Program Files\\PowerShell\\7<\/code><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>State<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Included for compatibility; no new features<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Asset development and support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"margin: 0 0 18px;\">Installing PowerShell 7 does not replace or uninstall Windows PowerShell 5.1. Both can coexist because they use different executables, folders, profiles, and module paths. This separation allows you to retain older tools that are still needed. <a title=\"Optional features in Windows 11: when to turn them on or off\" href=\"https:\/\/mastertrend.info\/en\/optional-features-in-windows-11\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"34809\">Windows PowerShell while using the features<\/a> modern versions of PowerShell 7.<\/p>\n<h3 style=\"margin: 30px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Versions in effect as of July 2026<\/h3>\n<ul style=\"margin: 18px 0 28px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\"><strong>PowerShell 7.6.4 LTS:<\/strong> current long-term support version and package that WinGet offers by default.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>PowerShell 7.5.9 Stable:<\/strong> short cycle version, supported until November 10, 2026.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>PowerShell 7.4.18 LTS:<\/strong> Previous LTS version, also supported until November 10, 2026.<\/li>\n<li style=\"margin: 0;\"><strong>PowerShell 7.7 Preview:<\/strong> test branch without production support.<\/li>\n<\/ul>\n<div class=\"mt-editorial-note\" style=\"margin: 24px 0 30px; padding: 20px 22px; border: 1px solid #c7d8ed; border-left: 5px solid #2563eb; border-radius: 14px; background: #f3f7fd;\">\n<p style=\"margin: 0 0 8px; font-weight: 800; color: #17457d;\">\u00bfStable o LTS?<\/p>\n<p style=\"margin: 0;\">The naming convention can be confusing because PowerShell 7.6 LTS is newer than PowerShell 7.5 Stable. For most users and production teams, 7.6 LTS is the more sensible choice due to its longer maintenance cycle.<\/p>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Check which version you have installed<\/h2>\n<p style=\"margin: 0 0 18px;\">Open the console you normally use and run:<\/p>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>$PSVersionTable | Select-Object PSEdition, PSVersion<\/code><\/pre>\n<ul style=\"margin: 18px 0 26px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\"><code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">PSEdition Desktop<\/code> and version 5.1: you are in Windows PowerShell.<\/li>\n<li style=\"margin-bottom: 10px;\"><code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">PSEdition Core<\/code> and version 7.x: you are in PowerShell 7.<\/li>\n<li style=\"margin: 0;\">If you installed PowerShell 7 but are still seeing 5.1, you probably opened <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">powershell.exe<\/code> instead of <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">pwsh.exe<\/code>.<\/li>\n<\/ul>\n<pre style=\"margin: 18px 0 28px; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>where.exe powershell where.exe pwsh<\/code><\/pre>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Which method should be used<\/h2>\n<div class=\"mt-editorial-table-wrap\" style=\"margin: 22px 0 30px; overflow-x: auto; border: 1px solid #d8e2ee; border-radius: 14px; box-shadow: 0 6px 18px rgba(15,42,67,.06);\">\n<table style=\"width: 100%; min-width: 820px; border-collapse: collapse; background: #ffffff;\">\n<thead>\n<tr>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Method<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Best use<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Updates<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Limitations<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>WinGet MSIX<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">PC personal<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">WinGet o Store<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Per user; without PowerShell remoting<\/td>\n<\/tr>\n<tr style=\"background: #f8fafc;\">\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>WinGet MSI<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Administration and full team<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">WinGet or Microsoft Update<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Requires administrator<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>MSI from GitHub<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Offline the company<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Microsoft Update if enabled<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Choosing the right architecture<\/td>\n<\/tr>\n<tr style=\"background: #f8fafc;\">\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Microsoft Store<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Graphical installation<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Automatic<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">MSIX limitations<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>ZIP<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Portable or multiple versions<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Manuals<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Without PATH or automatic access<\/td>\n<\/tr>\n<tr style=\"background: #f8fafc;\">\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>.NET Global Tool<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Developers<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">dotnet tool<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Requires .NET SDK<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\"><span id=\"1_Instalar_o_Actualizar_PowerShell_con_comando_Winget\">1. Install or update PowerShell using WinGet<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">Microsoft recommends WinGet as the preferred method for installing PowerShell on client computers. You can run it from Windows Terminal, Command Prompt, Windows PowerShell, or PowerShell 7.<\/p>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto; max-width: 740px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191087\" style=\"display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Run as administrator option to open a console in Windows\" width=\"600\" height=\"520\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191087\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Run as administrator option to open a console in Windows\" width=\"600\" height=\"520\" style=\"display:block;width:100%;max-width:600px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">Open as administrator when you are going to install the MSI for the whole computer.<\/figcaption><\/figure>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Update the fonts and locate the official package<\/h3>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget source update winget search --id Microsoft.PowerShell --exact<\/code><\/pre>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto; max-width: 760px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191696\" style=\"display: block; width: 100%; max-width: 615px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_721_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell search using WinGet\" width=\"615\" height=\"347\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191696\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_721_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell search using WinGet\" width=\"615\" height=\"347\" style=\"display:block;width:100%;max-width:615px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">The filter by exact ID prevents confusing the stable package with the Preview package.<\/figcaption><\/figure>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto; max-width: 740px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191694\" style=\"display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_645_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Microsoft.PowerShell identifier displayed by WinGet\" width=\"600\" height=\"397\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191694\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_645_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Microsoft.PowerShell identifier displayed by WinGet\" width=\"600\" height=\"397\" style=\"display:block;width:100%;max-width:600px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">The official ID is Microsoft.PowerShell.<\/figcaption><\/figure>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">First time installation<\/h3>\n<p style=\"margin: 0 0 18px;\">Since PowerShell 7.6, the standard command installs the MSIX package:<\/p>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget install --id Microsoft.PowerShell --exact --source winget<\/code><\/pre>\n<p style=\"margin: 0 0 18px;\">To install the traditional MSI:<\/p>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget install --id Microsoft.PowerShell --exact --source winget --installer-type wix<\/code><\/pre>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Upgrading an existing installation<\/h3>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget upgrade --id Microsoft.PowerShell --exact --source winget<\/code><\/pre>\n<p style=\"margin: 0 0 18px;\">If you use MSI and want to keep that type of installation:<\/p>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget upgrade --id Microsoft.PowerShell --exact --source winget --installer-type wix<\/code><\/pre>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto 30px; max-width: 780px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191693\" style=\"display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_382_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Installing PowerShell using WinGet\" width=\"640\" height=\"501\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191693\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_382_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Installing PowerShell using WinGet\" width=\"640\" height=\"501\" style=\"display:block;width:100%;max-width:640px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">WinGet displays the source, the chosen package, and the progress.<\/figcaption><\/figure>\n<div class=\"mt-editorial-warning\" style=\"margin: 24px 0 30px; padding: 20px 22px; border: 1px solid #f0ca8b; border-left: 5px solid #d97706; border-radius: 14px; background: #fff9ee;\">\n<p style=\"margin: 0 0 8px; font-weight: 800; color: #8a4707;\">Check the type of installation before changing it<\/p>\n<p style=\"margin: 0;\">MSIX is installed per user, while MSI is typically installed for the computer. Check first. <code style=\"padding: 2px 6px; border-radius: 5px; background: #f8e8c9;\">winget list --id Microsoft.PowerShell --exact<\/code> to avoid creating unnecessary parallel facilities.<\/p>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\"><span id=\"2_Instalar_o_Actualizar_PowerShell_desde_GitHub\">2. Download and install PowerShell from GitHub<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">The official repository publishes signed installers. This method is appropriate when you need to retain the installer, work offline, choose the architecture, or deploy it with enterprise tools.<\/p>\n<ol style=\"margin: 20px 0 28px; padding-left: 24px;\">\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Open the <a style=\"color: #0b5cab; font-weight: bold; text-decoration: underline;\" href=\"https:\/\/github.com\/PowerShell\/PowerShell\/releases\" target=\"_blank\" rel=\"noopener noreferrer\" data-wpel-link=\"external\" data-schema-attribute=\"mentions\">Official PowerShell page on GitHub<\/a>.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Download <strong>win-x64.msi<\/strong> for most PCs or <strong>win-arm64.msi<\/strong> for Windows over ARM.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">For general use, choose the latest revision of the current LTS branch.<\/li>\n<li style=\"margin: 0; padding-left: 5px;\">Do not use Preview in production.<\/li>\n<\/ol>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto; max-width: 840px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191692\" style=\"display: block; width: 100%; max-width: 700px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_841_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell packages published on GitHub\" width=\"700\" height=\"405\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191692\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_841_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell packages published on GitHub\" width=\"700\" height=\"405\" style=\"display:block;width:100%;max-width:700px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">Check the branch, architecture, and extension of the package.<\/figcaption><\/figure>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Important MSI options<\/h3>\n<ul style=\"margin: 18px 0 26px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\"><strong>Add PowerShell to Path:<\/strong> allows you to start PowerShell 7 with <code>pwsh<\/code>.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Enable updating through Microsoft Update:<\/strong> Enable updates via Windows Update, WSUS, or Configuration Manager.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Register Windows Event Logging Manifest:<\/strong> Logs PowerShell events.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Context menu:<\/strong> Adds optional shortcuts in the Explorer.<\/li>\n<li style=\"margin: 0;\"><strong>Enable PowerShell Remoting:<\/strong> Activate it only if you really need it and understand its settings.<\/li>\n<\/ul>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto; max-width: 720px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191689\" style=\"display: block; width: 100%; max-width: 568px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_705_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"MSI PowerShell Assistant in Windows\" width=\"568\" height=\"460\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191689\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572269_705_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"MSI PowerShell Assistant in Windows\" width=\"568\" height=\"460\" style=\"display:block;width:100%;max-width:568px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">The MSI allows you to control PATH, Microsoft Update, logs, and remoting.<\/figcaption><\/figure>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto 30px; max-width: 660px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191697\" style=\"display: block; width: 100%; max-width: 500px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_360_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell installation complete\" width=\"500\" height=\"399\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191697\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_360_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell installation complete\" width=\"500\" height=\"399\" style=\"display:block;width:100%;max-width:500px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">Open a new console to reload PATH.<\/figcaption><\/figure>\n<div class=\"mt-editorial-note\" style=\"margin: 24px 0 30px; padding: 20px 22px; border: 1px solid #c7d8ed; border-left: 5px solid #2563eb; border-radius: 14px; background: #f3f7fd;\">\n<p style=\"margin: 0 0 8px; font-weight: 800; color: #17457d;\">PowerShell 7.7 changes the distribution<\/p>\n<p style=\"margin: 0;\">Microsoft indicates that PowerShell 7.7 will no longer publish MSI files. WinGet will install MSIX files. This particularly affects administrators who rely on all-user installations, remote deployments, or MSI deployments.<\/p>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\"><span id=\"3_Actualizar_PowerShell_desde_la_Microsoft_Store\">3. Install or update from the Microsoft Store<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">The Microsoft Store offers a graphical installation and automatic updates. It is suitable for an individual user who uses PowerShell locally.<\/p>\n<ol style=\"margin: 20px 0 28px; padding-left: 24px;\">\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Open <strong>Microsoft Store<\/strong>.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Search <strong>PowerShell<\/strong> and verify that the publisher is Microsoft Corporation.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Credit <strong>install<\/strong>.<\/li>\n<li style=\"margin: 0; padding-left: 5px;\">To force an update, open <strong>Library<\/strong> and use <strong>Get updates<\/strong>.<\/li>\n<\/ol>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto; max-width: 780px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191688\" style=\"display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_459_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Microsoft Store on Windows 11\" width=\"640\" height=\"553\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191688\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_459_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Microsoft Store on Windows 11\" width=\"640\" height=\"553\" style=\"display:block;width:100%;max-width:640px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">Microsoft Store manages the MSIX installation and its updates.<\/figcaption><\/figure>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto 30px; max-width: 780px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191687\" style=\"display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_185_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell en Microsoft Store\" width=\"640\" height=\"504\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191687\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_185_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"PowerShell en Microsoft Store\" width=\"640\" height=\"504\" style=\"display:block;width:100%;max-width:640px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">Check the product and its publisher before installing.<\/figcaption><\/figure>\n<div class=\"mt-editorial-warning\" style=\"margin: 24px 0 30px; padding: 20px 22px; border: 1px solid #f0ca8b; border-left: 5px solid #d97706; border-radius: 14px; background: #fff9ee;\">\n<p style=\"margin: 0 0 8px; font-weight: 800; color: #8a4707;\">Store\/MSIX limitations<\/p>\n<p style=\"margin: 0;\">It is installed for a single user, does not support PowerShell remoting, and restricts certain write operations. <code style=\"padding: 2px 6px; border-radius: 5px; background: #f8e8c9;\">$PSHOME<\/code>, including profiles for all users and some LocalMachine scope settings.<\/p>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">4. Use the portable ZIP package<\/h2>\n<p style=\"margin: 0 0 18px;\">The ZIP file is useful for testing a version, keeping multiple 7.x branches in separate folders, or running PowerShell without a conventional installation.<\/p>\n<ol style=\"margin: 20px 0 28px; padding-left: 24px;\">\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Download the x64 or Arm64 ZIP from GitHub.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Unlock the file if Windows marks it as coming from the Internet.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Extract the content.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Execute <code>pwsh.exe<\/code> from the folder.<\/li>\n<li style=\"margin: 0; padding-left: 5px;\">Manually add a shortcut or path to your PATH if needed.<\/li>\n<\/ol>\n<div class=\"mt-editorial-note\" style=\"margin: 24px 0 30px; padding: 20px 22px; border: 1px solid #c7d8ed; border-left: 5px solid #2563eb; border-radius: 14px; background: #f3f7fd;\">\n<p style=\"margin: 0 0 8px; font-weight: 800; color: #17457d;\">The ZIP file does not update automatically.<\/p>\n<p style=\"margin: 0;\">You must download each new version. It also doesn't configure requirements, access, PATH, Microsoft Update, or remoting.<\/p>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">5. Install as a global .NET tool<\/h2>\n<p style=\"margin: 0 0 18px;\">Developer-oriented method using the .NET SDK:<\/p>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>dotnet tool install --global PowerShell<\/code><\/pre>\n<p style=\"margin: 0 0 18px;\">To update:<\/p>\n<pre style=\"margin: 18px 0 28px; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>dotnet tool update --global PowerShell<\/code><\/pre>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">How to update Windows PowerShell 5.1<\/h2>\n<p style=\"margin: 0 0 18px;\">Windows PowerShell 5.1 does not become PowerShell 7. It is a component of Windows and receives security updates through Windows Update.<\/p>\n<ol style=\"margin: 18px 0 28px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\">Open <strong>Configuration<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px;\">Enter <strong>Windows Update<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px;\">Credit <strong>Check for updates<\/strong>.<\/li>\n<li style=\"margin: 0;\">Install the cumulative updates and restart if prompted.<\/li>\n<\/ol>\n<p style=\"margin: 0 0 18px;\">Even if Windows is updated, Windows PowerShell will still display version 5.1. To use PowerShell 7, open the application. <strong>PowerShell 7<\/strong> or execute <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">pwsh<\/code>.<\/p>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\"><span id=\"Usar_ambas_versiones_de_PowerShell5_y_PowerShell7\">Using Windows PowerShell 5.1 and PowerShell 7 at the same time<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">The coexistence is intentional. Windows PowerShell 5.1 may still be required for legacy modules, Windows PowerShell ISE, or .NET Framework-based tools. PowerShell 7 is preferable for newer scripts and modern automation.<\/p>\n<figure class=\"mt-editorial-figure\" style=\"margin: 24px auto 30px; max-width: 840px; padding: 12px; border: 1px solid #d8e2ee; border-radius: 16px; background: #f8fafc; box-shadow: 0 8px 24px rgba(15,42,67,.08);\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-191703\" style=\"display: block; width: 100%; max-width: 700px; height: auto; margin: 0 auto; border-radius: 11px;\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_303_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Perfiles de Windows PowerShell 5.1 y PowerShell 7 en Windows Terminal\" width=\"700\" height=\"403\" title=\"\"><br \/>\n<noscript><img decoding=\"async\" class=\"aligncenter size-full wp-image-191703\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/07\/1751572270_303_Como-actualizar-PowerShell-en-Windows-Todos-los-metodos.jpg\" alt=\"Perfiles de Windows PowerShell 5.1 y PowerShell 7 en Windows Terminal\" width=\"700\" height=\"403\" style=\"display:block;width:100%;max-width:700px;height:auto;margin:0 auto;border-radius:11px;\" title=\"\"><\/noscript><figcaption style=\"margin-top: 10px; font-size: .9em; line-height: 1.5; color: #607080; text-align: center;\">Windows Terminal can display separate profiles for both editions.<\/figcaption><\/figure>\n<div class=\"mt-editorial-grid\" style=\"display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 16px; margin: 22px 0 30px;\">\n<div style=\"padding: 19px; border: 1px solid #d8e2ee; border-radius: 14px; background: #f8fafc;\">\n<p style=\"margin: 0 0 7px; font-weight: 800; color: #17457d;\">Abrir Windows PowerShell 5.1<\/p>\n<pre style=\"margin: 0; padding: 12px 14px; overflow-x: auto; border-radius: 9px; background: #0f172a; color: #e5edf8; font: 14px\/1.5 Consolas,'Courier New',monospace;\"><code>powershell<\/code><\/pre>\n<\/div>\n<div style=\"padding: 19px; border: 1px solid #d8e2ee; border-radius: 14px; background: #f8fafc;\">\n<p style=\"margin: 0 0 7px; font-weight: 800; color: #17457d;\">Abrir PowerShell 7<\/p>\n<pre style=\"margin: 0; padding: 12px 14px; overflow-x: auto; border-radius: 9px; background: #0f172a; color: #e5edf8; font: 14px\/1.5 Consolas,'Courier New',monospace;\"><code>pwsh<\/code><\/pre>\n<\/div>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Check for update<\/h2>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>$PSVersionTable | Select-Object PSEdition, PSVersion, OS<\/code><\/pre>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget list --id Microsoft.PowerShell --exact<\/code><\/pre>\n<pre style=\"margin: 18px 0 28px; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>Get-Command pwsh | Select-Object Name, Source, Version<\/code><\/pre>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Troubleshooting<\/h2>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">WinGet is not recognized<\/h3>\n<p style=\"margin: 0 0 18px;\">Update <strong>App Installer<\/strong> WinGet is not available natively from the Microsoft Store. It is not included with Windows Server 2022 or earlier; Windows Server 2025 includes it with Desktop Experience.<\/p>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">WinGet cannot find PowerShell<\/h3>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget source update winget search --id Microsoft.PowerShell --exact --source winget<\/code><\/pre>\n<p style=\"margin: 0 0 18px;\">If the source remains damaged, from an administrative console:<\/p>\n<pre style=\"margin: 18px 0 28px; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>winget source reset --force winget source update<\/code><\/pre>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">pwsh is not recognized<\/h3>\n<p style=\"margin: 0 0 18px;\">Close and reopen Windows Terminal. If you installed the MSI, try:<\/p>\n<pre style=\"margin: 18px 0 28px; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>\"C:\\Program Files\\PowerShell\\7\\pwsh.exe\"<\/code><\/pre>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">PowerShell takes a long time to start<\/h3>\n<pre style=\"margin: 18px 0; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>pwsh -NoProfile<\/code><\/pre>\n<p style=\"margin: 0 0 18px;\">If it opens correctly, check the file indicated by <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">$PROFILE<\/code>Make a copy before modifying it and check module imports, network access, and prompt customizations.<\/p>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">One module works in 5.1 but fails in 7<\/h3>\n<p style=\"margin: 0 0 18px;\">Look for a compatible version. When the module allows it, test the compatibility layer:<\/p>\n<pre style=\"margin: 18px 0 28px; padding: 15px 17px; overflow-x: auto; border: 1px solid #cbd8e8; border-radius: 10px; background: #0f172a; color: #e5edf8; font: 14px\/1.55 Consolas,'Courier New',monospace;\"><code>Import-Module NombreDelModulo -UseWindowsPowerShell<\/code><\/pre>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Safety before updating<\/h2>\n<ul style=\"margin: 18px 0 28px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\">Descarga solo desde Microsoft Store, WinGet, Microsoft Learn o PowerShell\/PowerShell en GitHub.<\/li>\n<li style=\"margin-bottom: 10px;\">Do not use portals that repackage the installer.<\/li>\n<li style=\"margin-bottom: 10px;\">Copy profiles and scripts before changing branches or installer types.<\/li>\n<li style=\"margin-bottom: 10px;\">Test critical scripts before migrating scheduled tasks from Windows PowerShell 5.1.<\/li>\n<li style=\"margin: 0;\">Do not enable remoting or reduce security controls for a basic installation.<\/li>\n<\/ul>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Frequently Asked Questions<\/h2>\n<div class=\"mt-editorial-faq\" style=\"margin: 0 0 16px; padding: 20px 22px; border: 1px solid #d8e2ee; border-radius: 14px; background: #ffffff; box-shadow: 0 5px 16px rgba(15,42,67,.05);\">\n<h3 style=\"margin: 0 0 9px; font-size: 1.18em; line-height: 1.35; color: #17375e;\">\u00bfInstalar PowerShell 7 elimina Windows PowerShell 5.1?<\/h3>\n<p style=\"margin: 0;\">No. They are installed in different folders and use different executables.<\/p>\n<\/div>\n<div class=\"mt-editorial-faq\" style=\"margin: 0 0 16px; padding: 20px 22px; border: 1px solid #d8e2ee; border-radius: 14px; background: #ffffff; box-shadow: 0 5px 16px rgba(15,42,67,.05);\">\n<h3 style=\"margin: 0 0 9px; font-size: 1.18em; line-height: 1.35; color: #17375e;\">Which version is recommended in 2026?<\/h3>\n<p style=\"margin: 0;\">For most users and production systems, PowerShell 7.6 LTS, always in its latest maintenance release.<\/p>\n<\/div>\n<div class=\"mt-editorial-faq\" style=\"margin: 0 0 16px; padding: 20px 22px; border: 1px solid #d8e2ee; border-radius: 14px; background: #ffffff; box-shadow: 0 5px 16px rgba(15,42,67,.05);\">\n<h3 style=\"margin: 0 0 9px; font-size: 1.18em; line-height: 1.35; color: #17375e;\">MSI or Microsoft Store?<\/h3>\n<p style=\"margin: 0;\">Store\/MSIX is convenient for personal use. MSI is more suitable for all users, remote access, and advanced management.<\/p>\n<\/div>\n<div class=\"mt-editorial-faq\" style=\"margin: 0 0 16px; padding: 20px 22px; border: 1px solid #d8e2ee; border-radius: 14px; background: #ffffff; box-shadow: 0 5px 16px rgba(15,42,67,.05);\">\n<h3 style=\"margin: 0 0 9px; font-size: 1.18em; line-height: 1.35; color: #17375e;\">Does PowerShell update automatically?<\/h3>\n<p style=\"margin: 0;\">Store\/MSIX can be updated automatically. MSI can use Microsoft Update if enabled. ZIP requires manual updating.<\/p>\n<\/div>\n<div class=\"mt-editorial-faq\" style=\"margin: 0 0 16px; padding: 20px 22px; border: 1px solid #d8e2ee; border-radius: 14px; background: #ffffff; box-shadow: 0 5px 16px rgba(15,42,67,.05);\">\n<h3 style=\"margin: 0 0 9px; font-size: 1.18em; line-height: 1.35; color: #17375e;\">Do I need administrator privileges?<\/h3>\n<p style=\"margin: 0;\">Not for all installations. MSIX per user can be installed without elevation; MSI for equipment and system changes usually do require it.<\/p>\n<\/div>\n<div class=\"mt-editorial-faq\" style=\"margin: 0 0 28px; padding: 20px 22px; border: 1px solid #d8e2ee; border-radius: 14px; background: #ffffff; box-shadow: 0 5px 16px rgba(15,42,67,.05);\">\n<h3 style=\"margin: 0 0 9px; font-size: 1.18em; line-height: 1.35; color: #17375e;\">Does updating improve performance?<\/h3>\n<p style=\"margin: 0;\">It can provide fixes and security, but a slow console also requires checking profiles, modules, network, and antivirus. Use <code>pwsh -NoProfile<\/code> to isolate the beginning.<\/p>\n<\/div>\n<h2 style=\"margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 3px solid #2563eb; font-size: clamp(1.55em,3vw,2em); line-height: 1.25; color: #102a43;\">Conclusion<\/h2>\n<p style=\"margin: 0 0 18px;\">The simplest way to <strong>Update PowerShell on Windows<\/strong> It's about using WinGet with the exact ID <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">Microsoft.PowerShell<\/code>For everyday use, MSIX is sufficient; for administration, remoting, or deployment for all users, MSI offers more complete integration.<\/p>\n<p style=\"margin: 0 0 24px;\">Windows PowerShell 5.1 will remain installed and will be maintained through Windows Update. After installing PowerShell 7, open <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">pwsh<\/code>, verify <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">$PSVersionTable<\/code> and test your modules and scripts before migrating important automations.<\/p>\n<div class=\"mt-editorial-sources\" style=\"margin-top: 32px; padding: 20px 22px; border-radius: 14px; background: #102a43; color: #e8f0f8; box-shadow: 0 10px 28px rgba(15,42,67,.18);\">\n<p style=\"margin: 0 0 12px; font-weight: 800; font-size: 1.05em; color: #ffffff;\">Official sources consulted<\/p>\n<ul style=\"margin: 0; padding-left: 22px;\">\n<li style=\"margin-bottom: 8px;\"><a style=\"color: #9fd0ff; text-decoration: underline;\" href=\"https:\/\/learn.microsoft.com\/powershell\/scripting\/install\/install-powershell-on-windows\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn: instalar PowerShell 7 en Windows<\/a><\/li>\n<li style=\"margin-bottom: 8px;\"><a style=\"color: #9fd0ff; text-decoration: underline;\" href=\"https:\/\/learn.microsoft.com\/powershell\/scripting\/install\/powershell-support-lifecycle\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn: Lifecycle and Versions<\/a><\/li>\n<li style=\"margin-bottom: 8px;\"><a style=\"color: #9fd0ff; text-decoration: underline;\" href=\"https:\/\/learn.microsoft.com\/powershell\/scripting\/whats-new\/migrating-from-windows-powershell-51-to-powershell-7\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn: Migrating from 5.1 to 7<\/a><\/li>\n<li style=\"margin-bottom: 8px;\"><a style=\"color: #9fd0ff; text-decoration: underline;\" href=\"https:\/\/learn.microsoft.com\/powershell\/scripting\/windows-powershell\/update-notification-message\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn: Maintaining Windows PowerShell 5.1<\/a><\/li>\n<li style=\"margin-bottom: 8px;\"><a style=\"color: #9fd0ff; text-decoration: underline;\" href=\"https:\/\/learn.microsoft.com\/windows\/package-manager\/winget\/upgrade\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn: winget upgrade<\/a><\/li>\n<li style=\"margin: 0;\"><a style=\"color: #9fd0ff; text-decoration: underline;\" href=\"https:\/\/github.com\/PowerShell\/PowerShell\/releases\" target=\"_blank\" rel=\"noopener noreferrer\">Official GitHub: versions and packages<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Learn about the options for updating PowerShell on Windows and choose between Winget, GitHub, or the Microsoft Store depending on your setup.<\/p>","protected":false},"author":1,"featured_media":115112,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","iawp_total_views":98,"jnews-multi-image_gallery":[],"jnews_single_post":{"format":"standard","override":[{"template":"1","parallax":"1","fullscreen":"1","layout":"right-sidebar","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"top","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"1","post_reading_time_wpm":"300","post_calculate_word_method":"str_word_count","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"1","show_popup_post":"1","show_comment_section":"1","number_popup_post":"1","show_author_box":"1","show_post_related":"1","show_inline_post_related":"0"}],"image_override":[{"single_post_thumbnail_size":"crop-500","single_post_gallery_size":"crop-500"}],"trending_post_position":"meta","trending_post_label":"Trending","sponsored_post_label":"Sponsored by","disable_ad":"0","subtitle":""},"jnews_primary_category":[],"jnews_social_meta":[],"jnews_review":[],"enable_review":"","type":"percentage","name":"","summary":"","brand":"","sku":"","good":[],"bad":[],"score_override":"","override_value":"","rating":[],"price":[],"jnews_override_counter":{"view_counter_number":"0","share_counter_number":"0","like_counter_number":"0","dislike_counter_number":"0"},"footnotes":""},"categories":[1428],"tags":[1445,1559,1581],"class_list":["post-54335","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-evergreencontent","tag-windows11","tag-windowstips"],"_links":{"self":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/posts\/54335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/comments?post=54335"}],"version-history":[{"count":0,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/posts\/54335\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/media\/115112"}],"wp:attachment":[{"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/media?parent=54335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/categories?post=54335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mastertrend.info\/en\/wp-json\/wp\/v2\/tags?post=54335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}