An other way to fix it, it to stop using "pswh.exe" and set the path to "powershell.exe" :
"PowerShell": {
//"source": "PowerShell",
"path": ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"],
"icon": "terminal-powershell"
},