Forum Discussion
oryxway
Jul 17, 2024Iron Contributor
MS Teams Detection in Intune
I need a proper detection script to ensure that my new teams installation is successful or not. Can I use this as a detection script? I see that this one and others I have used shows as failed
if ($null -eq (Get-AppxPackage -Name MSTeams)) {
Write-Host "New Teams client not found"
exit 1
} Else {
Write-Host "New Teams client found"
Exit 0
}
Some are showing as installed and some are showing as failed. I want to have a proper detection script for me to ensure that the new teams is installed. Any help would be great.
2 Replies
- Are you continuing your question here? https://techcommunity.microsoft.com/t5/microsoft-intune/teams-install-fails/m-p/4192672
- oryxwayIron ContributorHi Harm long time no see. Yes,