I'm running a command that I want to rerun when it completes, without needing to navigate back to the terminal to enter the command again.
I know in Ubuntu, I can run a terminal with a command, and it'll loop forever if I have it set up right, something like gnome-terminal -x $MY_COMMAND.
Given that I can't mark Powershell to rerun the command instead of closing the window, how can I repeat a command indefinitely?