PowerShell script #1 does the following:
Performs FTP ops ending with saving updated remote directory data in a local file
The script runs quickly until the remote directory data must be obtained using FTP. It would be desirable to remove the remote directory data retrieval into a different PowerShell script #2.
This SO post explains launching a script from within a script. But it seems in this case the first script is suspended while the second script executes.
How can I code script #1 so that script #2 is launched and forgotten and script #1 continues and completes quickly leaving script #2 to finish in the background.