How to execute 2 scripts, if the 2nd one is dependent on the results of the fist one. I want to deploy a network and a server has to deploy in that network. The network deployment is taking time, but before that the server deployment scripts start, which shows an error, that no such network name found. I tried the sleep start command, but I don't know exactly how long it will take to deploy a network.
The gist is that, the result of one script is used as an input of another script.
Could you please help me in this regard. I know there must be a single line cmdlts in powershell for such type of situation.
Thanks, Krishna
Script1.ps1; Script2.ps1.