?????????? ?????? ????? Lync ??? ??? ?? ????????? ???? ???

???? ?????? ???? ??????
???? ID: 2497721 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

?? ?? Microsoft Lync ?????? ???? ?? ??? ?????? ???, ?? ?? ????? ???????? ????? ?? ???? ???:
  • ?????? 1: ?? Microsoft Lync 2010 ?? Microsoft Lync 2013 ??? ???? ?????? ????? ??? ???? ???
  • ?????? 2: ???? ?????? ???? ????? ??? ???? ??? ?? ????? ?????? ????? ????
  • ?????? 3: ?????? ????? ????-??????????? conferences ?? ?????? ?????? ??? Microsoft Lync 2013 ??? ????????? ???? ???

??????

?????? 1 ?? ??? ??????

1 ?????? ?? ?? ???? ?? ???, Microsoft Office 365 ?????? ?? ????? ????? ????? ?????????? ???????? Exchange ?? ??? ?? ??????? ?? ?? ?????? ???? ???, ??????? ????? ?????? ???? Lync 2010 ?? Lync 2013 ?? ????? ????? ???? ?? ???, ???? ?? ???? ??? ???? ??????? ?? ???, ????? Microsoft ??? ???? ?? ????:
Lync ??? ???? ????? ????????? ????

?????? 2 ?? ??? ??????

????? ?????? ??????? ???? ?? ?? ???? ?????? ????? ??? ???? ???, ?? ????????? ???? ?? ????? ?????? ?????????? ??? thumbnailPhoto ??????? ?? ????? ?? ???????? ???? ??? ??? ????? ??????? ?????? ?????????? ????? ???? ??? (AD DS) ???????? ??? ?? ???, ??????? ?? ?????? ???, ????? ????? ?????? ???? ?? ??? ?????? ???? ????

???? ????? ?????? ????? ?? ??????? ????? ?? ??????? ???? ??? ????? ???? ?????? ???? ???????????? ?? ?? ?? ????? ?? ???? ????? ??? Lync ?????? ??????? ???? ?? ??? ????? ???? ?? ??? ???????? ????

?????? 3 ?? ??? ??????

????-??????? ????? ???? Lync 2013 ?? Microsoft Lync ??? ????????? ??? ????????? ???? ???? ????-??????????? ??????? ?? ???? ???????????? ?? Lync 2010 ?? ??? ??? ?? ???? ??, ?? ????-??????? ????? ????????? ???? ???? ??, ???????????? ?? Lync 2013 ??? ??? ?? ???, ?? ???? ??????????? ?? ??? ?????? ????? ???? ???, ?? ???? ?? ????????? ???? ????? ??? ?????? ???? Exchange 2013 ???????? ?? ?? ?? ????-??????????? ????? ????? ?? ???

???? ???????

?? ???????? ????? ?????? ?? ???? ?? ?? ??? ?? ???? ??:
  • ?? ????? ????????? ?? ???? ???? ?? 1 ?????? ????? ?? ???? ??:
    • ??? ????? ????? ?? ?? ???
    • ????? ???? ?? ?????? ?????????? ?? ???? ???? ???? ???
    • ?????????? ?? ???????? Exchange ?????? ???? ???
  • 2 ?????? ?? ???? ?? ?? ????? ?????? ???? ?? ??? ????? ????? ???? ??? ?? ??????? Exchange ???????? ???????? ?? ?? ????? ?????? ?????????? ??? ???????? ??, ?? ????? ???????? ?? ??? ????? ????? ???? ??, ??????? ?? ???? ???
  • 3 ?????? ?? ???? ?? ?? ???????????? ?? Lync 2010 ??? ?? ???? Exchange 2013 ???????? ?????????? ????? ????? ????????? ???? ?? ???? ??, ?? ??? ?? ????

???? ?? ??? Exchange ?????? PowerShell ?? ?????? ?? ????? ????? ???? ?? ??? ????

???? ????, Exchange ?????? ???? ?? ??? ????? Microsoft ??? ???? ?? ??? ???? ???????? ?? ????? ?? ?????? PowerShell ????? ?? ?????? ????:
?????? PowerShell ?????? ?? ????? ?? Exchange ?? ?????? ????
?? ???????? ???, ???? ??, ???? ?????????? ?? Exchange ???????? ?? ??? ?? ???? ????? ???? ?? ??? ???-UserPhoto cmdlet ?? ????? ????? ???-UserPhoto cmdlet ?? ???? ????? ?? ???? ??? ???? ??????? ?? ???, ????? Microsoft TechNet ??? ???? ?? ????:
Exchange 2013 Cmdlets - ???-UserPhoto

AD DS ??? "thumbnailPhoto" ??????? ?? ????????? ???? ?? ??? ????

