never-displayed
View discussion in a popup
you are using this in back order . Values are already stored in $Mylist, you have to call these values by [0], [1], [2]... so on. This will work in this way :
Use Get-VM command before.
Get-VM | $Mylist[0]
Get-VM | $Mylist[1]
Example :