<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thibble.org/goomba/index.php?action=history&amp;feed=atom&amp;title=Hyper%E2%80%90V_Creating_New%2C_and_Linked_VM%27s</id>
	<title>Hyper‐V Creating New, and Linked VM&#039;s - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thibble.org/goomba/index.php?action=history&amp;feed=atom&amp;title=Hyper%E2%80%90V_Creating_New%2C_and_Linked_VM%27s"/>
	<link rel="alternate" type="text/html" href="https://wiki.thibble.org/goomba/index.php?title=Hyper%E2%80%90V_Creating_New,_and_Linked_VM%27s&amp;action=history"/>
	<updated>2026-07-29T01:20:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.thibble.org/goomba/index.php?title=Hyper%E2%80%90V_Creating_New,_and_Linked_VM%27s&amp;diff=93&amp;oldid=prev</id>
		<title>T20A02: Created page with &quot;== Creating a Base VM in Hyper-V with Windows Server 2019 ==  === Creating the Base VM ===  ==== PowerShell Commands: ====  These are the commands used in order top create a new base VM via powershell  &lt;pre&gt; $VMName = &quot;BaseVM&quot; $VMPath = &quot;C:\Hyper-V\VMs&quot; $ISOPath = &quot;C:\Path\to\WindowsServer2019.iso&quot;  New-VM -Name $VMName -Path $VMPath -MemoryStartupBytes 4GB -NewVHDPath &quot;$VMPath\$VMName.vhdx&quot; -NewVHDSizeBytes 60GB Set-VMBios -VMName $VMName -BootOrder &quot;CD&quot; Add-VMDvdDrive...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.thibble.org/goomba/index.php?title=Hyper%E2%80%90V_Creating_New,_and_Linked_VM%27s&amp;diff=93&amp;oldid=prev"/>
		<updated>2024-11-02T02:22:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Creating a Base VM in Hyper-V with Windows Server 2019 ==  === Creating the Base VM ===  ==== PowerShell Commands: ====  These are the commands used in order top create a new base VM via powershell  &amp;lt;pre&amp;gt; $VMName = &amp;quot;BaseVM&amp;quot; $VMPath = &amp;quot;C:\Hyper-V\VMs&amp;quot; $ISOPath = &amp;quot;C:\Path\to\WindowsServer2019.iso&amp;quot;  New-VM -Name $VMName -Path $VMPath -MemoryStartupBytes 4GB -NewVHDPath &amp;quot;$VMPath\$VMName.vhdx&amp;quot; -NewVHDSizeBytes 60GB Set-VMBios -VMName $VMName -BootOrder &amp;quot;CD&amp;quot; Add-VMDvdDrive...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Creating a Base VM in Hyper-V with Windows Server 2019 ==&lt;br /&gt;
&lt;br /&gt;
=== Creating the Base VM ===&lt;br /&gt;
&lt;br /&gt;
==== PowerShell Commands: ====&lt;br /&gt;
&lt;br /&gt;
These are the commands used in order top create a new base VM via powershell&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$VMName = &amp;quot;BaseVM&amp;quot;&lt;br /&gt;
$VMPath = &amp;quot;C:\Hyper-V\VMs&amp;quot;&lt;br /&gt;
$ISOPath = &amp;quot;C:\Path\to\WindowsServer2019.iso&amp;quot;&lt;br /&gt;
&lt;br /&gt;
New-VM -Name $VMName -Path $VMPath -MemoryStartupBytes 4GB -NewVHDPath &amp;quot;$VMPath\$VMName.vhdx&amp;quot; -NewVHDSizeBytes 60GB&lt;br /&gt;
Set-VMBios -VMName $VMName -BootOrder &amp;quot;CD&amp;quot;&lt;br /&gt;
Add-VMDvdDrive -VMName $VMName -Path $ISOPath&lt;br /&gt;
Start-VM -Name $VMName&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These are the commands used in order, to make a linked clone of a VM&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$LinkedVMName = &amp;quot;LinkedCloneVM&amp;quot;&lt;br /&gt;
&lt;br /&gt;
New-VHD -Path &amp;quot;C:\Hyper-V\VMs\$LinkedVMName.vhdx&amp;quot; -ParentPath &amp;quot;C:\Hyper-V\VMs\BaseVM.vhdx&amp;quot; -Differencing&lt;br /&gt;
New-VM -Name $LinkedVMName -Path &amp;quot;C:\Hyper-V\VMs&amp;quot; -MemoryStartupBytes 4GB -VHDPath &amp;quot;C:\Hyper-V\VMs\$LinkedVMName.vhdx&amp;quot;&lt;br /&gt;
Start-VM -Name $LinkedVMName&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Other General Commands: ====&lt;br /&gt;
&lt;br /&gt;
# Interacting with PowerShell Commands&lt;br /&gt;
&lt;br /&gt;
To stop a virtual machine using PowerShell, you can execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stop-Service -Name YourVMName&lt;br /&gt;
# OR&lt;br /&gt;
Stop-Process -Name YourVMName&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Checkpoint-VM -Name YourVMName -SnapshotName snapshot1&lt;br /&gt;
# OR&lt;br /&gt;
Checkpoint-Computer -Name YourVMName -SnapshotName snapshot1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Start-Service -Name YourVMName&lt;br /&gt;
# OR&lt;br /&gt;
Start-Process -Name YourVMName&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Change the network profile for &amp;#039;YourVMName&amp;#039; to another network by name&lt;br /&gt;
Set-NetConnectionProfile -InterfaceAlias YourVMName -NetworkCategory &amp;quot;Private&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# OR&lt;br /&gt;
&lt;br /&gt;
# Change the IP address of &amp;#039;YourVMName&amp;#039; to another network&lt;br /&gt;
Set-NetIPAddress -InterfaceAlias YourVMName -IPAddress NewIPAddress -PrefixLength SubnetMask -DefaultGateway NewGateway&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Written in part with ChatGPT&lt;/div&gt;</summary>
		<author><name>T20A02</name></author>
	</entry>
</feed>