Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: Microsoft Teams on Non-Persistent - UEM + App Vols

$
0
0

Here's my silent install script (PowerShell). This should be run per user as the user:

 

$downloadx86url = "https://teams.microsoft.com/desktopclient/installer/windows/x86"

$downloadx64url = "https://teams.microsoft.com/desktopclient/installer/windows/x64"

$downloadpath = "$env:TEMP\teamstemp.exe"

 

$online = Test-Connection teams.microsoft.com -Count 1 -Quiet

while (!$online) {

    Start-Sleep -Seconds 5

    $online = Test-Connection teams.microsoft.com -Count 1 -Quiet

}

 

if ([System.Environment]::Is64BitOperatingSystem) {

    $downloadurl = $downloadx64url

} else {

    $downloadurl = $downloadx86url

}

 

$wc = New-Object System.Net.WebClient

$downloadurl = $wc.DownloadString($downloadurl)

$wc.DownloadFile($downloadurl,$downloadpath)

if (Test-Path $downloadpath) {

    Start-Process "$downloadpath" -ArgumentList "-s" -Wait -NoNewWindow

    Remove-Item $downloadpath -Force

}

 

I then capture the following:

HKCU\Software\Microsoft\Office\Teams

%appdata%\Teams

%appdata%\Microsoft\Teams

%localappdata%\Microsoft\Teams

%localappdata%\Microsoft\TeamsMeetingAddin

 

And exclude:

%appdata%\Teams\logs

%appdata%\Microsoft\Teams\Application Cache

%appdata%\Microsoft\Teams\Cache

%appdata%\Microsoft\Teams\tmp

%appdata%\Microsoft\Teams\logs.txt

%appdata%\Microsoft\Teams\lockfile


Viewing all articles
Browse latest Browse all 49146


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>