The installation commands in this article are for the latest stable release of PowerShell. Toinstall a different version of PowerShell, adjust the command to match the version you need. Thefollowing links direct you to the release page for each version in the PowerShell repository onGitHub.
Winget, the Windows Package Manager, is a command-line tool enables users to discover, install,upgrade, remove, and configure applications on Windows client computers. This tool is the clientinterface to the Windows Package Manager service. The winget command-line tool is bundled withWindows 11 and modern versions of Windows 10 by default as the App Installer.
Windows Server 2025 Preview Build 26085 and later includes winget for Windows Server withDesktop Experience only. For more information, seeAnnouncing Windows Server Preview Build 26085.
On Windows systems using X86 or X64 processor, winget installs the MSI package. On systems usingthe Arm64 processor, winget installs the Microsoft Store (MSIX) package. For more information,see Installing from the Microsoft Store.
PowerShell 7.4 installs to a new directory and runs side-by-side with Windows PowerShell 5.1.PowerShell 7.4 is an in-place upgrade that removes previous versions of PowerShell 7. Previewversions of PowerShell can be installed side-by-side with other versions of PowerShell.
PowerShell 7.2 and newer has support for Microsoft Update. When you enable this feature, you'll getthe latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whetherthat's with Windows Update for Business, WSUS, Microsoft Endpoint Configuration Manager, or theinteractive MU dialog in Settings.
Enabling updates may have been set in a previous installation or manual configuration. UsingENABLE_MU=0 doesn't remove the existing settings. Also, this setting can be overruled by GroupPolicy settings controlled by your administrator.
MSI packages can be installed from the command line allowing administrators to deploy packageswithout user interaction. The MSI package includes the following properties to control theinstallation options:
Depending on how you download the file you may need to unblock the file using the Unblock-Filecmdlet. Unzip the contents to the location of your choice and run pwsh.exe from there. Unlikeinstalling the MSI packages, installing the ZIP archive doesn't check for prerequisites. Forremoting over WSMan to work properly, ensure that you've met the prerequisites.
The dotnet tool installer adds $HOME\.dotnet\tools to your $env:PATH environment variable.However, the currently running shell doesn't have the updated $env:PATH. You can start PowerShellfrom a new shell by typing pwsh.
By default, Windows Store packages run in an application sandbox that virtualizes access to somefilesystem and registry locations. Changes to virtualized file and registry locations don't persistoutside of the application sandbox.
This sandbox blocks all changes to the application's root folder. Any system-level configurationsettings stored in $PSHOME can't be modified. This includes the WSMAN configuration. This preventsremote sessions from connecting to Store-based installs of PowerShell. User-level configurations andSSH remoting are supported.
Beginning in PowerShell 7.2, the PowerShell package is now exempt from file and registryvirtualization. Changes to virtualized file and registry locations now persist outside of theapplication sandbox. However, changes to the application's root folder are still blocked.
For best results when upgrading, you should use the same install method you used when you firstinstalled PowerShell. If you aren't sure how PowerShell was installed, you can check the value ofthe $PSHOME variable, which always points to the directory containing PowerShell that the currentsession is running.
When upgrading, PowerShell won't upgrade from an LTS version to a non-LTS version. It onlyupgrades to the latest version of LTS, for example, from 7.2.3 to 7.2.22. To upgrade from anLTS release to a newer stable version or the next LTS, you need to install the new version withthe MSI for that release.
Windows 10 IoT Core adds Windows PowerShell when you include IOT_POWERSHELL feature, which we canuse to deploy PowerShell 7. The steps defined above for Windows 10 IoT Enterprise can be followedfor IoT Core as well.
Microsoft supports the installation methods in this document. There may be other third-party methodsof installation available from other sources. While those tools and methods may work, Microsoftcan't support those methods.
I have a business grade HP machine still running Windows 7 that came with the machine.
I want to update it now to Windows 10.
The main link on the MS site for downloading the Update (22H2 - -us/software-download/windows10) is giving me an error on both my desktop and laptop machines when I go to launch the exe it downloads:
If I download the "Create installation media" file, will that give me the same option to "update over Windows 7" the exact same way the Update link would (if it was working properly, that is)?
The new Outlook for Windows brings the latest features, intelligent assisted capabilities and a new modern and simplified design to your Outlook app. You can tailor it to your style and do more with new Outlook for Windows!
We want to hear how we can improve the experience! The only place to share feedback or get support is right inside the app. Select Help and choose Support or Feedback. Since this is a Preview product, standard paid support options, consumer or commercial, are not available to our customers currently.
If your accounts are supported in the new Outlook for Windows, you'll see a toggle in the upper right of classic Outlook to Try the new Outlook. Selecting this toggle will download the new app and let you switch to the preview.
If this is the first time you're switching to the new Outlook, you'll be prompted to bring over your settings from the classic Outlook for Windows. Select Import Settings if you want to bring them over, or choose Skip. To learn more about what settings are imported, see Migrate your settings to the new Outlook for Windows.
If you're using Windows Mail and Calendar and your accounts are supported in new Outlook, you will see a toggle in the upper right of the Mail app in Windows 10 and 11 to Try the new Outlook. This option downloads the new app and switches your preferred email client.
Select Import Settings on the dialog that appears to bring over your settings or choose Skip. To learn more about what settings are imported, see Migrate your settings to the new Outlook for Windows.
If you switched from the classic Outlook for Windows or from the Mail app, you'll have the option to migrate some of your settings, which you can learn more about here. However, it's still good to familiarize yourself with the latest options. You'll find Settings in the gear icon in the upper right corner. You can also make quick updates to certain settings by clicking on the View tab.
Select Add account at the bottom of your list of folders or go to Settings and choose Add account in Accounts. Currently supported accounts include Microsoft accounts for work or school, and Outlook.com, Hotmail, or Gmail accounts. In your folder list, you can mark folders, categories, or contacts from any of your accounts as Favorites for quick access at the top of the list.
You might be familiar with categories, but they've been significantly upgraded. See the category names and colors directly on your messages in your inbox. Want to see everything you've tagged with that category? Just click it right on your message. You can even add a category to your Favorites.
Conversation settings
You can change the appearance
of the message list and reading
pane. Email in the message list
can be displayed as individual
messages or grouped by conversation.
I have tried everything I can think of, I've had two friends who deal with IT problems look at my computer via shared screen with no luck. Since updating to Windows 11 I never noticed Windows Security would not open until recently, it's active and running in the background in Task Manager. I've tried the Powershell and CMD hotfixes, I've reset my PC locally and cloud but I have no restore or recovery points prior to the Windows 11 update. My PC is up to date on all firmware from Microsoft but Windows Security still will not open. Windows Security nor Windows Defender is not listed under my "Installed Apps" or "Default Apps" so I can't try a drop down repair on it. It does show within my Task Manager that there is Windows Defender engine running and in the hidden icons tab it shows Windows Security active. How do you fix this without having to lug your whole PC to a shop?
Repair Windows Security using DISM: Open Command Prompt as administrator and run the following commands: DISM.exe /Online /Cleanup-image /Restorehealth DISM.exe /Online /Cleanup-image /StartComponentCleanup
@ShahbazUbaid my windows license is already expired. and i am not getting any security updates ever since. and that is also the time where i noticed that my windows security app won't open. is it because of my windows license bein expired? do you think if i reactivate my license, it will solve my problem?
@TayDean It's early 2024 and I am in the same boat since the most recent update. In all their wisdom, Microsoft has removed Troubleshooter with this update and wants me to contact tech support. The last time I did that, I was 77 people away from help. I do not have that kind of time.
I've tried all the suggestions here except reinstalling Windows, which is a major hassle and would require hunting down the software I use for work and reinstalling it too. I had to do this once last week because a previous update crashed my computer. It created all manner of work-related issues.
This is really dumb and Microsoft should have fixed this already. But I'm open to more suggestions.