Thursday, July 13, 2017

VM add ram


[code]
$vms = Import-Csv C:\cvs\vms.cvs

Foreach ($vm in $vms) {
Get-VM -name $vm | Shutdown-VMGuest | Set-VM -MemoryMB "4096" | -MemReservationMB "4096" –Confirm:$False | Start-VM
}






CVS input

NAME
__PBTPW732NP_Temp
PBTPW732NP_Temp
BTPXDWIN7O10
clone-example
PBTPCTL01
PBTPDEVW764001
PBTPDEVW764002
PBTPDEVW764003
PBTPDEVW764004
PBTPDEVW764005

No comments:

Post a Comment

Vmware NSX SSL creation 

Using OpenSSL for NSX Manager SSL import: Creates CSR and 4096 bit KEY Creating NSX 6.4.2 SSL    openssl req -out nsxcert.csr -newkey rsa:40...