Hi Luc,
could you check following screenshot .
here it started with get-vm command and continue using pipeline for filtering poweredon vms.after that one more pipe to get datastore .
is it possible to change the object type from virtualmachine to datastore .
$_ will remain vmobject till the end of pipeline or can it be altered??
