I've been trying to launch teams using powershell, i've succeeded launching teams using the destination path under the shortcut property, and then running it in powershell.
C:Usersuser1AppDataLocalMicrosoftTeamsUpdate.exe --processStart "Teams.exe"
But this only works for the local user, if i run the script with another user teams won't launch. i've storing the user in a variable.
$user = $env:UserName
C:Users$userAppDataLocalMicrosoftTeamsUpdate.exe --processStart "Teams.exe"
This doesn't work.
So my question how can I launch teams.exe(make it visible)?
I want to make it like how you can launch word with start winword.exe
question from:
https://stackoverflow.com/questions/65932454/how-to-launch-teams-exe-with-powershell 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…