Getting error "New-Partition : A parameter is not valid for this type of partition. The parameters MbrType and IsActive cannot be used on a GPT disk." when running New-OSDCloudUSB and selecting a GPT partitioned USB drive.
It seems Clear-Disk doesn't "clear" the partition type as seen by Get-Disk.
To get around this, I first ran Get-Disk -Number 1 | Set-Disk -PartitionStyle MBR, then kicked off New-OSDCloudUSB again and it completed successfully.
Getting error "New-Partition : A parameter is not valid for this type of partition. The parameters MbrType and IsActive cannot be used on a GPT disk." when running
New-OSDCloudUSB
and selecting a GPT partitioned USB drive.It seems
Clear-Disk
doesn't "clear" the partition type as seen byGet-Disk
.To get around this, I first ran
Get-Disk -Number 1 | Set-Disk -PartitionStyle MBR
, then kicked offNew-OSDCloudUSB
again and it completed successfully.