I'm trying to use
Resize-VHD cmdlet, but this results in the following error:
PS> Resize-VHD -Path "C:\Container.vhd" -SizeBytes 20GB Error: Resize-VHD : The term 'Resize-VHD' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Resize-VHD -Path "C:\Container.vhd" -SizeBytes 20GB + ~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Resize-VHD:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
How do I fix that?