MİCROSOFT OFFİCE 365 - POWERSHELL

Office 365’te Kullanıcı Profil Resmi Nasıl Değiştirilir

Office 365‘te Profil Resmi Nasıl Değiştirilir. Kurumsal firmaları kurumsal yapan şey aslında yapacağı veya yaptığı her işin, her hamlenin daha önceden belirlenmiş ilke ve kurallar dâhilinde yapıldığı bir şirkettir. Peki, bilişim sektöründe kurumsallaşmayı nasıl sağlayabiliriz.

Bu makalemizde ise sizlere Powershell ile Office 365 kullanan kullanıcıların profil resimlerini güncelleyerek, kendi hiyerarşimizi daha düzenli bir hale getirmiş olacağız.

Powershell komutumuzu çalıştırmadan önce bir takım ön hazırlıklar yapmamız gerekiyor, Bunlar aşağıdaki gibidir;

ProfilePhotoUpload – Pictures altında ilgili profil yapılacak resimleri ekledim. Resimde görüldüğü üzere hangi resmi hangi kullanıcıya eklemek istiyorsanız, o kişinin mail adresini ve resim uzandığını “jpg”olarak düzenlemeniz gerekir.


Aşağıdaki gibi bir “CSV” dosyası hazırlıyoruz. İlgili mail adreslerini ve resmi nereden alacaklarını gösteriyoruz.


Yukarıdaki iki gereksinimleri sağladıktan sonra ise Windows Powershell ISE programını Run as Administrator ile çalıştırıyoruz. İlk 5 adımda powershell’e bağlanıyoruz, Ardından aşağıdaki Script çalıştırıyoruz.


Script

Import-Module MSOnline
$O365Cred = Get-Credential
$O365Session = New-PSSession –ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/?proxymethod=rps -Credential $O365Cred -Authentication Basic -AllowRedirection
Import-PSSession $O365Session
Connect-MsolService –Credential $O365Cred

Import-csv C:\ProfilePhotoUpload\UserList.csv | % { Set-UserPhoto –Identity $_.username -PictureData ([System.IO.File]::ReadAllBytes($_.picture)) -Confirm:$false }

Script’imizi başarılı bir şekilde çalıştırdıktan sonra ilgili kişilere mail atarak yüklediğimiz profil resimlerini görüyor olacağız.


Görüldüğü üzere kime ve bilgi kısmındaki kullanıcıların profil resimleri istediğimiz gibi görünmektedir.

I was born in Istanbul. I completed my high school education in system network engineering, my university studies in Computer Technology and Programming Sciences, and earned a four-year degree from Anadolu University. As an experienced technology consultant, I have gained extensive experience in the field of information technology for over 10 years. I have worked in both large corporate companies and small-scale startups, specialising in providing strategic technology solutions to clients across various industries. During this time, I have developed into a determined and reliable IT consultant, covering the entire technology field, including project management, training, and pre- and post-sales support for corporate solutions. I have both individual and team-based experience in management, implementation, and design in areas such as cybersecurity, endpoint security, data security, cloud migration, and infrastructure. As a result, I always use the phrase “It can be better” in every situation I encounter. I currently work as a “Cyber Security Principal Expert ☁” at Koçsistem, Microsoft’s top partner. My skills and abilities Cloud Computing Architecture Microsoft 365 Migration and Management Azure Infrastructure Modern Workplace Digital transformation Microsoft 365 Exchange Online EOP ( Exchange Online Protection) Microsoft Defender for Office 365 Microsoft Defender for Endpoint Microsoft Defender for Cloud Apps Microsoft Defender for Cloud Microsoft Defender for Identity Microsoft Intune Microsoft Sentinel Microsoft Teams Hybrid Solutions Mobile Device Management and Mobile Application Management. Data Loss Prevention and Protection Microsoft Information Protection Cloud Identity and Access Management Solution MS Windows Server Family Microsoft Client Windows 11 Management of Hyper-v and VMware Virtualization Platforms Active Directory configuration and management Exchange Server configuration and management Veeam Backup installation and configuration WDS,MDT configuration and management Certificates ; MCT: Microsoft Certified Trainer 2019-2020 MS: Designing and Providing Microsoft Volume Licensing Solutions to Large Organizations MCTS: Designing, Assessing, and Optimizing Software Asset Management (SAM) MCPS: Microsoft Certified Professional MCSA: Windows Server 2012 MCSE: Private Cloud WMSP: Veeam Sales Professional VMTSP: Veeam Technical Sales Professional Coursera-Cybersecurity Solutions and Microsoft Defender Coursera-Cybersecurity Management and Compliance Google – Google Professional Cloud Architect

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir