减少预配置OS磁盘的大小 [英] Reducing the size of a pre-configured OS disk size

查看:74
本文介绍了减少预配置OS磁盘的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上全部

因此,我使用的VM具有预先配置的UK South Windows 2012 r2 DC OS磁盘大小,为128GB(P10/S10)-尽管它们的在线价格计算器暗示您可以根据预算和需求调整OS磁盘大小.

So the VM I use has a pre-configured UK South Windows 2012 r2 DC OS disk size of 128GB (P10/S10) - despite their online price calculator implying you can adjust the OS disk size according to your budget and needs .

因为您只能在门户中增加OS磁盘大小-有没有办法可以从预配置的128GB减小OS磁盘大小?即通过PowerShell或RunCommand?

Because you can only increase the OS disk size in the portal - is there a way in which an OS disk size can be reduced from the pre-configured 128GB? I.e via PowerShell or RunCommand?

谢谢

推荐答案

此处是有关如何
Here is an article on how to shrink a managed disk size using PowerShell
Try this and let me know if it works for you. Thanks :)


这篇关于减少预配置OS磁盘的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