Reset Smb connection


Hi to all,

Thx in advance for your participation in this topic

I usually set some smb connexions between my mac and some PCs I have in my local net at home or PCs from friends I am connected with suing a VPN.

After a while, the smb connexion is down. :(
When i want to reset it by clicking in the Finder Eject button, it takes a while and sometimes i need to reboot my mac.

My question is: is there any way by script or anything else to reset all smb connections?

Thx again for the answers