{"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":"mettre-a-jour-powershell-dans-windows","status":"publish","type":"post","link":"https:\/\/mastertrend.info\/fr\/actualizar-powershell-en-windows\/","title":{"rendered":"Mise \u00e0 jour de PowerShell sous Windows\u00a0: toutes les m\u00e9thodes"},"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;\">Mise \u00e0 jour de PowerShell sous Windows\u00a0: guide pratique et m\u00e9thodes officielles<\/h2>\n<p style=\"margin: 0 0 18px; font-size: 1.08em; line-height: 1.75; color: #283548;\"><strong>Mise \u00e0 jour de PowerShell sous Windows<\/strong> Il convient de distinguer deux produits diff\u00e9rents. Windows PowerShell 5.1 fait partie int\u00e9grante du syst\u00e8me d'exploitation et ne re\u00e7oit les correctifs de s\u00e9curit\u00e9 que via Windows Update. PowerShell 7, quant \u00e0 lui, s'installe s\u00e9par\u00e9ment et utilise un fichier ex\u00e9cutable d\u00e9di\u00e9. <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">pwsh.exe<\/code> et peut \u00eatre mis \u00e0 jour avec WinGet, le Microsoft Store, un package MSI, un fichier ZIP ou l'outil global .NET.<\/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;\">R\u00e9ponse rapide<\/p>\n<p style=\"margin: 0 0 10px;\">Et <a title=\"RSAT sous Windows 11 et son impact r\u00e9el sur la gestion informatique\" href=\"https:\/\/mastertrend.info\/fr\/rsat-sous-windows-11\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"34810\">PowerShell 7 est d\u00e9j\u00e0 install\u00e9, ouvrez Windows<\/a> Terminal et ex\u00e9cuter\u00a0:<\/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;\">S'il n'est pas d\u00e9j\u00e0 install\u00e9, remplacez-le. <code style=\"padding: 2px 6px; border-radius: 5px; background: #e3edf9;\">mise \u00e0 niveau<\/code> par <code style=\"padding: 2px 6px; border-radius: 5px; background: #e3edf9;\">installer<\/code>Pour l'administration, la gestion \u00e0 distance ou l'installation pour tous les utilisateurs, le package MSI est plus complet que le package MSIX par d\u00e9faut.<\/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;\">La mise \u00e0 jour ne corrige pas toutes les erreurs<\/p>\n<p style=\"margin: 0;\">Si PowerShell met du temps \u00e0 s'ouvrir, se bloque ou affiche des erreurs, cela peut \u00eatre d\u00fb au profil de d\u00e9marrage, \u00e0 un module incompatible, \u00e0 une strat\u00e9gie d'entreprise, \u00e0 un logiciel antivirus, \u00e0 des variables d'environnement ou \u00e0 des fichiers corrompus. Une mise \u00e0 jour peut r\u00e9soudre certains probl\u00e8mes, mais ne constitue pas une solution miracle.<\/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 et PowerShell 7 ne sont pas la m\u00eame 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;\">Fonctionnalit\u00e9<\/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>Ex\u00e9cutable<\/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>Moteur<\/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;\">.NET moderne et multiplateforme<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Mise \u00e0 jour<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><a title=\"Windows Security ne s&#039;ouvre pas\u00a0? 9 astuces efficaces \ud83d\ude80\ud83d\udcbb\" href=\"https:\/\/mastertrend.info\/fr\/la-securite-windows-ne-souvre-pas\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"34811\">Mise \u00e0 jour Windows\u00a0; maintenance de s\u00e9curit\u00e9<\/a><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">WinGet, Store\/MSIX, MSI, ZIP ou .NET<\/td>\n<\/tr>\n<tr style=\"background: #f8fafc;\">\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Itin\u00e9raire habituel<\/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>\u00c9tat<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Inclus pour des raisons de compatibilit\u00e9\u00a0; aucune nouvelle fonctionnalit\u00e9<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">D\u00e9veloppement et soutien des actifs<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"margin: 0 0 18px;\">L'installation de PowerShell 7 ne remplace ni ne d\u00e9sinstalle Windows PowerShell 5.1. Les deux versions peuvent coexister car elles utilisent des ex\u00e9cutables, des dossiers, des profils et des chemins d'acc\u00e8s aux modules diff\u00e9rents. Cette s\u00e9paration vous permet de conserver les anciens outils dont vous avez encore besoin. <a title=\"Fonctionnalit\u00e9s optionnelles de Windows 11\u00a0: quand les activer ou les d\u00e9sactiver\" href=\"https:\/\/mastertrend.info\/fr\/fonctionnalites-optionnelles-de-windows-11\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"34809\">Windows PowerShell lors de l'utilisation des fonctionnalit\u00e9s<\/a> versions modernes de PowerShell 7.<\/p>\n<h3 style=\"margin: 30px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Versions en vigueur \u00e0 compter de juillet 2026<\/h3>\n<ul style=\"margin: 18px 0 28px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\"><strong>PowerShell 7.6.4 LTS\u00a0:<\/strong> version et package de support \u00e0 long terme actuels propos\u00e9s par d\u00e9faut par WinGet.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>PowerShell 7.5.9 Stable\u00a0:<\/strong> Version \u00e0 cycle court, prise en charge jusqu'au 10 novembre 2026.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>PowerShell 7.4.18 LTS\u00a0:<\/strong> Version LTS pr\u00e9c\u00e9dente, \u00e9galement prise en charge jusqu'au 10 novembre 2026.<\/li>\n<li style=\"margin: 0;\"><strong>Aper\u00e7u de PowerShell 7.7\u00a0:<\/strong> Branche de test sans support de production.<\/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;\">Stable ou LTS ?<\/p>\n<p style=\"margin: 0;\">La convention d'appellation peut pr\u00eater \u00e0 confusion, car PowerShell 7.6 LTS est plus r\u00e9cent que PowerShell 7.5 Stable. Pour la plupart des utilisateurs et des \u00e9quipes de production, la version 7.6 LTS est le choix le plus judicieux en raison de son cycle de maintenance plus long.<\/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;\">V\u00e9rifiez quelle version vous avez install\u00e9e<\/h2>\n<p style=\"margin: 0 0 18px;\">Ouvrez la console que vous utilisez habituellement et ex\u00e9cutez\u00a0:<\/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 Bureau<\/code> et version 5.1\u00a0: vous \u00eates dans Windows PowerShell.<\/li>\n<li style=\"margin-bottom: 10px;\"><code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">PSEdition Core<\/code> et la version 7.x\u00a0: vous utilisez PowerShell 7.<\/li>\n<li style=\"margin: 0;\">Si vous avez install\u00e9 PowerShell 7 mais que vous voyez toujours la version 5.1, vous avez probablement ouvert <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">powershell.exe<\/code> au lieu de <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>o\u00f9.exe powershell o\u00f9.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;\">Quelle m\u00e9thode doit \u00eatre utilis\u00e9e ?<\/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;\">M\u00e9thode<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Utilisation optimale<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Mises \u00e0 jour<\/th>\n<th style=\"padding: 14px 15px; text-align: left; background: #102a43; color: #ffffff;\">Limites<\/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 personnel<\/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;\">Par utilisateur\u00a0; sans acc\u00e8s \u00e0 distance PowerShell<\/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 et \u00e9quipe compl\u00e8te<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">WinGet ou Microsoft Update<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">N\u00e9cessite un administrateur<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>MSI depuis GitHub<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">L'entreprise hors ligne<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Microsoft Update (si activ\u00e9)<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Choisir la bonne 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;\">Installation graphique<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Automatique<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">limitations de MSIX<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>FERMETURE \u00c9CLAIR<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Versions portables ou multiples<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Manuels<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">Sans PATH ni acc\u00e8s automatique<\/td>\n<\/tr>\n<tr style=\"background: #f8fafc;\">\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\"><strong>Outil global .NET<\/strong><\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">D\u00e9veloppeurs<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">outil dotnet<\/td>\n<td style=\"padding: 13px 15px; border-top: 1px solid #e2e8f0;\">N\u00e9cessite le SDK .NET<\/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. Installez ou mettez \u00e0 jour PowerShell \u00e0 l'aide de WinGet<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">Microsoft recommande WinGet comme m\u00e9thode privil\u00e9gi\u00e9e pour installer PowerShell sur les ordinateurs clients. Vous pouvez l'ex\u00e9cuter depuis le Terminal Windows, l'Invite de commandes, Windows PowerShell ou 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=\"Ex\u00e9cuter en tant qu&#039;administrateur pour ouvrir une console sous 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=\"Ex\u00e9cuter en tant qu&#039;administrateur pour ouvrir une console sous 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;\">Ouvrez le programme en tant qu'administrateur lorsque vous installez le fichier MSI sur l'ensemble de l'ordinateur.<\/figcaption><\/figure>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Mettez \u00e0 jour les polices et localisez le package officiel<\/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=\"Recherche PowerShell utilisant 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=\"Recherche PowerShell utilisant 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;\">Le filtre par ID exact emp\u00eache de confondre le package stable avec le package Preview.<\/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=\"Identifiant Microsoft.PowerShell affich\u00e9 par 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=\"Identifiant Microsoft.PowerShell affich\u00e9 par 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;\">L'identifiant officiel est Microsoft.PowerShell.<\/figcaption><\/figure>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Premi\u00e8re installation<\/h3>\n<p style=\"margin: 0 0 18px;\">Depuis PowerShell 7.6, la commande standard installe le package MSIX\u00a0:<\/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 installer --id Microsoft.PowerShell --exact --source winget<\/code><\/pre>\n<p style=\"margin: 0 0 18px;\">Pour installer le MSI traditionnel\u00a0:<\/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;\">Mise \u00e0 niveau d'une installation existante<\/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;\">Si vous utilisez MSI et souhaitez conserver ce type d'installation\u00a0:<\/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=\"Installation de PowerShell \u00e0 l&#039;aide de 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=\"Installation de PowerShell \u00e0 l&#039;aide de 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 affiche la source, le paquet s\u00e9lectionn\u00e9 et la progression.<\/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;\">V\u00e9rifiez le type d'installation avant de la modifier.<\/p>\n<p style=\"margin: 0;\">MSIX s'installe par utilisateur, tandis que MSI s'installe g\u00e9n\u00e9ralement pour l'ordinateur. V\u00e9rifiez d'abord. <code style=\"padding: 2px 6px; border-radius: 5px; background: #f8e8c9;\">winget list --id Microsoft.PowerShell --exact<\/code> pour \u00e9viter la cr\u00e9ation d'installations parall\u00e8les inutiles.<\/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. T\u00e9l\u00e9chargez et installez PowerShell depuis GitHub<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">Le d\u00e9p\u00f4t officiel publie des installateurs sign\u00e9s. Cette m\u00e9thode est appropri\u00e9e si vous devez conserver l'installateur, travailler hors ligne, choisir l'architecture ou le d\u00e9ployer avec des outils d'entreprise.<\/p>\n<ol style=\"margin: 20px 0 28px; padding-left: 24px;\">\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Ouvrez le <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\">Page officielle de PowerShell sur GitHub<\/a>.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">T\u00e9l\u00e9charger <strong>win-x64.msi<\/strong> pour la plupart des PC ou <strong>win-arm64.msi<\/strong> pour Windows sur ARM.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Pour une utilisation g\u00e9n\u00e9rale, choisissez la derni\u00e8re r\u00e9vision de la branche LTS actuelle.<\/li>\n<li style=\"margin: 0; padding-left: 5px;\">N\u2019utilisez pas la pr\u00e9visualisation en 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=\"Packages PowerShell publi\u00e9s sur 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=\"Packages PowerShell publi\u00e9s sur 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;\">V\u00e9rifiez la branche, l'architecture et l'extension du paquet.<\/figcaption><\/figure>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Options MSI importantes<\/h3>\n<ul style=\"margin: 18px 0 26px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\"><strong>Ajouter PowerShell au chemin d'acc\u00e8s\u00a0:<\/strong> vous permet de d\u00e9marrer PowerShell 7 avec <code>pwsh<\/code>.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Activer la mise \u00e0 jour via Microsoft Update\u00a0:<\/strong> Activez les mises \u00e0 jour via Windows Update, WSUS ou Configuration Manager.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Enregistrer le manifeste de journalisation des \u00e9v\u00e9nements Windows\u00a0:<\/strong> Enregistre les \u00e9v\u00e9nements PowerShell.<\/li>\n<li style=\"margin-bottom: 10px;\"><strong>Menu contextuel\u00a0:<\/strong> Ajoute des raccourcis optionnels dans l'Explorateur.<\/li>\n<li style=\"margin: 0;\"><strong>Activer la communication \u00e0 distance PowerShell\u00a0:<\/strong> N'activez cette fonction que si vous en avez r\u00e9ellement besoin et si vous comprenez ses param\u00e8tres.<\/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=\"Assistant PowerShell MSI sous 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=\"Assistant PowerShell MSI sous 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;\">Le fichier MSI vous permet de contr\u00f4ler le chemin d'acc\u00e8s (PATH), Microsoft Update, les journaux et l'acc\u00e8s \u00e0 distance.<\/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=\"Installation de PowerShell termin\u00e9e\" 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=\"Installation de PowerShell termin\u00e9e\" 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;\">Ouvrez une nouvelle console pour recharger la variable 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 modifie la distribution<\/p>\n<p style=\"margin: 0;\">Microsoft indique que PowerShell 7.7 ne publiera plus de fichiers MSI. WinGet installera les fichiers MSIX. Cela concerne particuli\u00e8rement les administrateurs qui utilisent des installations pour tous les utilisateurs, des d\u00e9ploiements \u00e0 distance ou des d\u00e9ploiements MSI.<\/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. Installez ou mettez \u00e0 jour depuis le Microsoft Store<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">Le Microsoft Store propose une installation graphique et des mises \u00e0 jour automatiques. Il convient \u00e0 un utilisateur individuel qui utilise PowerShell en local.<\/p>\n<ol style=\"margin: 20px 0 28px; padding-left: 24px;\">\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Ouvrir <strong>Microsoft Store<\/strong>.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Recherche <strong>PowerShell<\/strong> et v\u00e9rifiez que l'\u00e9diteur est bien Microsoft Corporation.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Cr\u00e9dit <strong>installer<\/strong>.<\/li>\n<li style=\"margin: 0; padding-left: 5px;\">Pour forcer une mise \u00e0 jour, ouvrez <strong>Biblioth\u00e8que<\/strong> et utiliser <strong>Recevez les mises \u00e0 jour<\/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 sur 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 sur 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;\">Le Microsoft Store g\u00e8re l'installation de MSIX et ses mises \u00e0 jour.<\/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 sur le 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 sur le 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;\">V\u00e9rifiez le produit et son \u00e9diteur avant de l'installer.<\/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;\">Limitations du magasin\/MSIX<\/p>\n<p style=\"margin: 0;\">Il est install\u00e9 pour un seul utilisateur, ne prend pas en charge l'acc\u00e8s \u00e0 distance PowerShell et restreint certaines op\u00e9rations d'\u00e9criture. <code style=\"padding: 2px 6px; border-radius: 5px; background: #f8e8c9;\">$PSHOME<\/code>, y compris les profils de tous les utilisateurs et certains param\u00e8tres de port\u00e9e de la machine locale.<\/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. Utilisez le package ZIP portable<\/h2>\n<p style=\"margin: 0 0 18px;\">Le fichier ZIP est utile pour tester une version, conserver plusieurs branches 7.x dans des dossiers s\u00e9par\u00e9s ou ex\u00e9cuter PowerShell sans installation conventionnelle.<\/p>\n<ol style=\"margin: 20px 0 28px; padding-left: 24px;\">\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">T\u00e9l\u00e9chargez le fichier ZIP x64 ou Arm64 depuis GitHub.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">D\u00e9verrouillez le fichier si Windows indique qu'il provient d'Internet.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Extraire le contenu.<\/li>\n<li style=\"margin: 0 0 12px; padding-left: 5px;\">Ex\u00e9cuter <code>pwsh.exe<\/code> du dossier.<\/li>\n<li style=\"margin: 0; padding-left: 5px;\">Ajoutez manuellement un raccourci ou un chemin \u00e0 votre variable PATH si n\u00e9cessaire.<\/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;\">Le fichier ZIP ne se met pas \u00e0 jour automatiquement.<\/p>\n<p style=\"margin: 0;\">Vous devez t\u00e9l\u00e9charger chaque nouvelle version. Ce logiciel ne configure pas non plus les pr\u00e9requis, l'acc\u00e8s, le chemin d'acc\u00e8s, Microsoft Update ni l'acc\u00e8s \u00e0 distance.<\/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. Installer en tant qu'outil .NET global<\/h2>\n<p style=\"margin: 0 0 18px;\">M\u00e9thode orient\u00e9e d\u00e9veloppeur utilisant le SDK .NET\u00a0:<\/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;\">Pour mettre \u00e0 jour :<\/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;\">Comment mettre \u00e0 jour Windows PowerShell 5.1<\/h2>\n<p style=\"margin: 0 0 18px;\">Windows PowerShell 5.1 ne devient pas PowerShell 7. Il s'agit d'un composant de Windows et il re\u00e7oit des mises \u00e0 jour de s\u00e9curit\u00e9 via Windows Update.<\/p>\n<ol style=\"margin: 18px 0 28px; padding-left: 24px;\">\n<li style=\"margin-bottom: 10px;\">Ouvrir <strong>Configuration<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px;\">Entrer <strong>Mise \u00e0 jour Windows<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px;\">Cr\u00e9dit <strong>V\u00e9rifiez les mises \u00e0 jour<\/strong>.<\/li>\n<li style=\"margin: 0;\">Installez les mises \u00e0 jour cumulatives et red\u00e9marrez si vous y \u00eates invit\u00e9.<\/li>\n<\/ol>\n<p style=\"margin: 0 0 18px;\">M\u00eame si Windows est mis \u00e0 jour, Windows PowerShell affichera toujours la version 5.1. Pour utiliser PowerShell 7, ouvrez l'application. <strong>PowerShell 7<\/strong> ou ex\u00e9cuter <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\">Utilisation simultan\u00e9e de Windows PowerShell 5.1 et PowerShell 7<\/span><\/h2>\n<p style=\"margin: 0 0 18px;\">Cette coexistence est intentionnelle. Windows PowerShell 5.1 peut encore \u00eatre requis pour les modules h\u00e9rit\u00e9s, Windows PowerShell ISE ou les outils bas\u00e9s sur .NET Framework. PowerShell 7 est pr\u00e9f\u00e9rable pour les scripts r\u00e9cents et l'automatisation moderne.<\/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=\"Profils de Windows PowerShell 5.1 et PowerShell 7 dans 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=\"Profils de Windows PowerShell 5.1 et PowerShell 7 dans 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 peut afficher des profils distincts pour les deux \u00e9ditions.<\/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;\">Ouvrir 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;\">Ouverture de 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;\">V\u00e9rifier les mises \u00e0 jour<\/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 | S\u00e9lectionner-Objet 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 Nom, 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;\">D\u00e9pannage<\/h2>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">WinGet n'est pas reconnu<\/h3>\n<p style=\"margin: 0 0 18px;\">Mise \u00e0 jour <strong>Installateur d'applications<\/strong> WinGet n'est pas disponible nativement sur le Microsoft Store. Il n'est pas inclus dans Windows Server 2022 ni dans les versions ant\u00e9rieures\u00a0; Windows Server 2025 l'int\u00e8gre avec l'exp\u00e9rience utilisateur.<\/p>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">WinGet ne trouve pas 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;\">Si la source reste endommag\u00e9e, depuis une console d'administration\u00a0:<\/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>R\u00e9initialisation de la source winget --forcer la mise \u00e0 jour de la source winget<\/code><\/pre>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">pwsh n'est pas reconnu<\/h3>\n<p style=\"margin: 0 0 18px;\">Fermez puis rouvrez Windows Terminal. Si vous avez install\u00e9 le fichier MSI, essayez\u00a0:<\/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 met longtemps \u00e0 d\u00e9marrer<\/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;\">S'il s'ouvre correctement, v\u00e9rifiez le fichier indiqu\u00e9 par <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">$PROFIL<\/code>Faites-en une copie avant de la modifier et v\u00e9rifiez les importations de modules, l'acc\u00e8s r\u00e9seau et les personnalisations des invites.<\/p>\n<h3 style=\"margin: 29px 0 12px; font-size: 1.3em; line-height: 1.35; color: #17375e;\">Un module fonctionne en version 5.1 mais \u00e9choue en version 7.<\/h3>\n<p style=\"margin: 0 0 18px;\">Recherchez une version compatible. Si le module le permet, testez la couche de compatibilit\u00e9\u00a0:<\/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 NomDelModule -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;\">S\u00e9curit\u00e9 avant la mise \u00e0 jour<\/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;\">N\u2019utilisez pas de portails qui reconditionnent le programme d\u2019installation.<\/li>\n<li style=\"margin-bottom: 10px;\">Copiez les profils et les scripts avant de modifier les branches ou les types d'installateurs.<\/li>\n<li style=\"margin-bottom: 10px;\">Testez les scripts critiques avant de migrer les t\u00e2ches planifi\u00e9es depuis Windows PowerShell 5.1.<\/li>\n<li style=\"margin: 0;\">Ne pas activer l'acc\u00e8s \u00e0 distance ni r\u00e9duire les contr\u00f4les de s\u00e9curit\u00e9 pour une installation de base.<\/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;\">Foire aux 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 elemina Windows PowerShell 5.1?<\/h3>\n<p style=\"margin: 0;\">Non. Ils sont install\u00e9s dans des dossiers diff\u00e9rents et utilisent des ex\u00e9cutables diff\u00e9rents.<\/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;\">Quelle version est recommand\u00e9e en 2026 ?<\/h3>\n<p style=\"margin: 0;\">Pour la plupart des utilisateurs et des syst\u00e8mes de production, PowerShell 7.6 LTS, toujours dans sa derni\u00e8re version de maintenance.<\/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 ou Microsoft Store ?<\/h3>\n<p style=\"margin: 0;\">Store\/MSIX est pratique pour un usage personnel. MSI est plus adapt\u00e9 \u00e0 tous les utilisateurs, \u00e0 l'acc\u00e8s \u00e0 distance et \u00e0 la gestion avanc\u00e9e.<\/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;\">PowerShell se met-il \u00e0 jour automatiquement\u00a0?<\/h3>\n<p style=\"margin: 0;\">Les fichiers Store\/MSIX peuvent \u00eatre mis \u00e0 jour automatiquement. Les fichiers MSI peuvent utiliser Microsoft Update si cette option est activ\u00e9e. Les fichiers ZIP n\u00e9cessitent une mise \u00e0 jour manuelle.<\/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;\">Ai-je besoin de privil\u00e8ges d'administrateur\u00a0?<\/h3>\n<p style=\"margin: 0;\">Ne convient pas \u00e0 toutes les installations. L'installation de MSIX par utilisateur ne n\u00e9cessite pas de privil\u00e8ges d'administrateur\u00a0; en revanche, l'installation de MSI pour les modifications d'\u00e9quipement et de syst\u00e8me requiert g\u00e9n\u00e9ralement des privil\u00e8ges d'administrateur.<\/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;\">La mise \u00e0 jour am\u00e9liore-t-elle les performances\u00a0?<\/h3>\n<p style=\"margin: 0;\">Il peut fournir des correctifs et assurer la s\u00e9curit\u00e9, mais une console lente n\u00e9cessite \u00e9galement la v\u00e9rification des profils, des modules, du r\u00e9seau et de l'antivirus. Utilisez-le. <code>pwsh -NoProfile<\/code> pour isoler le d\u00e9but.<\/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;\">La mani\u00e8re la plus simple de <strong>Mise \u00e0 jour de PowerShell sous Windows<\/strong> Il s'agit d'utiliser WinGet avec l'identifiant exact. <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">Microsoft PowerShell<\/code>Pour une utilisation quotidienne, MSIX est suffisant ; pour l'administration, la gestion \u00e0 distance ou le d\u00e9ploiement pour tous les utilisateurs, MSI offre une int\u00e9gration plus compl\u00e8te.<\/p>\n<p style=\"margin: 0 0 24px;\">Windows PowerShell 5.1 restera install\u00e9 et sera mis \u00e0 jour via Windows Update. Apr\u00e8s l'installation de PowerShell 7, ouvrez <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">pwsh<\/code>, v\u00e9rifier <code style=\"padding: 2px 6px; border-radius: 5px; background: #eef2f7;\">$PSVersionTable<\/code> et testez vos modules et scripts avant de migrer les automatisations importantes.<\/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;\">Sources officielles consult\u00e9es<\/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\u00a0: installer PowerShell 7 sous 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\u00a0: Cycle de vie et 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\u00a0: Migration de la version 5.1 \u00e0 la version 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\u00a0: Maintenance de 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\u00a0: mise \u00e0 niveau Winget<\/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\">GitHub officiel\u00a0: versions et packages<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>D\u00e9couvrez les options de mise \u00e0 jour de PowerShell sous Windows et choisissez entre Winget, GitHub ou le Microsoft Store en fonction de votre configuration.<\/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\/fr\/wp-json\/wp\/v2\/posts\/54335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/comments?post=54335"}],"version-history":[{"count":0,"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/posts\/54335\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/media\/115112"}],"wp:attachment":[{"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/media?parent=54335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/categories?post=54335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mastertrend.info\/fr\/wp-json\/wp\/v2\/tags?post=54335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}