In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. First of all, like the method of opening accounts in batches, we use the CSV file to edit the account for which you want to configure email avatars, as shown below:
2. Then, we put the corresponding employee photos into the corresponding storage path, as shown in the following figure:
3. Create a PowerShell script to achieve batch import. The content and location of the script are as follows:
Import-Csv-path C:\ Usert\ csuet.csv-encoding default |% {Set-UserPhoto $.Account-PictureData ([System.IO.File]:: ReadAllBytes ("C:\ Usert\" + $.account + ".jpg"))-Confirm:$false}
Pay attention to modifying the path in the script above.
4. Verify whether there are photos in the mailbox before operation, as shown in the following figure.
5. Start the import photo script, as shown in the following figure:
6. After waiting for the execution of the above script, we will verify whether to import the photos, and from the verification results
At this point, we have completed the batch import of mailbox users' avatars.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.