How to batch extend VM disk
Add-PSSnapin vmWARE.VimAutomation.Core
$vc="vCenterHostName"
connect-viserver $vc
$VMinfo = get-content "c:\VMName.csv"
foreach ($VM in $VMinfo){
Get-HardDisk -vm $VM | where {$_.Name -eq "Hard Disk 1"} |Set-HardDisk -CapacityGB 60 -Confirm:$false
}
根據實際情況更改VC名字和Hard disk number and size.
How to batch extend VM disk
相關推薦
How to batch extend VM disk
extend; diskAdd-PSSnapin vmWARE.VimAutomation.Core$vc="vCenterHostName"connect-viserver $vc$VMinfo = get-content "c:\VMName.csv"foreach ($VM in $VMinfo){Ge
How to open Azure VM Port
uri range ron things azure soft 虛擬 wall hang 如何打開 Microsoft Azure 虛擬機某一端口? Things to do: 1. Azure Portal ------> Network Secur
HOW TO CREATE A UEFI WINDOWS 7 USB BOOT DISK
Extract the files from DVD or ISO file Partition your USB Drive (optional) a. Open Command Window (CMD) as administrator b. diskpart c. list disk d. sele
How to use Different Batch Sizes when Training and Predicting with LSTMs
Tweet Share Share Google Plus Keras uses fast symbolic mathematical libraries as a backend, such
How to Troubleshoot High or Full Disk Usage with Amazon Redshift
SELECT q.query, trim(q.cat_text) FROM ( SELECT query, replace( listagg(text,' ') WITHIN GROUP (ORDER BY sequence), '\\n', ' ') AS cat_text FROM
How to Extend DeepLens Project
This step-by-step tutorial will help guide you through extending a model with AWS DeepLens. AWS DeepLens is a fully programmable video camera
USBView & How to get the Serial Number from a USB disk & qextserialport
Introduction Most flash-based USB disk devices have a unique serial number assigned by the manufacturer. (However, some earlier v1.1-based USB devices ma
窩上課不聽,how to learn C language easily(1)
程序 簡單 小數 如果 如何 好處 class 數組 指針 C language 學習心得 附:為啥起這麽霸氣側漏,招大神們鄙視的標題,正如我在《C language》隨筆的介紹中寫的,這是一個寫個妹紙們看的C language的文章。沒錯!!寫這篇文章的靈感也來自於上周C
<轉>How to Encourage Your Child's Interest in Science and Tech
sim challenge table nic options https fun developed advice How to Encourage Your Child‘s Interest in Science and Tech This week’s Ask-A-D
Livemedia-creator- How to create and use a Live CD
download further burning method create Livemedia-creator- How to create and use a Live CDNote for older method (namely for Fedora 23) using livec
How to search Installed Updates
windows 控制 asp blank list ren nag earch txt Windows本身的控制面板中自帶的搜索,無法根據補丁編號進行搜索 可以將補丁信息導出到文本,再用文本編輯器進行查找 https://www.concurrency.com/blog
How to fix yum errors on CentOS, RHEL or Fedora
http dsm list plain ... prop package cat cse Yum is a package management tool for installing, updating and removing rpm packages on Red
[Angular] How to styling ng-content
hat part log say over fin none aps div Let‘s say you are builing a reuseable component. The style structure like this: div > input
How to Remove A Service Entry From Win10 Service List
console hot list warn oba tor div register ever .warnbanner { width: 600px; background-color: #FFEFCE } .warnbanner.border { border: 0px
[Python] How to unpack and pack collection in Python?
ide ont add off art video lec ref show It is a pity that i can not add the video here. As a result, i offer the link as below: How to
How To Configure VMware fencing using fence
val mage redhat 文章 連接 enabled pri 分享 com 本文主要簡單介紹一下如何在RHEL 7 Pacemaker中配置一個fence_vmware_soap類型的STONITH設備(僅供測試學習)。 STONITH是Shoot-The-Oth
How to start/stop DB instance of Oracle under Linux
sid dbca tracking onf status account note notes all All below actions should be executed with "oracle" user account 1. Check the stat
how to study reinforcement learning(answered by Sergio Valcarcel Macua on Quora)
work asi -a recommend practical man glob alua iteration link: https://www.quora.com/What-are-the-best-books-about-reinforcement-learning
How to cast List<Object> to List<MyClass> Object集合轉換成實體集合
and ins 轉換 clas ase 強制轉換 lar targe tin List<Object> list = getList(); return (List<Customer>) list; Compiler says: cannot
How to install MySQL on CentOS
ica temporary 1.2 number list details table tcp ets 1)chekc centos中是否安裝了MySQL [[email protected]/* */ MySQL]# rpm -qa | grep maria