Opening Multiple Sessions in PowerShell Script

Advertisement

JasonRkr
Joined:
Posts:
13
Location:
Sunny Southern California

Opening Multiple Sessions in PowerShell Script

Group,

Hello and Happy Friday to you all.

Is it possible to open multiple sessions in a PowerShell script? If so, can someone point me to an example? I need to pull files from one UNIX server and then upload them to another.

Thanks,

J

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Opening Multiple Sessions in PowerShell Script

Of course. Just create multiple instances of Session class. You can run them in parallel (from multiple threads) or in sequence. As you like.

Reply with quote

Advertisement

You can post new topics in this forum