For out students, we want a single image for their GSuite profile photos. Sadly there isn’t a way of preventing users from changing their photo, so we have to run a script regularly to remove any changes they may have made.
1 2 3 4 5 6 7 8 |
#- Address of the group -# #- Location of image -# $imageLocation = "C:\Folder\image.jpg" #- Set the image -# .\gam.exe group $groupAddress update photo $imageLocation |