- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 :