Bonjour Samcro49,
Je te propose d'ajouter la clause -NoExit dans ta commande Powershell :
' Construire la commande PowerShell GVS
strCommand = "powershell.exe -ExecutionPolicy Bypass -NoExit -File """ & strScriptPath & """ -IPAddress """ & strIPAddress & """ -Port """ & strPort & """"
' Exécuter la commande PowerShell en arrière-plan
objShell.Run strCommand