In our infrastructure every user has a picture saved in AD, which is then used for different purposes.
Obviously it would be nice to be able to use this picture also as the user pic for the local account.
The basic part of setting the picture is well documented here:
https://scriptingosx.com/2018/10/changing-a-users-login-picture/
The thing where i struggle is the extraction of the user pic from AD via cli.
Can someone point me in the correct direction or has someone already solved this / a similar problem?
