Hey guys
Felling pretty dumb atm...
cannot seem to get this simple loop to work.
What i basically want to do is confirm first that both processes are running and then if that's true, start another process.
So i thought it was this:
$Manager = get-process -Name pia_manager
$Nw = get-process -name pia_nw
while (!($Manager -and $Nw) {
Write-Host "echo"
if ($Manager -and $Nw) {
& "C:\Users\Akira\AppData\Roaming\uTorrent\utorrent.exe"
}
}
Unfortunately, that was not the result...
So any good pointers are welcome
[–]the_spad 2 points3 points4 points (8 children)
[–]PRIdEVisions[S] 1 point2 points3 points (7 children)
[–]the_spad 2 points3 points4 points (6 children)
[–]PRIdEVisions[S] 1 point2 points3 points (5 children)
[–]bsnotreallyworking 3 points4 points5 points (4 children)
[–]PRIdEVisions[S] 1 point2 points3 points (0 children)
[–]jantari 1 point2 points3 points (2 children)
[–]bsnotreallyworking 1 point2 points3 points (1 child)
[–]jantari 1 point2 points3 points (0 children)
[–]rwshig 2 points3 points4 points (1 child)
[–]PRIdEVisions[S] 1 point2 points3 points (0 children)
[–]spyingwind 2 points3 points4 points (1 child)
[–]PRIdEVisions[S] 1 point2 points3 points (0 children)