Not sure where $1
came from, change it to this:
for($i = 1 ; $i -le 3; $i++)
{
Start-Process powershell.exe
}
and it'll work.
What's the end goal? Opening up new powershell processes will be slow and isn't usually necessary.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…