1 Reply Latest reply on Aug 21, 2019 6:18 AM by LucD

    get VM Notes using powercli / powershell

    sgruttad Novice

      Hi all, I am trying to retrieve the notes annotation from vcenter using powercli.  I can get it easily with get-vm.

      However, I am trying to get it from get-view. In get-view output I cannot find a notes field. I do see the config annotations field, which returns the data, but the notes that come back wont input into my mysql database.


      Does anyone know if there is someplace in get-view to get the notes back like get-vm?

      Does anyone know what get-vm is transforming that might make the notes data digestible?


      Ive tried replacing the notes using regex toi just normal characters but no joy.