Skip to content

Commit

Permalink
Update Install MS Teams.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Mohrmann authored and Dennis Mohrmann committed Mar 26, 2021
1 parent 0ffb86c commit ed29378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Install MS Teams.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ $Teams = (Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentV
IF ($Teams) {$Teams = $Teams.Insert(5,'0')}
IF ($Teams -ne $Version) {

#Uninstalling MS Teams
# Uninstalling MS Teams
IF (Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where DisplayName -like "*Teams Machine*") {
Write-Host -ForegroundColor Yellow "Uninstalling $Product"
DS_WriteLog "I" "Uninstalling $Product" $LogFile
Expand All @@ -111,7 +111,7 @@ Write-Host -ForegroundColor Green " ...ready!"
Write-Output ""
}

#MS Teams Installation
# MS Teams Installation
Write-Host -ForegroundColor Yellow "Installing $Product"
DS_WriteLog "I" "Installing $Product" $LogFile
try {
Expand Down

0 comments on commit ed29378

Please sign in to comment.