![]() ![]() It will write important information in the log.If the device is within the coporate network it will copy the background images from the folder on the share to the teams background location of the user.Checks if the device is connected to your corporate network.(%appdata%\Microsoft\Teams\Background\Uploads) ![]() Checks if the Uploads folder is present, if not it will be created.If teams is started once before it will check if the background folder is present (%appdata%\Microsoft\Teams\Background), if not it will be created.Checks if teams is already started once before by the user (%appdata%\Microsoft\Teams), if not the script will do nothing.Checks if the logfolder is present, if not it will create the logfolder and a logfile (%localappdata%\Logs\BG-copy.log).(You will only have to change the $sourcefolder variable to the Teams-Backgrounds folder created above.) Create the variables need for the script to run.The powershell script SetTeamsBackgrounds.ps1 wil do the following actions: The images that you will place in Teams-Backgrounds will have some requirements: Teams-Backgrounds (for the images to distribute as teams backgrounds) Set-Teams-Backgrounds (for the content needed to run the script) In order for the powershell script to work you will need 2 folders on a netwerkshare that can be accessible for the users where you want to deploy the backgrounds to (read only). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |