Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Identify Users Without a Photo

$
0
0

Summary: List all users who do not have a photo assigned in Active Directory.

Hey, Scripting Guy! Question Is there a simple way that I can use Windows PowerShell to identify users who do not have a photo assigned in Active Directory?

Hey, Scripting Guy! Answer Target the ThumbnailPhoto property, and filter the users for Null:

GET-ADUSER –filter * -properties ThumbnailPhoto | Where { $_.ThumbnailPhoto –eq $NULL }


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>