Skip to content

Commit

Permalink
Updated20241216184127
Browse files Browse the repository at this point in the history
  • Loading branch information
PIKACHUIM committed Dec 16, 2024
1 parent e3f72e5 commit 3adb8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CreateVM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4453,7 +4453,7 @@ Function New-GPUEnabledVM
Set-VMHost -ComputerName $ENV:Computername -EnableEnhancedSessionMode $false
Set-VMVideo -VMName $VMName -HorizontalResolution 1920 -VerticalResolution 1080
Set-VMKeyProtector -VMName $VMName -NewLocalKeyProtector
Enable-VMTPM -VMName $VMName
# Enable-VMTPM -VMName $VMName
Add-VMDvdDrive -VMName $VMName -Path $SourcePath
Assign-VMGPUPartitionAdapter -GPUName $GPUName -VMName $VMName -GPUResourceAllocationPercentage $GPUResourceAllocationPercentage
Write-Host "INFO : Starting and connecting to VM"
Expand Down

0 comments on commit 3adb8c2

Please sign in to comment.