switch between different version of MS Teams module


I have installed 3 version of Teams module (v2.3.1, v3.1.1, and v4.1.0) in my laptop. Can I create a PowerShell session using teams module v2.3.1 and create another PowerShell session using Teams module v4.1.0? If so how can I do it? 


Thanks in advance.

3 Replies
best response confirmed by px091 (Contributor)
How are you?
Some time ago I wrote a blog article about this, I use WSL to run a different version of the module in the same box

Running Teams PowerShell GA module and Preview module side by side using WSL
Many thanks Andres! I definitely will try that.
I have to update the WSL install part, recently, it was simplified a lot by Microsoft, you can follow this for that

Hope you find this method useful