piszczynski>Aleks |
piszczynski>Aleks No edit summary |
||
| Line 11: | Line 11: | ||
See https://blogs.vmware.com/PowerCLI/2013/03/back-to-basics-connecting-to-vcenter-or-a-vsphere-host.html | See https://blogs.vmware.com/PowerCLI/2013/03/back-to-basics-connecting-to-vcenter-or-a-vsphere-host.html | ||
==VM Management== | |||
===Disk Management=== | |||
Add new Hard disk: | |||
*'''New-HardDisk -VM <name of vm> -CapacityGB 100''' | |||
See: https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/new-harddisk/#CreateNew | |||
Revision as of 09:23, 25 April 2023
VMware Powercli
Connect to environment
- Connect-VIServer -Server vcenter01 -User admin -Password pass
or
- Connect-VIServer -Server vcenter01
VM Management
Disk Management
Add new Hard disk:
- New-HardDisk -VM <name of vm> -CapacityGB 100