I simply don’t have a system handy with which to take new screenshots. In the instructions below, ignore the mentions of freebsd. State -eq 'Enabled' )) VM Installation, Step by Step DownloadString ( '' )) Set-ExecutionPolicy -ExecutionPolicy RemoteSigned refreshenv Write-Host "Installing packages via chocolatey." #feel free to edit the below to only install the parts you want choco install -y 7zip notepadplusplus chocolatey-core.extension powershell-core git microsoft-windows-terminal terminal-icons.powershell nerdfont-hack inconsolata firanf powertoys vscode # The below installs texlive if you want a more unix-like tex install Write-Host "If you want to install a full texlive instance, run the following command:" $s = 'choco install -y texlive -params "' + "'" + "/scheme:full'" + '"' Write-Host $s # choco install -y texlive -params "'/scheme:full'" Write-Host "Installing modules via PowerShell." # The below is to setup the PowerShell prompt to be more useful to you Install-Module -Name ImportExcel Install-Module -Name Pansies -AllowClobber Install-Module -Name Pscx -AllowPrerelease Install-Module -Name PowerColorLS Install-Module -Name Posh-Git Install-Module -Name PSReadLine -AllowPrerelease -Force Write-Host "Installing oh-my-posh via winget (you may have to accept a license)." # This may or may not work on the version of windows you have installed: winget install JanDeDobbeleer.OhMyPosh # if the above failed, install and try again Write-Host "Enabling Hyper-V features." if ( ! (( Get-WindowsOptionalFeature -online -FeatureName Microsoft-Hyper-V ). #install chocolatey Write-Host "Installing chocolatey." Set-ExecutionPolicy Bypass -Scope Process -Force :: SecurityProtocol = :: SecurityProtocol -bor 3072 Invoke-Expression (( New-Object ). You’ll need to change your execution policy in order to do so: ps1 and run it via an Administrator PowerShell prompt. You’ll need to reboot after running it, but once you do, you’ll be ready to go! Copy this script into a file with extension. The commands below will install some useful tooling and then enable the Hyper-V features you need. I would strongly encourage you to move to Windows 11, but that’s ultimately your decision. Once you have access, you can obtain a new license key for Windows 10 or 11 Education, allowing you to use Hyper-V. Go to the Microsoft Software for Students page, and follow the instructions for obtaining an account on the Azure Portal. “But that costs money!” you say? Normally. If you are using Windows Home (10 or 11), you need to upgrade your license to one of the higher tiers. In order to use Hyper-V, you need to be running Windows 10 or Windows 11 in Pro, Enterprise, or Education form. We won’t likely use it all, but it needs to be there. When the installation has completed you are prompted to restart your computer.You will need at least 60GB or so of free space on your hard drive for this class. Select Programs and Features on the right under related settings. Right click on the Windows button and select ‘Apps and Features’. Open up a PowerShell or CMD session as Administrator.ĭISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-Vįor more information about DISM, see the DISM Technical Reference. Among its many applications, DISM can enable Windows features while the operating system is running. The Deployment Image Servicing and Management tool (DISM) helps configure Windows and Windows images. When the installation has completed, reboot. If the command couldn't be found, make sure you're running PowerShell as Administrator. Open a PowerShell console as Administrator.Įnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Upgrade from Windows 10 Home edition to Windows 10 Pro by opening up Settings > Update and Security > Activation.įor more information and troubleshooting, see Windows 10 Hyper-V System Requirements. The Hyper-V role cannot be installed on Windows 10 Home. CPU support for VM Monitor Mode Extension (VT-c on Intel CPUs).64-bit Processor with Second Level Address Translation (SLAT).Windows 10 Enterprise, Pro, or Education.Note: Hyper-V is built into Windows as an optional feature - there is no Hyper-V download. This documents walks through each option. Hyper-V can be enabled in many ways including using the Windows 10 control panel, PowerShell or using the Deployment Imaging Servicing and Management tool (DISM). Enable Hyper-V to create virtual machines on Windows 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |