Automation

 View Only
  • 1.  Contern Library monitor

    Posted Dec 13, 2019 07:41 AM

    I have some ISO in Contern Library.

    There is no information in the WEB interface to whom ISO is connected to this momoent.

    How via PowerCLI check which VMs ISO are connected to?



  • 2.  RE: Contern Library monitor

    Posted Dec 13, 2019 07:54 AM

    Did you check if scanning all your VMs for ISO connections gives that info?

    If that info is in there, you can add a Where-clause to filter only the ones with a Content Library ISO

    Get-VM | Get-CDDrive |

    Select @{N='VM';E={$_.Parent.Name}},Name,IsoPath,HostDevice,RemoteDevice



  • 3.  RE: Contern Library monitor

    Posted Dec 13, 2019 10:17 AM

    About scanning the VM for a CD - I know.

    I thought there might be a way via PowerCLI to learn from Content Library



  • 4.  RE: Contern Library monitor

    Posted Dec 13, 2019 11:38 AM

    There are a number of Content Library cmdlets in PowerCLI (several added in the latest 11.5).
    They will show you the content, but I don't think it will show you which VMs have one of those ISOs mounted.