Я пытаюсь использовать командлет Resize-VHD
, но это приводит к следующей ошибке:
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
Как мне это исправить?