Windows Server 2016 – Hyper-V edit virtual disk

Screenshot 20181031 102756

Open Hyper-V Manager, at the right panel click Edit Disk. Click Next. Click Browse and select the virtual disk you want to edit. Click Next. Select what you want to do with the virtual disk. You have three options: Compact, Convert and Expand. Click Next and then Finish. Short post. Next post will be about editing virtual disk with PowerShell.   https://kandz.me/?p=3024 Windows Server 2016 – Hyper-V edit virtual disk

Windows Server 2016 – Hyper-V edit virtual disk Read More

Windows Server 2016 – Hyper-V mount a virtual disk

Screenshot 20181029 092608

Open Server Manager, go to Tools > Computer Management Go to Disk Management, then right-click Disk Management and select Attach VHD Click Browse, select the VHD you want to attach and click Open The vhd is ready for use. You can use it like a normal hard disk.   You can also mount and dismount a VHD/VHDX with PowerShell like this: mount-vhd -path c:\newvhd.vhdx dismount-vhd -path c:\newvhd.vhdx More information about mount-vhd and dismount-vhd, here and here.   https://kandz.me/?p=2998     Windows Server 2016 – Hyper-V mount a virtual disk

Windows Server 2016 – Hyper-V mount a virtual disk Read More

Windows Server 2016 – Hyper-V create shared virtual disk

Screenshot 20181028 100352

Open Hyper-V Manager, select a virtual machine, right-click and select Settings. Then click on SCSI Controller on the left panel, select Shared Drive on the right and then Add. Click New Click Next. Read the disk format information, select the one you need and click Next. Choose Disk Type, Fixed Size | Dynamically expanding and click Next.  Specify Name and location for the virtual disk and click Next. Choose to create a blank one or copy the contents of an existing disk. Click Next. Click Finish. Your new shared virtual disk…

Windows Server 2016 – Hyper-V create shared virtual disk Read More

Windows Server 2016 – Hyper-V Add virtual disk to virtual machine

Screenshot 20181027 120638

Start Hyper-V Manager, choose a virtual machine, right-click and select Settings. Click on the IDE Controller 0, select Hard Drive and click Add. Click Browse,  and select the virtual disk you want to add. Click OK to close the Settings. You can see the virtual disk has been added.   https://kandz.me/windows-server-2…-virtual-machine/   Windows Server 2016 – Hyper-V Add virtual disk to virtual machine

Windows Server 2016 – Hyper-V Add virtual disk to virtual machine Read More

Windows Server 2016 – Hyper-V create a new virtual disk

Screenshot 20181027 112147

Open Hyper-V Manager, select a Hyper-V server and from the Action panel choose New > Hard Disk Click Next. Select Disk Format and then Next again. Choose disk type and click Next.  Specify the name and disk location. Then click Next. More configuration for the disk and then Next and then Finish.   Virtual Disk creation with PowerShell: new-vhd -path c:\newVHD.vhdx -fixed -sizebytes 2gb – logicalsectorsizebytes 4096 Some parameters: fixed | dynamic | differencing 512 | 4096 in -logicalsectorsizebytes More information about new-vhd here Windows Server 2016 – Hyper-V create a new virtual…

Windows Server 2016 – Hyper-V create a new virtual disk Read More