Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230200

Re: JOB Object

$
0
0

I want to use something like that:

     $allTask = Get-Task | where {$_.Id -match $_.Id}

but in this command both $_.Id are reference to the Get-Task task's

and I what that the second one will refer to the  $allTask task's

 

for example :

        $allTask=($task2,$task3)

        Get-Task = ($task1,$task2,$task3,$task4)

     now I what to get only $task2,$task3 from Get-Task and insert them to $allTask

 

How I can do this command?

 

thanks


Viewing all articles
Browse latest Browse all 230200

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>