Hi,
Is there a way of suspending a PowerShell script until some action has been completed. For example if I was using a Linux shell and I typed gedit
then gedit would load but the shell would be suspended until I closed gedit (unless '&' was added to the end of the command).
Is there anyway to mimick this behaviour with PowerShell? So could I get a script to open Notepad but suspend itself until Notepad was closed again.
Thanks...