In Bash, you can run a task in the background by placing it &at the end of the command. It is also possible to bring this task to the forefront using a command fgwith the appropriate task identifier, if necessary.
In Powershell, I understand that the equivalent &is a command Start-Job. However, I can not find any information on the equivalent execution methods fg. Is there any way to do this? Note that I am not asking for a way out. Rather, my question is this.
Is there a way to bring current work to the forefront by taking control of the Powershell window?
The main reason this function is needed is because I can send keys / strings to the current job.
Using Windows 8.1 Pro.
source
share