위 과정 2번 반복
이렇게 2개 생겨야 함
Processors → Virtualize Intel VT-x/EPT or AMD-V/RVI 체크
만일 위와 같은 오류가 뜬다면 아래 도메인 참조
https://dev-charlotte.tistory.com/98
Get-Disk
1..2|%{Set-Disk -Number $_ -IsOffline $false}
1..2|%{Set-Disk -Number $_ -IsReadOnly $false}
1..2|%{Initialize-Disk -Number $_ -PartitionStyle GPT -PassThru}
1..2|%{New-Partition -DiskNumber $_ -AssignDriveLetter -UseMaximumSize}
Format-Volume -DriveLetter E -FileSystem NTFS -Force
Format-Volume -DriveLetter F -FileSystem NTFS -Force
Install-WindowsFeature hyper-v -IncludeManagementTools -Restart
1..4|%{New-VHD -Path E:\\STG1-$_.vhdx -SizeBytes 100GB}
1..4|%{New-VHD -Path F:\\STG2-$_.vhdx -SizeBytes 100GB}
New-VMSwitch -Name vSwitch -NetAdapterName Ethernet0 -AllowManagementOS $true
1..2|%{New-VM -Name STG$_ -BootDevice VHD -MemoryStartupBytes 2GB -NewVHDPath STG$_.vhdx -NewVHDSizeBytes 30GB -Generation 2 -SwitchName vSwitch}
# DC에 windows server iso 복사 (Install VMware Tools)
copy "\\\\192.168.0.1\\C`$\\Users\\Administrator\\Desktop\\SERVER_EVAL_x64FRE_en-us.iso"