我正在尝试使用Resize-VHDcmdlet,但这会导致以下错误:
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
Run Code Online (Sandbox Code Playgroud)
我该如何解决?
我的一根以太网电缆开始出现故障,所以我决定更换它。问题是,原来旧电缆既不是直的也不是交叉的。它已镜像所有对(1-8 2-7 3-6 4-5 5-4 6-3 7-2 8-1)。我(将问题范围缩小到以太网扩展这里像一个:)

如果拆开,里面有一块电路板,它也反映了所有对。所以电缆基本上被镜像以修复扩展器内部的镜像。
问题是,那是什么?它从何而来?它是用某种标准描述的吗?延长器是工厂制造的,电缆绝对不是通过反复试验制造的。