?? Microsoft Azure ?????? ?????????? ?????????????? ????? ??? ??? ???, ?? ??-?????????? ?????? ?????????? ?????? ???thumbnailPhoto ??????? ?? ????????? ???? ?? ??? Windows PowerShell ????????? ?????? ??? ???? ?? ???, ????? ????? ?? ???? ????:
  1. ?????? ??????? ????, ?? ???? ??? ????? Windows PowerShell ????????? Notepad ??? ???????:

    $SAMName=Read-Host "Enter a username"
    
    $root = [ADSI]'GC://dc=contoso,dc=local'
    $searcher = new-object System.DirectoryServices.DirectorySearcher($root)
    $searcher.filter = "(&(objectClass=user)(sAMAccountName=$SAMName))"
    $user = $searcher.findall()
    $userdn = $user[0].path
    $userdn = $userdn.trim("GC")
    $userdn = "LDAP" + $userdn
    
    function Select-FileDialog
    {
    param([string]$Title,[string]$Directory,[string]$Filter="All Files (*.*)|*.*")
    [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | Out-Null
    $objForm = New-Object System.Windows.Forms.OpenFileDialog
    $objForm.InitialDirectory = $Directory
    $objForm.Filter = $Filter
    $objForm.Title = $Title
    $objForm.ShowHelp = $true
    $Show = $objForm.ShowDialog()
    If ($Show -eq "OK")
    {
    Return $objForm.FileName
    }
    Else 
    {
    Write-Error "Operation canceled by user."
    }
    }
    
    $photo = Select-FileDialog -Title "Select a photo" -Directory "%userprofile%" -Filter "JPG Images (*.jpg)|*.jpg|PNG Images (*.png)|*.png"
    
    $user = [ADSI]($userdn)
    [byte[]]$file = Get-Content $photo -Encoding Byte
    
    # clear previous image if exist 
    $user.Properties["thumbnailPhoto"].Clear()
    
    # write the image to the user's thumbnailPhoto attribute by converting the byte[] to Base64String 
    $result = $user.Properties["thumbnailPhoto"].Add($file)
    
    # commit the changes to AD 
    $user.CommitChanges()
    
    if ($result -eq "0")
    {
    Write-Host "Photo successfully uploaded."
    } 
    else
    {
    Write-Error "Photo was not uploaded."
    }
  2. ???? ?? ????????? ?? 2, GC ????? ??????? ?????? ??????????? ?????? ?? ??????????? ???? ?? ??? ??????? ????? ?? ?????? ???, ?? Contoso.local ????? ?? ????? ????? ?????, ?? ?????? ???, ?????? 2 ??????????? ??:
    $root = [ADSI]'GC://dc=contoso,dc=local'
  3. ????? ???? ??, ??????????? ?????
  4. ?? ??? ??? ?????? ?????? ????? ???, ????? ??? ??????? (*. *).
  5. ??? ????? ?? ??? ????? ???, ???? ????UploadADPhoto.ps1, ?? ?? ??????????? ?????
  6. Windows PowerShell ??????? ????, ?? ???? ??? ???? ????????? ????? ??? ????? ?? ?? ?????
  7. ????????? ?????, ???? ?????????? ?? ??? ???? ????, ?? ???? ??? Enter ?????? ??? ????? ????? ????? ????? ??? ?? ??? ????? ??? ?? ?? ?? ??? ?? JPG ?? PNG ?????? ????? ???? ???
  8. ?????????? ????? ?????? ??????? ?? ????????? ???? ????
  9. ????? ??????????? ????? ???? ??? ??, ?? ????? ???????? ??? ?? ?? ?? ????:
    • Azure ?????? ?????????? ?????????????? ??????????? ????? ???? ????
    • ?????????????? ?? ??? ????? ??? ?????????????? ?? ??? ????? ???? ?? ????? ?? ???? ??? ???? ??????? ?? ???, ????? Microsoft ??? ???? ?? ????:
      ???? ???????????? ?? ??????????? ????
  10. ??? ?????????? ?? ??????? ???? ?? ??? 12 ?? 24 ???? ?? ????????? ?????
??? ?? ?????? ?? ????? ???? ???? ???????? ???? ??? ??, ?? ???????????? ?? Windows Live Hotmail ???? ????? ???????? ?? ???? ??????? ????? ????? ????????? ???? ?? ???? ??? ????? ??????? ???? ?? ???? ??????? ????? ????? ?? ????? ?? ???? ?????? ?? ???? ???

??? ?? ??? ?????? ?? ???? Office 365 ?????? ????????

???

???? ID: 2497721 - ????? ???????: 03 ????? 2014 - ??????: 26.0
???? ???? ???? ??:
  • Microsoft Lync Online
??????: 
o365 o365a o365e o365p o365022013 o365m kbmt KB2497721 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:2497721

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com