I have two drives "C and E" with 20 and 30 GBs of storage each, when i try to crete a new fixed vhd with source as my C drive in E drive...i am getting error
New-VHD -Path E://Fixed.vhd -Fixed -SourceDisk 0 -SizeBytes 25GB
Technology Tips and News
I have two drives "C and E" with 20 and 30 GBs of storage each, when i try to crete a new fixed vhd with source as my C drive in E drive...i am getting error
New-VHD -Path E://Fixed.vhd -Fixed -SourceDisk 0 -SizeBytes 25GB
Try this:
New-VHD -Path E:\Fixed.vhd -Fixed -SourceDisk 0
It would certainly be helpful if you posted the error? Your question also doesn't make much sense.
Hi,
You can't use -SizeBytes with -Fixed and -SourceDisk. See the parameter sets listed here:
https://technet.microsoft.com/en-us/library/hh848503.aspx
Relevant snippet:
Parameter Set: FixedWithSource New-VHD [-Path] <String[]> -Fixed -SourceDisk <UInt32> [-AsJob] [-BlockSizeBytes <UInt32> ] [-ComputerName <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
My brain didn't see it until you posted.
We need a forms based method of creating topics. This would make getting info easier for the posters and it would help to categorize the posts. Freeform is so 20th century.