This PowerShell script is a GUI application for automating the creation of virtual machines in a Hyper-V environment.
- User Interface: The script utilizes Windows Forms to create a graphical interface with labels, textboxes, numeric up-down controls, and buttons.
- Configuration Options: Users can specify the count of virtual machines, CPU count, memory size, storage size, and virtual switch selection.
- Functionality: The script performs actions such as creating virtual machines with specified configurations, setting CPU parameters, and removing the environment.
- Running the Script: Execute the script in a PowerShell environment.
- Interacting with the GUI: Use the graphical interface to input desired settings for the virtual machines.
- Prerequisites: Ensure that Hyper-V is enabled on the host system.
InitializeComponent
: Sets up the graphical user interface using Windows Forms.new-vms
: Creates virtual machines based on user-specified configurations.
- Specify different configurations for virtual machines, such as varying CPU counts and memory sizes.
- Limitations: This script may have limitations or known issues, which are detailed in the repository.
- Contributing: Contributions, such as bug reports or feature suggestions, are welcomed to the project.