Developer_PK
Enthusiast
Enthusiast

Thanks much for reply.
I want to send a Another variable to Argument list. So that it should Take the variable data in to code block.
Like I want to pass multiple variables to arugementlist. 
Is this possible?
I want to run a code block for multiple servers to fetch data.
$vmnames |%{
$scriptblock = { #code}
Start-Job $ScriptBlock -ArgumentList $_
}
This way i am using the code block. 

Reply
0 Kudos