In powershell, how do you run multiple commands that might take different amount of time to complete
Let's say you have
command1: print pdf file.pdf
command2: scp file.pdf C:/abc/
command3: notepad log.txt
Does powershell wait for command1 to complete before starting command2?
If not, how do I wait until command1 is complete?