{"id":160599,"date":"2012-11-29T00:39:02","date_gmt":"2012-11-28T20:39:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=160599"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=160599","title":{"rendered":"<span class=\"post_title\">\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e\u0431 \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u0432 Active Directory \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 PowerShell<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h4>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h4>\n<p>  \u041d\u0430\u0447\u0430\u043b\u0430\u0441\u044c \u0432\u0441\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0433\u043e IT \u0430\u0443\u0434\u0438\u0442\u0430. \u041f\u0440\u0438\u0448\u043b\u0438 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0435 \u0434\u044f\u0434\u0435\u043d\u044c\u043a\u0438 \u0438\u0437 Price Waterhouse Coopers, \u0434\u0430\u043b\u0438 \u043d\u0430\u043c \u043c\u0430\u0441\u0441\u0443 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0439 \u0438 \u043f\u0430\u0440\u0443 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0442\u043e\u043c \u0432\u044b\u0441\u043b\u0430\u0442\u044c \u0438\u043c \u043b\u043e\u0433\u0438. \u041f\u043e\u0441\u043b\u0435 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0441 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 (\u0430 \u043c\u0430\u043b\u043e-\u043b\u0438 \u0447\u0442\u043e \u0442\u0430\u043c, \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0432\u044b\u0448\u0435 \u0432\u0441\u0435\u0433\u043e) \u043b\u043e\u0433\u0438 \u0431\u044b\u043b\u0438 \u0438\u043c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b. \u0418 \u0442\u0443\u0442 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f PWC \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043a\u0430\u0441\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u041e\u0434\u043d\u043e \u0438\u0437 \u043d\u0438\u0445 \u0431\u044b\u043b\u043e \u2014 \u0432\u0432\u0435\u0441\u0442\u0438 password complexity policy \u0438 pasword lifetime. \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0431\u044b\u043b\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e, \u043d\u043e \u0432\u0441\u043a\u043e\u0440\u0435 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u0432\u044b\u0442\u0435\u043a\u0430\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439: Windows \u043d\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043e\u0431 \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0435\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 VPN \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0441\u0435\u0442\u0438. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e\u0439 \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0438 \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0431\u044b\u043b\u043e \u0443\u0436\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u041d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0432 \u0440\u043e\u0434\u043d\u043e\u0439, \u043e\u0444\u0438\u0441\u043d\u043e\u0439 \u0441\u0435\u0442\u0438. \u0421 \u0443\u0447\u0435\u0442\u043e\u043c \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u00ab\u0436\u0438\u0432\u0443\u0442\u00bb \u0432 \u0432\u0435\u0447\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u0438\u0440\u043e\u0432\u043a\u0430\u0445 \u2014 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e\u0439. \u0412\u0440\u0443\u0447\u043d\u0443\u044e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u2014 \u0442\u0430 \u0435\u0449\u0435 \u0433\u043e\u043b\u043e\u0432\u043d\u0430\u044f \u0431\u043e\u043b\u044c, \u0434\u0430 \u0438 \u043d\u0435 \u043f\u043e \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u0438 \u043a\u0430\u043a-\u0442\u043e. \u0422\u0443\u0442 \u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043c\u044b\u0441\u043b\u044c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439. \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u043f\u043e\u0438\u0441\u043a\u0438, \u0431\u044b\u043b \u043d\u0430\u0439\u0434\u0435\u043d \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 <a href=\"http:\/\/www.itsolutionbraindumps.com\/2012\/08\/expiring-password-notifications-with.html\">\u0441\u043a\u0440\u0438\u043f\u0442<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0434\u0430\u043b\u0435\u043d\u043d\u043e \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f. \u041c\u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u043b\u043e \u0435\u0433\u043e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u043b \u043c\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u044b\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043f\u043e\u0434 PowerShell \u2014 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0431\u044b\u043b\u043e \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043e \u043d\u0435\u043c\u0430\u043b\u043e (\u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u044b\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0434\u0435\u043d\u044c).<\/p>\n<h4>\u0421\u043a\u0440\u0438\u043f\u0442<\/h4>\n<p>  \u0418 \u0432\u043e\u0442 \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<\/p>\n<pre> Import-Module ActiveDirectory  #System globalization #$ci = New-Object System.Globalization.CultureInfo(&quot;ru-RU&quot;)  #SMTP server name $smtpServer = &quot;mail.domain.local&quot;  #Creating a Mail object $msg = new-object Net.Mail.MailMessage #Creating a Mail object for report $msgr = new-object Net.Mail.MailMessage  #Creating SMTP server object $smtp = new-object Net.Mail.SmtpClient($smtpServer)   #E-mail structure Function EmailStructure($to,$expiryDate,$upn) { \t$msg.IsBodyHtml = $true \t$msg.From = &quot;notification@domain.com&quot; \t$msg.To.Clear() \t$msg.To.Add($to) \t$msg.Subject = &quot;Password expiration notice&quot; \t$msg.Body =<\/pre>\n<p><code> &quot;&lthtml&gt&ltbody&gt&ltfont face='Arial'&gtThis is an automatically generated message from Exchange service.&ltbr&gt&ltbr&gt&ltb&gtPlease note that the password for your account &lti&gt&ltu&gtDomain\\$upn&lt\/u&gt&lt\/i&gt will expire on $expiryDate.&lt\/b&gt&ltbr&gt&ltbr&gtPlease change your password immediately or at least before this date as you will be unable to access the service without contacting your administrator.&lt\/font&gt&lt\/body&gt&lt\/html&gt&quot;<\/code><\/p>\n<pre> }  Function EmailStructureReport($to) { \t$msgr.IsBodyHtml = $true \t$msgr.From = &quot;notification@domain.com&quot; \t$msgr.To.Add($to) \t$msgr.Subject = &quot;Script running report&quot; \t$msgr.Body = <\/pre>\n<p><code>&quot;&lthtml&gt&ltbody&gt&ltfont face='Arial'&gt&ltb&gtThis is a daily report.&ltbr&gt&ltbr&gtScript has successfully completed its work.&ltbr&gt$NotificationCounter users have recieved notifications:&ltbr&gt&ltbr&gt$ListOfAccounts&ltbr&gt&ltbr&gt&lt\/b&gt&lt\/font&gt&lt\/body&gt&lt\/html&gt&quot;<\/code><\/p>\n<pre> }  #Set the target OU that will be searched for user accounts $OU = &quot;OU=Organisation,DC=domain,DC=local&quot;  <\/pre>\n<p><code>$ADAccounts = Get-ADUser -LDAPFilter &quot;(objectClass=user)&quot; -searchbase $OU -properties PasswordExpired, extensionAttribute15, PasswordNeverExpires, PasswordLastSet, Mail, Enabled | Where-object {$_.Enabled -eq $true -and $_.PasswordNeverExpires -eq $false}<\/code><\/p>\n<pre> $NotificationCounter = 0 $ListOfAccounts = &quot;&quot;  Foreach ($ADAccount in $ADAccounts) {  $accountFGPP = Get-ADUserResultantPasswordPolicy $ADAccount                 if ($accountFGPP -ne $null) \t\t{                  $maxPasswordAgeTimeSpan = $accountFGPP.MaxPasswordAge \t\t} \t\telse \t\t{                  $maxPasswordAgeTimeSpan<\/pre>\n<p><code> = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge<\/code><\/p>\n<pre>                 }  #Fill in the user variables \t$samAccountName = $ADAccount.samAccountName \t$userEmailAddress = $ADAccount.ExtensionAttribute15 \t$userPrincipalName = $ADAccount.UserPrincipalName  \tif ($ADAccount.PasswordExpired) \t{ \t Write-host &quot;The password for account $samAccountName has expired!&quot; \t} \telse \t{ \t $ExpiryDate = $ADAccount.PasswordLastSet + $maxPasswordAgeTimeSpan \t $TodaysDate = Get-Date \t $DaysToExpire = $ExpiryDate - $TodaysDate #Calculating DaysToExpireDD to DD format (w\/o fractional part and dot) \t $DaysToExpireDD = $DaysToExpire.ToString() -Split (&quot;\\S{17}$&quot;) \t Write-host <\/pre>\n<p><code>&quot;The password for account $samAccountName expires on: $ExpiryDate. Days left: $DaysToExpireDD&quot;<\/code><\/p>\n<pre> \t\tif (($DaysToExpire.Days -eq 15) -or <\/pre>\n<p><code>($DaysToExpire.Days -eq 7) -or ($DaysToExpire.Days -le 3))<\/code><\/p>\n<pre> \t\t{ \t\t $expiryDate = $expiryDate.ToString(&quot;d&quot;,$ci) #Generate e-mail structure and send message \t\t\tif ($userEmailAddress) \t\t\t{ \t \t\t EmailStructure $userEmailAddress $expiryDate $samAccountName \t \t\t $smtp.Send($msg)     \t\t\t Write-Host <\/pre>\n<p><code>&quot;NOTIFICATION - $samAccountName :: e-mail was sent to $userEmailAddress&quot;<\/code><\/p>\n<pre>    \t\t\t $NotificationCounter = $NotificationCounter + 1     \t\t\t $ListOfAccounts = <\/pre>\n<p><code>$ListOfAccounts + $samAccountName + &quot; - $DaysToExpireDD days  left. Sent to $userEmailAddress&ltbr&gt&quot;<\/code><\/p>\n<pre> \t\t\t}    \t\t} \t} } Write-Host &quot;SENDING REPORT TO IT DEPARTMENT&quot; EmailStructureReport(&quot;itdepartment@domain.com&quot;) $smtp.Send($msgr) <\/pre>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u044d\u0442\u043e \u043a\u0430\u043a \u0442\u0435\u043a\u0441\u0442 \u0432 \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .ps1.<\/p>\n<h4>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430<\/h4>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u2014 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .cmd \u0438 \u043f\u0438\u0448\u0435\u043c \u0432 \u043d\u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <code> powershell D:\\ExchangeTools\\pwde.ps1 <\/code><\/p>\n<p>  \u041e\u0431\u0430 \u0444\u0430\u0439\u043b\u0430 \u0443 \u043c\u0435\u043d\u044f \u043b\u0435\u0436\u0430\u0442 \u043d\u0430 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442.<\/p>\n<h4>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/h4>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u0442\u0430\u0432\u0438\u043c \u0432 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a .cmd \u0444\u0430\u0439\u043b\u0430. \u0423 \u043c\u0435\u043d\u044f \u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0432 11 \u0443\u0442\u0440\u0430. <br \/>  Start &gt; All programs &gt; Accesories &gt; System tools &gt; Task scheduler.<br \/>  \u0416\u043c\u0435\u043c Action &gt; Create new task.<\/p>\n<p>  \u041d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 General \u0436\u043c\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u00abChange user\u00bb \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0441\u0451 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0423 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438\u0437 AD. \u0421\u0442\u0430\u0432\u0438\u043c \u00abRun whether user logged on or not\u00bb (\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0442\u043e\u0433\u043e, \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438\u043b\u0438 \u043d\u0435\u0442). \u041f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442 \u0432\u0430\u0441 \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0430 Triggers. \u0422\u0443\u0442 \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0435 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u0430\u043a \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e.<\/p>\n<p>  \u0412\u043a\u043b\u0430\u0434\u043a\u0430 Actions, \u0436\u043c\u0435\u043c \u00abNew\u00bb, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u00abStart a program\u00bb \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a \u043d\u0430\u0448\u0435\u043c\u0443 .cmd \u0444\u0430\u0439\u043b\u0443. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0442\u044c, \u043d\u043e \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u2014 \u0432\u043d\u0435\u0441\u0438\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u043d\u0443\u0436\u043d\u044b\u043c.<\/p>\n<p>  \u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u044b\u043b\u0430\u044e\u0442\u0441\u044f \u0437\u0430 15, 7 \u0438 3 \u0438 \u043c\u0435\u043d\u0435\u0435 \u0434\u043d\u0435\u0439.<\/p>\n<p>  <b>\u0412\u041d\u0418\u041c\u0410\u041d\u0418\u0415<\/b><br \/>  Exchange \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0435\u043b\u0435\u044f \u0435\u0441\u043b\u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043d\u0430 \u0430\u0434\u0440\u0435\u0441\u0430, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0435\u0441\u044f \u0432\u043d\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 (\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u043b\u0438\u0447\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440).<\/p>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u043f\u0440\u043e\u0441\u044f\u0442 \u2014 \u00ab\u0437\u0430\u0447\u0435\u043c \u0436\u0435 \u0431\u0440\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0438\u0437 ExtensionAttribute \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0435 e-mail \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f?\u00bb. \u041e\u0442\u0432\u0435\u0442 \u043f\u0440\u043e\u0441\u0442 \u2014 \u043a\u043e\u043f\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0448\u043b\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0436\u0435 \u0432 IT department, \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u043e\u0434\u0438\u043d \u0430\u0434\u0440\u0435\u0441 \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u044b \u043d\u0435 \u0438\u043c\u0435\u044e\u0442 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u043e\u0432 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u043d\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u0438\u0445 \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u043e\u0431\u043b\u0435\u0433\u0447\u0435\u043d\u0438\u044f \u0436\u0438\u0437\u043d\u0438 \u0443\u0436\u0435 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\u043c. \u0412\u043f\u0438\u0441\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u0432 ExtensionAttribute15 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0439\u0434\u044f \u0432 \u0434\u0435\u0440\u0435\u0432\u043e Active Directory \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430. \u0412 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u00abAttribute Editor\u00bb. \u0415\u0441\u043b\u0438 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0432 \u043f\u043e\u043b\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u2014 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442\u044c \u0438\u0445 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043f\u044f\u0442\u043e\u0439.<br \/>  <i>\u041f\u0440\u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u2014 \u0443\u0431\u0440\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b, \u0442.\u043a. \u0442\u0430\u043a\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u043d\u0435 \u0432\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0442\u0432\u0435\u0434\u0435\u043d\u043d\u0443\u044e \u0425\u0430\u0431\u0440\u043e\u043c \u0448\u0438\u0440\u0438\u043d\u0443 \u0442\u0435\u043a\u0441\u0442\u0430.<\/i> \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/160599\/\"> http:\/\/habrahabr.ru\/post\/160599\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h4>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h4>\n<p>  \u041d\u0430\u0447\u0430\u043b\u0430\u0441\u044c \u0432\u0441\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0433\u043e IT \u0430\u0443\u0434\u0438\u0442\u0430. \u041f\u0440\u0438\u0448\u043b\u0438 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0435 \u0434\u044f\u0434\u0435\u043d\u044c\u043a\u0438 \u0438\u0437 Price Waterhouse Coopers, \u0434\u0430\u043b\u0438 \u043d\u0430\u043c \u043c\u0430\u0441\u0441\u0443 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0439 \u0438 \u043f\u0430\u0440\u0443 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0442\u043e\u043c \u0432\u044b\u0441\u043b\u0430\u0442\u044c \u0438\u043c \u043b\u043e\u0433\u0438. \u041f\u043e\u0441\u043b\u0435 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0441 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 (\u0430 \u043c\u0430\u043b\u043e-\u043b\u0438 \u0447\u0442\u043e \u0442\u0430\u043c, \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0432\u044b\u0448\u0435 \u0432\u0441\u0435\u0433\u043e) \u043b\u043e\u0433\u0438 \u0431\u044b\u043b\u0438 \u0438\u043c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b. \u0418 \u0442\u0443\u0442 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c.  <\/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-160599","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/160599","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=160599"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/160599\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}