Files
Powershell-Scripts/Get Scripts/Get if MS New Teams is installed.ps1
T

18 lines
456 B
PowerShell
Raw Normal View History

2025-08-05 15:01:36 +00:00
<#
Author: Gabe Kerntke
Company: UFS LLC
Date: 10-04-2024
.Synopsis
.Modified
2024-10-04 (GabeK) - Original script created
#>
$Name = Get-AppxPackage -name *Teams* -AllUsers -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Name
If ($Name -eq "MSTeams") {
If (Test-Path "C:\Program Files\WindowsApps\*MSTeams*") { Write-Host "MS Store Version of Teams is installed" }
}
Else { Write-Host "New Teams not installed" }