Initial System Setup IV

Enabling Microsoft Hyper-V via PowerShell for the extended lab environment.

Step 1 Enable Hyper-V - PowerShell Command

Opening PowerShell as Administrator and running the command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -NoRestart. This command enables all Hyper-V features including the hypervisor, management tools, and PowerShell modules without forcing an immediate system restart.

PowerShell Enable-WindowsOptionalFeature command


Step 2 Hyper-V Installation - Progress Begins

The installation process begins. PowerShell displays "Enable-WindowsOptionalFeature: Microsoft-Hyper-V-All" with "Running" status and a progress indicator showing the installation is in progress. The system is downloading and installing all necessary Hyper-V components.

Hyper-V installation progress indicator


Step 3 Hyper-V Installation - Continued Progress

The installation continues processing. The progress bar shows the system is actively installing Hyper-V components and configuring the hypervisor platform. This process may take several minutes depending on system performance and available resources.

Hyper-V installation continued progress


Step 4 Hyper-V Installation Complete - Restart Required

The installation has completed successfully. PowerShell displays the results showing: Path: (blank), Online: True, RestartNeeded: True. A warning message confirms "WARNING: Restart is suppressed because NoRestart is specified." To complete the Hyper-V setup, a system restart is required. Running the command shutdown /r /t 00 to restart the system immediately.

Hyper-V installation complete with restart command
× Zoomed image