Загрузка...

PowerCLI: Change Storage Policy in Azure VMware Solution. #avs #shorts #powercli #azure #VMware

Quick #short to demonstrate how to set a storage policy to a single VM in Azure VMware Solution, using PowerCLI. #AVS @VMwareCloud @VMwarevSphere #AzureVmwareSolution

I DOOOO have a small cAsEsEnSiTiVe typo in there, the command $Disks = $vm | Git-Harddisk should be $disks=....., it worked in the following command because I had already set that variable previously with the lowercase d. If you use this exact command, make sure to keep the same exact case sensitive letters that you use when setting the variable ;)

Commands used:
$vm = Get-VM BG-HCX-Test
$disks = $vm | Get-Harddisk
$VM, $disks | Get-SpbmEntityConfiguration | Set-spbmEntityConfiguration -StoragePolicy "RAID0"

Connecting to vCenter via PowerCLI:
https://blogs.vmware.com/PowerCLI/2013/03/back-to-basics-connecting-to-vcenter-or-a-vsphere-host.html

Видео PowerCLI: Change Storage Policy in Azure VMware Solution. #avs #shorts #powercli #azure #VMware канала AVS Team
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять