I have this in my notes: User Login Script if (-...
# microsoft-365
c
I have this in my notes: User Login Script if (-not (Get-AppxPackage -Name "*Teams*")) { Start-Job -Name RegisterTeams -ScriptBlock { Add-AppxPackage -RegisterByFamilyName -MainPackage MSTeams_8wekyb3d8bbwe -ErrorAction SilentlyContinue } Wait-Job -Name RegisterTeams }