{"id":252390,"date":"2015-03-04T12:28:02","date_gmt":"2015-03-04T08:28:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=252390"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=252390","title":{"rendered":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u043e\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 Active Directory \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PowerShell"},"content":{"rendered":"<p> \t\t\t\u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 Active Directory \u0443 \u0432\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Exchange, OwnCloud, SharePoint \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0430\u0432\u0430\u0442\u0430\u0440\u0430 \u0438\u043b\u0438 \u0444\u043e\u0442\u043e, \u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u043e\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 AD \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 Outlook, Lync, \u043d\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0430\u0445 SharePoint \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. <br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0430\u0448\u0435\u043b \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e (<a href=\"http:\/\/habrahabr.ru\/sandbox\/42765\/\">\u00ab\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u0432 Active Directory\u00bb<\/a>), \u043d\u043e \u043f\u0440\u043e\u0448\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0440\u0435\u0448\u0438\u043b \u043e\u0436\u0438\u0432\u0438\u0442\u044c \u0442\u0435\u043c\u0443.<\/p>\n<p>  \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f:   <\/p>\n<ul>\n<li>\u0424\u043e\u0442\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JPG; \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c;<\/li>\n<li>PowerShell \u0438 \u043c\u043e\u0434\u0443\u043b\u044c Active Directory for PowerShell \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435;<\/li>\n<li>\u0421\u0445\u0435\u043c\u0430 Active Directory \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c Win 2008 \u0438\u043b\u0438 \u043d\u043e\u0432\u0435\u0435 (\u044d\u0442\u043e \u043d\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u043f\u043e\u0434 Window 2008, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 adprep \u0441 \u0434\u0438\u0441\u043a\u0430 Windows 2008 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u044b);<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 thumbnailphoto, jpegPhoto \u0432 Active Directory (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0432\u043e\u044e \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044e, \u043d\u043e \u043f\u0440\u0430\u0432\u0430 \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c).<\/li>\n<\/ul>\n<p>  \u041c\u0438\u043d\u0443\u0441\u044b:  <\/p>\n<ul>\n<li>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441 \u043f\u0440\u043e\u0441\u044c\u0431\u0430\u043c\u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0444\u043e\u0442\u043e;<\/li>\n<li>\u0420\u043e\u0441\u0442 \u0431\u0430\u0437\u044b Active Directory NTDS.DIT, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438.<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438:  <\/p>\n<blockquote><p>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 Active Directory \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 thumbnailPhoto \u0438 jpegPhoto 100 \u043a\u0431. \u0424\u043e\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 Outlook 2010 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Exchange, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0441\u0445\u0435\u043c\u0443 Active Directory Win 2008 \u0438\u043b\u0438 \u043d\u043e\u0432\u0435\u0435 (\u042d\u0442\u043e \u043d\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u043f\u043e\u0434 Window 2008, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 adprep \u0441 \u0434\u0438\u0441\u043a\u0430 Windows 2008 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u044b). \u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0444\u043e\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0432 Active Directory. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 Outlook thumbnailPhoto, \u0430 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 SharePoint jpegPhoto.  <\/p><\/blockquote>\n<p>  <b>\u0410\u0432\u0442\u043e\u0440 \u043d\u0435 \u043d\u0435\u0441\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0437\u0430 \u043b\u044e\u0431\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0439 \u0432\u0440\u0435\u0434, \u043f\u0440\u0438\u0447\u0438\u043d\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438. <\/b><\/p>\n<p>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0441\u043a\u0440\u0438\u043f\u0442 \u0446\u0435\u043b\u0438\u043a\u043e\u043c. \u041d\u0430 \u0432\u043a\u0443\u0441 \u0438 \u0446\u0432\u0435\u0442 \u0444\u043b\u043e\u043c\u0430\u0441\u0442\u0435\u0440\u044b \u0440\u0430\u0437\u043d\u044b\u0435.<br \/>  \u0412 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043c\u043e\u0438\u043c \u0433\u043e\u0442\u043e\u0432\u044b\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c, \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0434\u0443\u043c\u0430\u043d\u043d\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438, \u043f\u0440\u043e\u0449\u0435 \u0441\u043b\u043e\u043c\u0430\u0442\u044c Active Directory. <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041d\u0435\u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0435 \u0438\u0437\u0443\u0447\u0430\u0442\u044c PowerShell \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438:<\/b><\/p>\n<div class=\"spoiler_text\"> <a href=\"http:\/\/www.cjwdev.co.uk\/Software\/ADPhotoEdit\/Info.html\">AD Foto Edit<\/a><br \/>   <a href=\"http:\/\/www.cjwdev.co.uk\/Software\/ADPhotoEdit\/Info.html\"> <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/758\/2c7\/918\/7582c7918b264bc6bd2f6fcae700d054.png\"\/><br \/>   <\/a><\/p>\n<p>  <a href=\"https:\/\/www.adsysnet.com\/asn-active-directory-manager-features.aspx\">ASN Active Directory Manager<\/a><br \/>   <a href=\"https:\/\/www.adsysnet.com\/asn-active-directory-manager-features.aspx\"> <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/e9a\/28a\/f2f\/e9a28af2f1ea4ec48198aa13e8603df8.png\"\/><br \/>   <\/a><\/p>\n<p>  <a href=\"http:\/\/www.codetwo.com\/freeware\/active-directory-photos\/\">CodeTwo Active Directory Photos<\/a><br \/>   <a href=\"http:\/\/www.codetwo.com\/freeware\/active-directory-photos\/\"> <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/c3a\/974\/679\/c3a9746797144c1892012a03f2a1fb2f.png\"\/><br \/>   <\/a><\/p>\n<p>  <a href=\"https:\/\/www.exclaimer.com\/outlook-photos\/\">Exclaimer&#8217;s Outlook Photos<\/a><br \/>   <a href=\"https:\/\/www.exclaimer.com\/outlook-photos\/\"> <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/e38\/66d\/a43\/e3866da4322f43058946f15b8708fbb0.jpg\"\/><br \/>   <\/a><\/p>\n<p>  <a href=\"http:\/\/www.dovestones.com\/active-directory-photo-import\/\">AD Photos by Dovestones Software<\/a><br \/>   <a href=\"http:\/\/www.dovestones.com\/active-directory-photo-import\/\"> <br \/>   <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/ccd\/f0c\/47e\/ccdf0c47ee6342fb9ccd64d55fa1668d.png\"\/><br \/>   <\/a> <\/p><\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u043b\u0438 \u0434\u043e\u043f\u0438\u043b\u0438\u0442\u044c \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0443 Active Directory User &amp; computers<\/b><\/p>\n<div class=\"spoiler_text\"> <a href=\"http:\/\/farisnt.blogspot.ru\/2013\/11\/add-user-profile-picture-in-active.html\"> ADExt.dll<\/a><br \/>  <a href=\"http:\/\/farisnt.blogspot.ru\/2013\/11\/add-user-profile-picture-in-active.html\"> <br \/>   <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/d98\/14d\/da7\/d9814dda755e490ba81d7c05c20c70de.png\"\/><br \/>  <\/a><\/p>\n<p>   <a href=\"http:\/\/msitpros.com\/?p=970\">UserPropPage.dll \u0438\u0437 Windows Server 2003 SDK<\/a><br \/>   <a href=\"http:\/\/msitpros.com\/?p=970\"> <br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/efc\/529\/74d\/efc52974db764f4db68ec2007565807b.png\"\/><br \/>   <\/a>  <\/div>\n<\/div>\n<p>  <b>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0442\u043e \u0432 AD \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PowerShell:<\/b><\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043c\u043e\u0434\u0443\u043b\u044c Microsoft PowerShell for Active Directory:<\/p>\n<pre><code class=\"cs\">Import-Module ActiveDirectory $photo = [byte[]](Get-Content C:\\Photo\\MyPhoto.jpg -Encoding byte) Set-ADUser &lt;sAMAaccountName&gt; -Replace @{thumbnailPhoto=$photo}  Set-ADUser &lt;sAMAaccountName&gt; -Replace @{jpegPhoto;=$photo}  <\/code><\/pre>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0443 Quest PowerShell for Active Directory:<\/p>\n<pre><code class=\"cs\">Add-PSSnapin Quest.ActiveRoles.ADManagement $photo = [byte[]](Get-Content C:\\Photo\\MyPhoto.jpg -Encoding byte) Set-QADUser &lt;sAMAaccountName&gt; -ObjectAttributes @{thumbnailPhoto=$photo} Set-QADUser &lt;sAMAaccountName&gt; -ObjectAttributes @{jpegPhoto=$photo} <\/code><\/pre>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0443 PowerShell for Exchange:<\/p>\n<pre><code class=\"cs\">Add-PSSnapin Microsoft.Exchange.Management.Powershell.E2010 Import-RecipientDataProperty -Identity &lt;sAMAaccountName&gt; -Picture -FileData ([Byte[]]$(Get-Content -Path &quot;C:\\Photo\\MyPhoto.jpg&quot; -Encoding Byte -ReadCount 0)) <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p><i>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0438 \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430 10 \u043a\u0431. \u0417\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e thumbnailphoto.<\/i><\/p><\/blockquote>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0443 PowerShell for Exchange 2013:<\/p>\n<pre><code class=\"cs\">Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn $photo = ([Byte[]] $(Get-Content -Path &quot;C:\\Photo\\MyPhoto.jpg&quot; -Encoding Byte -ReadCount 0)) Set-UserPhoto -Identity &lt;sAMAaccountName&gt; -PictureData $photo -Confirm:$False Set-UserPhoto -Identity &lt;sAMAaccountName&gt; -Save -Confirm:$False <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p><i>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0444\u043e\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 (\u0435\u0441\u043b\u0438 \u0443 \u0412\u0430\u0441 Exchange 2013) <br \/>  <a href=\"https:\/\/mail.domain.local\/ews\/Exchange.asmx\/s\/GetUserPhoto?email=user@domain.com&amp;size=HR648x648\">https:\/\/mail.domain.local\/ews\/Exchange.asmx\/s\/GetUserPhoto?email=user@domain.com&#038;size=HR648x648<\/a><br \/>  <\/i>  <\/p><\/blockquote>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f PowerShell \u0438 ADSI:<\/p>\n<pre><code class=\"cs\">[byte[]]$jpg = Get-Content &quot;C:\\Photo\\MyPhoto.jpg&quot; -encoding byte $user = [adsi]&quot;LDAP:\/\/cn=user1,cn=users,dc=domain,dc=loc&quot; $user.Properties[&quot;jpegPhoto&quot;].Clear() $null = $user.Properties[&quot;jpegPhoto&quot;].Add($jpg) $user.Properties[&quot;thumbnailPhoto&quot;].Clear() $null = $user.Properties[&quot;thumbnailPhoto&quot;].Add($jpg) $user.CommitChanges() <\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u044d\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u044e\u0442 \u0444\u043e\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u044f \u0440\u0430\u0437\u043c\u0435\u0440 \u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438.<\/p>\n<p>  \u0414\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0441 \u043c\u043e\u0434\u0443\u043b\u0435\u043c Microsoft PowerShell for Active Directory. \u041d\u043e \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u0439 \u0436\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u043e\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043e\u0448\u0438\u0431\u043a\u0443 \u043e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u043e\u0442\u043e \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 5 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442. \u041f\u0435\u0440\u0432\u0430\u044f \u0438\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u043e\u0442\u043e, \u0441\u0436\u0430\u0432 \u0438\u0445 \u0434\u043e \u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430. \u041d\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043f\u043e\u0434\u0443\u0447\u0438\u0442\u044c PowerShell \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u043e.<\/p>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0442\u043e. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0444\u043e\u0442\u043e.<\/p>\n<p>  \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443, \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0436\u0430\u0442\u0438\u044f.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u0447\u0442\u0438 \u0433\u043e\u0442\u043e\u0432\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0438 \u0434\u043e\u043f\u0438\u043b\u0435\u043d\u0430 \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438.<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">Function resizephoto(){ Param ( [Parameter(Mandatory=$True)] [ValidateNotNull()] $imageSource, [Parameter(Mandatory=$true)][ValidateNotNull()] $canvasSize, [Parameter(Mandatory=$true)][ValidateNotNull()] $quality )  # \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u0435\u0440\u0435\u0442 \u0444\u0430\u0439\u043b\u0438\u043a \u0438 \u0443\u0436\u0438\u043c\u0435\u0442 \u0435\u0433\u043e  # \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 if (!(Test-Path $imageSource)){throw( &quot;\u0424\u0430\u0439\u043b \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d&quot;)} if ($canvasSize -lt 10 -or $canvasSize -gt 1000){throw( &quot; \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0440\u0430\u0437\u043c\u0435\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0442 10 \u0434\u043e 1000&quot;)} if ($quality -lt 0 -or $quality -gt 100){throw( &quot; \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0442 0 \u0434\u043e 100&quot;)}  [void][System.Reflection.Assembly]::LoadWithPartialName(&quot;System.Drawing&quot;)  $imageBytes = [byte[]](Get-Content $imageSource -Encoding byte) $ms = New-Object IO.MemoryStream($imageBytes, 0, $imageBytes.Length) $ms.Write($imageBytes, 0, $imageBytes.Length);  $bmp = [System.Drawing.Image]::FromStream($ms, $true)  # \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 $canvasWidth = $canvasSize $canvasHeight = $canvasSize  # \u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 $myEncoder = [System.Drawing.Imaging.Encoder]::Quality $encoderParams = New-Object System.Drawing.Imaging.EncoderParameters(1) $encoderParams.Param[0] = New-Object System.Drawing.Imaging.EncoderParameter($myEncoder, $quality) #\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0438\u043f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 $myImageCodecInfo = [System.Drawing.Imaging.ImageCodecInfo]::GetImageEncoders()|where {$_.MimeType -eq 'image\/jpeg'}  # \u0412\u044b\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043a\u0440\u0430\u0442\u043d\u043e\u0441\u0442\u0438 $ratioX = $canvasWidth \/ $bmp.Width; $ratioY = $canvasHeight \/ $bmp.Height; $ratio = $ratioY if($ratioX -le $ratioY){     $ratio = $ratioX }  # \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0443\u0441\u0442\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 $newWidth = [int] ($bmp.Width*$ratio) $newHeight = [int] ($bmp.Height*$ratio) $bmpResized = New-Object System.Drawing.Bitmap($newWidth, $newHeight) $graph = [System.Drawing.Graphics]::FromImage($bmpResized)  $graph.Clear([System.Drawing.Color]::White) $graph.DrawImage($bmp,0,0 , $newWidth, $newHeight)  # \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 $ms = New-Object IO.MemoryStream $bmpResized.Save($ms,$myImageCodecInfo, $($encoderParams))  # \u0443\u0431\u043e\u0440\u043a\u0430 $bmpResized.Dispose() $bmp.Dispose()  return $ms.ToArray() } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412\u0441\u0442\u0430\u0432\u0438\u043c \u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0432 \u0441\u043a\u0440\u0438\u043f\u0442.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0442\u0440\u044b\u0432\u043e\u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u0444\u043e\u0442\u043e, \u043b\u043e\u0433\u0438\u043d, \u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440, \u0424\u0418\u041e<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">  $PhotoPath = '\\\\server\\FOTO\\'    #\u0441\u043e\u0437\u0434\u0430\u0435\u043c PSDrive \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f\u043c \u043a \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0434\u0438\u0441\u043a\u0430\u043c \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0439 \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0435 PSSQL    New-PSDrive -Name Photo -PSProvider FileSystem -Root $PhotoPath      $UserLogin = 'login'     $EmployeeID = '503'     $FullName = 'Full User Name'          # \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430     write-host &quot;\u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c: `n \u041b\u043e\u0433\u0438\u043d: &quot; $UserLogin &quot;`n \u043d\u043e\u043c\u0435\u0440:&quot;   $EmployeeID &quot;`n \u0424\u0418\u041e: &quot;  $FullName      # \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c  \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u043b\u043e\u0433\u0438\u043d\u0430 \u0432 AD \u0438 \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435        $aduser = get-aduser $UserLogin -ErrorAction SilentlyContinue      if ($aduser.name -ne $FullName) {             # \u0435\u0441\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c              write-host &quot;in Office &quot; $FullName &quot;`n in ad  &quot; $aduser.name  &quot;`nLogin &quot; $UserLogin &quot; `n`n&quot; -ForegroundColor Red     } else {         # \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c EmployeeID \u0432 AD \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b         Set-ADUser $UserLogin -EmployeeID $EmployeeID                  $PhotoFile = 'Photo:\\'+$EmployeeID+'.jpg'         # \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0444\u043e\u0442\u043e \u0435\u0441\u0442\u044c         If (Test-Path $PhotoFile )  {             # \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0444\u043e\u0442\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430              # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a \u0444\u043e\u0442\u043e \u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e             $thumbnailPhoto = [byte[]]( $(resizephoto $PhotoFile 64 80))             $jpegPhoto = [byte[]]( $(resizephoto $PhotoFile 648 80))              # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u043e\u0442\u043e \u0432 thumbnailPhoto             Set-ADUser $UserLogin -Replace @{thumbnailPhoto=$thumbnailPhoto} -ErrorVariable ErrorthumbnailPhoto  #-WhatIf             if ($ErrorthumbnailPhoto -ne $null) {                 # \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043a\u0438                 write-host &quot;\u041e\u0448\u0438\u0431\u043a\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f thumbnailPhoto \u043d\u0430 \u043b\u043e\u0433\u0438\u043d\u0435 &quot;$UserLogin  &quot; ID &quot; $_.autokey                 exit \t\t\t}              # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u043e\u0442\u043e \u0432 jpegPhoto             Set-ADUser $UserLogin -Replace @{jpegPhoto=($jpegPhoto)} -ErrorVariable ErrorjpegPhoto #-WhatIf             if ($ErrorjpegPhoto -ne $null) {                 # \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043a\u0438                 write-host &quot;\u041e\u0448\u0438\u0431\u043a\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f jpegPhoto \u043d\u0430 \u043b\u043e\u0433\u0438\u043d\u0435 &quot;$UserLogin  &quot; ID &quot; $_.autokey                 exit \t\t\t}              if (!$ErrorthumbnailPhoto -and !$ErrorjpegPhoto) {                 # \u0415\u0441\u043b\u0438 \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a                 # \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430                 write-host '\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438...' -ForegroundColor Green             }          } else {             # \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u0444\u043e\u0442\u043e             Write-Host &quot; \u0424\u043e\u0442\u043e &quot; $PhotoFile &quot; \u0434\u043b\u044f &quot; $UserLogin &quot; \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e&quot;  -foregroundcolor red         }      } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<blockquote><p>\u041f\u0443\u0442\u044c \u043a \u0444\u043e\u0442\u043e \u0437\u0430\u0434\u0430\u043d \u0447\u0435\u0440\u0435\u0437 PSDrive, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u044f PowerShell PSSQL \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 MS SQL \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043f\u0443\u0442\u044c \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 PS SQLSERVER:\\&gt; \u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c, \u0431\u0435\u0437 \u0441\u043c\u0435\u043d\u044b \u043f\u0430\u043f\u043a\u0438, \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c. \u0424\u043e\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0435, \u0433\u0434\u0435 \u0438\u043c\u044f \u0444\u0430\u0439\u043b \u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0443\u0431\u0440\u0430\u043d\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p><\/blockquote>\n<p>  <b>\u0412\u044b\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u043e\u0442\u043e \u0438\u0437 Active Directory:<\/b><br \/>  \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0442\u043e \u0432 Active Directory.<\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043c\u043e\u0434\u0443\u043b\u044c Microsoft PowerShell for Active Directory:<\/p>\n<pre><code class=\"cs\">Import-Module ActiveDirectory $user = Get-ADUser &lt;sAMAaccountName&gt; -Properties thumbnailphoto , jpegPhoto $user.thumbnailphoto | Set-Content $env:temp\\thumbnailphoto.jpg -Encoding byte  $user.jpegPhoto | Set-Content $env:temp\\jpegPhoto.jpg -Encoding byte  <\/code><\/pre>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f PowerShell \u0438 ADSI:<\/p>\n<pre><code class=\"cs\">$username=$env:username $domain=$env:userdomain $temp=$env:temp $thumbnailphoto = ([ADSISEARCHER]&quot;samaccountname=$($username)&quot;).findone().properties.thumbnailphoto if(!($thumbnailphoto -eq $null)) {$thumbnailphoto | set-content $temp\\$domain+$username.thumbnailphoto.jpg -Encoding byte} $jpegphoto = ([ADSISEARCHER]&quot;samaccountname=$($username)&quot;).findone().Properties.jpegphoto if(!($jpegphoto -eq $null)) {$jpegphoto  | set-content $temp\\$domain+$username.jpegPhoto.jpg -Encoding byte} <\/code><\/pre>\n<p>  \u041f\u043e\u0438\u0441\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441\/\u0431\u0435\u0437 \u0444\u043e\u0442\u043e:<\/p>\n<pre><code class=\"cs\">Import-Module ActiveDirectory Get-ADUser -Filter * -properties thumbnailPhoto | ? {$_.thumbnailPhoto} | select Name Get-ADUser -Filter * -properties thumbnailPhoto | ? {(-not($_.thumbnailPhoto))} | select Name Get-ADUser -Filter * -properties jpegPhoto | ? {$_.jpegPhoto} | select Name Get-ADUser -Filter * -properties jpegPhoto | ? {(-not($_.jpegPhoto))} | select Name <\/code><\/pre>\n<p>  \u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0451 \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u0444\u043e\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u0432 Active Directory?<\/p>\n<p>  <b>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u043e\u0442\u043e \u0438\u0437 AD \u0432 \u043c\u0435\u043d\u044e Windows<\/b><br \/>  <a href=\"http:\/\/community.spiceworks.com\/how_to\/2998-use-ad-photos-as-windows-7-user-tiles\">\u00abUse AD Photos as Windows 7 User Tiles\u00bb<\/a>;<br \/>  <a href=\"https:\/\/gallery.technet.microsoft.com\/scriptcenter\/Set-Windows-7-User-Tile-to-044f16d2\">\u00abSet Windows 7 User Tile to AD Thumbnail pic\u00bb<\/a>.<\/p>\n<p>  \u0418\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u044b\u0439 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u043a\u0430\u043a <a href=\"http:\/\/habrahabr.ru\/users\/titulusdesiderio\/\" class=\"user_link\">titulusdesiderio<\/a>&quot; <a href=\"http:\/\/habrahabr.ru\/post\/251955\/\">\u00abTelephone Directory\u00bb<\/a> \u0441 \u0431\u043b\u044d\u043a\u0434\u0436\u0435\u043a\u043e\u043c \u0438 \u0444\u043e\u0442\u043e. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/252119\/\"> http:\/\/habrahabr.ru\/post\/252119\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> \t\t\t\u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 Active Directory \u0443 \u0432\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Exchange, OwnCloud, SharePoint \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0430\u0432\u0430\u0442\u0430\u0440\u0430 \u0438\u043b\u0438 \u0444\u043e\u0442\u043e, \u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u043e\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 AD \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 Outlook, Lync, \u043d\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0430\u0445 SharePoint \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-252390","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/252390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=252390"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/252390\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=252390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=252390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=252390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}