``` $adb = "C:\Users\david\AppData\Local\Android\Sdk\platform-tools\adb.exe" 1..9 | ForEach-Object { $n = "{0:D3}" -f $_ $name = "Rhythmology_$n.json" $args = @( "exec-out", "run-as", "at.lockstep.player", "cat", "files/beat_annotations/$name" ) Start-Process -FilePath $adb -ArgumentList $args ` -NoNewWindow -Wait -RedirectStandardOutput $name } ```