• Our Office
  • 12 Alpine Close Lakefield Benoni 1501

Show AD Picture

Nice script to visually show the content\value of the AD thumbnailPhoto property $username = Read-Host ‘What is the username e.g. name.surname?’ $server = Read-Host ‘What is the userdomain e.g. domain1|domain2?’ $user = Get-ADUser $username -properties * -server $server $Img = $User.thumbnailPhoto [VOID][Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”) $Form = New-Object Windows.Forms.Form $Form.Text = “Image stored [...]

Read More