-
Notifications
You must be signed in to change notification settings - Fork 79
Description
& .\New-AzSHCISandbox.ps1
VERBOSE: Enabling PS Remoting on client...
VERBOSE: Performing simple validation of Product Keys
VERBOSE: No Multiple Hyper-V Hosts defined. Using Single Hyper-V Host Installation
VERBOSE: Testing VHDX Path
VERBOSE: Generating Single Host Placement
VERBOSE: Creating Internal Switch
VERBOSE: Internal Switch InternalSwitch already exists. Not creating a new internal switch.
VERBOSE: Creating NAT Switch
VERBOSE: Getting local Parent VHDX Path
VERBOSE: Configuring Hyper-V Settings on localhost
VERBOSE: Copying VHDX Files to Host
VERBOSE: Copying C:\AzHCIVHDs\gui.vhdx to V:\VMs\GUI.VHDX
VERBOSE: Copying C:\AzHCIVHDs\azshci.vhdx to V:\VMs\AzSHCI.VHDX
VERBOSE: Generating the VM: @{AzSHOST=AzSMGMT; VMHost=AzSHCIHost001}
VERBOSE: Virtual Machine FABRIC NIC MAC is =
Failed to create the virtual hard disk.
The system failed to create 'V:\VMs\AzSMGMT.vhdx'.
Failed to create the virtual hard disk.
The system failed to create 'V:\VMs\AzSMGMT.vhdx': The file or directory is corrupted and unreadable. (0x80070570).
At C:\AzHCI_Sandbox\AzSHCISandbox-main\New-AzSHCISandbox.ps1:407 char:5
-
$vmMac = Invoke-Command -ComputerName $VMHost -ScriptBlock { -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [New-VHD], VirtualizationException
- FullyQualifiedErrorId : OperationFailed,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd
- PSComputerName : AzSHCIHost001