Hyper v upgrade disk size

Hello, I have Home Assistant fully up and running on Windows 10 with Hyper-V. When installed the VM was set to 32gb of space and I would like to increase that. I see a lot of conflicting information and do not want to break my current install. To increase the disk size, do I simply need to delete the checkpoints turn off the VM, use edit disk to increase the size and then restart the VM? Will home assistant automatically resize within the increased VM?