Use-Powershell
17 May 2013
User's picture in active directory
To import the picture:
Import-RecipientDataProperty -Identity
marius.dumitru
-Picture -FileData ([Byte[]]$(Get-Content -Path "C:\tmp\user.jpg" -Encoding Byte -ReadCount 0))
To remove the picture:
Set-Mailbox samAccountName -RemovePicture
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment