Start-Job Problems
Posted
by laerte-junior
on Stack Overflow
See other posts from Stack Overflow
or by laerte-junior
Published on 2010-05-29T03:46:21Z
Indexed on
2010/05/29
3:52 UTC
Read the original article
Hit count: 377
powershell-v2.0
Hi all,
Why this code not works ?
function teste
{
begin
{
function lala {
while ($true){
"JJJJ" | Out-File c:\Testes\teste.txt -Append
}
}
}
process {
Start-Job -ScriptBlock {lala}
}
}
© Stack Overflow or respective owner