Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDiskSize ¶
func GetDiskSize(diskPath string) (strongunits.B, error)
func ResizeDisk ¶
func ResizeDisk(diskPath string, newSize strongunits.GiB) error
ResizeDisk takes a diskPath and strongly typed new size and uses powershell to change its size. There is no error protection for trying to size a disk smaller than the current size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.