<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4238683598026825819</atom:id><lastBuildDate>Sat, 05 Jul 2025 13:26:25 +0000</lastBuildDate><category>Windows Server</category><category>Windows XP</category><category>AWS</category><category>Exchange Server</category><category>Windows Server 2008</category><category>Outlook</category><category>Powershell</category><category>Networking</category><category>Windows 7</category><category>Windows 8</category><category>Windows Server 2012</category><category>Antivirus</category><category>Hyperic</category><category>Linux</category><category>Office 365</category><category>Scripting</category><category>Chef</category><category>VPN</category><category>DataBase</category><category>DevOps</category><category>SMTP</category><category>SQL Server</category><category>software</category><title>Windows Tips</title><description></description><link>http://dnrtips.blogspot.com/</link><managingEditor>noreply@blogger.com (DORNALA NAVEEN REDDY)</managingEditor><generator>Blogger</generator><openSearch:totalResults>136</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-4762055203608244842</guid><pubDate>Wed, 18 Nov 2015 10:57:00 +0000</pubDate><atom:updated>2015-11-18T02:57:25.561-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Powershell</category><category domain="http://www.blogger.com/atom/ns#">Scripting</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>AD-Powershell for Active Directory Administrators</title><description>&lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/5819.ad-powershell-for-active-directory-administrators.aspx&quot;&gt;http://social.technet.microsoft.com/wiki/contents/articles/5819.ad-powershell-for-active-directory-administrators.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; border-bottom-width: 0px; clear: both; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 19.9822px; font-weight: normal; line-height: 1.25; margin: 0px;&quot;&gt;
Computer object commands&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;;&quot;&gt;List all computer accounts in a domain&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;courier new&#39;; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer –Filter {Name –Like &quot;*&quot;}&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;View all computers that are logged in for 90 days to the Active Directory&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Search-ADaccount -AccountInactive -Timespan 90 -ComputersOnly&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;strong&gt;OR&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$lastLogon = (get-date).adddays(-90).ToFileTime()&lt;br /&gt;Get-ADComputer -filter {lastLogonTimestamp -gt $lastLogon}&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Find and delete all disabled Computer accounts in Active Directory&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Search-ADAccount -AccountDisabled -ComputersOnly | Sort-Object | Remove-ADComputer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Find and delete disabled computer accounts from a specific OU&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Search-ADAccount -AccountDisabled -Searchbase &quot;OU=IT,DC=Contoso,DC=Com&quot; -ComputersOnly | Sort-Object | Remove-ADComputer&lt;/span&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Find and delete all computer accounts that no longer have signed up since 11/20/2011 to the Active Directory&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #4f81bd; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Search-ADAccount -AccountInactive -DateTime &quot;20.11.2011&quot; –ComputersOnly |&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Sort-Object |&lt;/span&gt;&amp;nbsp;Remove-ADComputer&lt;/span&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;List&amp;nbsp;&lt;/strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;only disabled Computer accounts in Domain&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Search-ADAccount -AccountDisabled -ComputersOnly | Format-Table Name&lt;/span&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;Move Computer to other OU (example: Computer=CLIENT1 to OU=IT)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer CLIENT1 | Move-ADObject -TargetPath &quot;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;OU=IT,DC=Contoso,DC=Com&lt;/span&gt;&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;See Computer account detail (example: Computer=CLIENT1)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer -Filter {Name -Like &quot;CLIENT1&quot;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Get a specific computer showing all the properties&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;(example: Computer=CLIENT1)&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer &quot;CLIENT1&quot; -Properties *&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;List Computers (Name, Operating System, Service Pack,&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Operating System&lt;/span&gt;&amp;nbsp;version)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer -Filter * -Property * | Format-Table Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion -Wrap –Auto&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Export Computers List&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;(Name, Operating System, Service Pack,&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Operating System&lt;/span&gt;version)&lt;/strong&gt;&lt;/span&gt;to CSV File&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer -Filter * -Property * | Select-Object Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion | Export-CSV AllWindows.csv -NoTypeInformation -Encoding UTF8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Get Computer IPv4 Address and DnsHostName&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #4f81bd; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADComputer -Filter {Name -Like &quot;Computer-Name&quot;} -Properties IPv4Address | Format-List Name,DnsHostName,IPv4Address&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Get all Computers in a&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;specific&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;OU (example: OU=IT, Domain=Contoso.com)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer -SearchBase &quot;OU=IT,DC=Contoso,DC=Com&quot; -filter *&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Get all the Computers without a&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;specific&amp;nbsp;&lt;/span&gt;DNS suffix&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer -filter &quot;DnsHostName -notlike &#39;*.Contoso.Com&#39;&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Get Computer&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Service Principal Names&lt;/span&gt;&amp;nbsp;(SPNs)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer &quot;Computer-Name&quot; –Properties ServicePrincipalNames | Select-Object –Expand ServicePrincipalNames&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Get Computers Security Identifiers (SIDs)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Get-ADComputer -Filter {Name -like &quot;*&quot;} | Select Name,SID | Format-Table -Auto&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;All computer accounts that were created in the last 90 days in the Active Directory&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADComputer -Filter * -Properties whenCreated | ? { ((Get-Date) - $_.whenCreated).Days -lt 90} | Format-Table Name,WhenCreated,Name,DistinguishedName -Autosize -Wrap&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;All computer accounts that were created as of December 1, 2011 (12/01/2011) in the Active Directory&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADComputer -LDAPFilter &quot;(&amp;amp;(objectCategory=person)(whenCreated&amp;gt;=&lt;span style=&quot;color: red;&quot;&gt;&lt;strong&gt;20111201&lt;/strong&gt;&lt;/span&gt;000000.0Z))&quot; -Properties whenCreated | Format-Table Name,whenCreated,distinguishedName -Autosize -Wrap&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;All computer accounts that were created here in a given time, between the 10/01/2011 and 12/01/2011 in Active Directory&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;$Start = Get-Date -Day 01 -Month 10 -Year 2011 -Hour 00&lt;br /&gt;$End = Get-Date -Day 01 -Month 12 -Year 2011 -Hour 23 -Minute 59&lt;br /&gt;Get-ADComputer -Filter * -Properties whenCreated | ? { ($_.whenCreated -gt $Start) -and ($_.whenCreated -le $End) } | Format-Table Name,WhenCreated,DistinguishedName -Autosize -Wrap&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;All computer accounts, Last Password Set in a given time, between the 10/01/2011 and 12/01/2011 in Active Directory&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;$Start = Get-Date -Day 01 -Month 10 -Year 2011 -Hour 00&lt;br /&gt;$End = Get-Date -Day 01 -Month 12 -Year 2011 -Hour 23 -Minute 59&lt;br /&gt;Get-ADComputer -Filter * -Properties PasswordLastSet | ? { ($_.PasswordLastSet&amp;nbsp;-gt $Start) -and ($_.PasswordLastSet&amp;nbsp;-le $End) } | Format-Table Name,WhenCreated,DistinguishedName -Autosize -Wrap&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;All computer accounts, Last Password Set in the last 90 days in Active Directory&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;$Date = (Get-Date).AddDays(-90)&lt;br /&gt;Get-ADComputer -Filter * -Properties PasswordLastSet | where { $_.PasswordLastSet -le $Date } | Format-Table Name,PasswordLastSet,DistinguishedName -Autosize -Wrap&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; border-bottom-width: 0px; clear: both; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 19.9822px; font-weight: normal; line-height: 1.25; margin: 0px;&quot;&gt;
&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;Group_object_commands&quot; style=&quot;color: #00749e; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border-bottom-width: 0px; clear: both; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 19.9822px; font-weight: normal; line-height: 1.25; margin: 0px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;Group_object_commands&quot; style=&quot;color: #00749e; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 18px; line-height: 20.7px;&quot;&gt;&lt;strong&gt;Group&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;object commands&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all members of a group&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example: Group=Experts)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADGr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;pMember Experts | Format-Table Name&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;All properties of a group&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example: Group=IT)&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADGr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p IT -Properties *&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List only Universal Security groups&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADGr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p –LDAPFilter &quot;(&amp;amp;(objectCategory=gr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p)(gr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;pType:1.2.840.113556.1.4.803:=-2147483640))&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;List only Global Security groups&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADGr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p –LDAPFilter &quot;(&amp;amp;(objectCategory=gr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p)(gr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;pType:1.2.840.113556.1.4.803:=-2147483646))&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;List only Domain Local Security groups&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADGr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p –LDAPFilter &quot;(&amp;amp;(objectCategory=gr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p)(gr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;pType:1.2.840.113556.1.4.803:=-2147483644))&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all Group memberships for a user (example: User=EdPrice)&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;span style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;/span&gt;Get-ADAccountAuthorizationGroup EdPrice&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br /&gt;
&lt;div lang=&quot;en&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;
&lt;strong&gt;Move a Group to another OU (example: Group=Experts, Old-OU=IT, New-OU=Service, Domain=Contoso.com)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Move-ADObject &quot;CN=Experts,OU=IT,DC=Contoso,DC=com&quot; -TargetPath &quot;OU=Service,DC=Contoso,DC=com&quot;&lt;/span&gt;&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Add members to a group (example: Group=Experts, User=EdPrice)&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Add-ADGroupmember Experts -Member EdPrice&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Delete Group&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example: Group=Experts&lt;/span&gt;)&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Remove-ADGr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;p&lt;/span&gt;&amp;nbsp;Experts&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Delete a User from a Group&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;(example: Group=Experts, User=EdPrice)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; font-weight: normal; line-height: 15.3333px;&quot;&gt;Remove-ADGr&lt;span class=&quot;searchword&quot;&gt;ou&lt;/span&gt;pMember Experts -Member&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;EdPrice&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Set Description for a Group (example: Group=JoinPC,&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;Description=&lt;/strong&gt;&lt;/span&gt;This group is allowed join PCs to Domain)&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Set-ADGroup JoinPC -Description &quot;This group is allowed join PCs to Domain&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Add Users from one Group to another Group (example: from Group1=DataUsers to Group2=SQLUsers)&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADGroupMember DataUsers | Select sAMAccountName | ForEach { Add-ADGroupMember SQLUsers -Members $_.sAMAccountName }&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Comparing two Groups to see the Group memberships (example: Group1=Administrators&lt;strong&gt;o, Group2=DNSAdmins&lt;/strong&gt;)&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Compare-Object ( Get-ADGroupMember Administrators) ( Get-ADGroupMember DNSAdmins) -IncludeEqual&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;Organizational_Unit_OU_commands&quot; style=&quot;color: #00749e; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border-bottom-width: 0px; clear: both; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 19.9822px; font-weight: normal; line-height: 1.25; margin: 0px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;Organizational_Unit_OU_commands&quot; style=&quot;color: #00749e; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;strong&gt;Organizational Unit (OU)&amp;nbsp;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 18px;&quot;&gt;commands&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;All OUs in Domain&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADOrganizationalUnit -Filter {Name -like „*“} | FT Name, DistinguishedName -A&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;Create OU&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;(example: OU=IT, Domain=Contoso.com)&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;New-ADOrganizationalUnit -Name IT -Path &quot;DC=Contoso,DC=Com&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Contents of a specific OU&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;(example: OU=IT, Domain=Contoso.com)&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADObject -Filter {Name -Like &quot;*&quot;} -Searchbase &quot;OU=IT,DC=Contoso,DC=Com&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Rename OU (example: Old-Name=IT, New-Name=Admin, Domain=Contoso.com)&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Rename-ADObject &quot;OU=IT,DC=Contoso,DC=Com&quot; -NewName Admin&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;Delete OU including contents&amp;nbsp;&lt;/strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;(example: OU=IT, Domain=Contoso.com)&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Remove-ADOrganizationalUnit IT -Recursive&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Delete user from&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;specific&amp;nbsp;&lt;/span&gt;OU&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example: User=EdPrice, OU=IT, Domain=Contoso.com)&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Remove-ADObject &quot;CN=EdPrice,OU=IT,DC=Contoso,DC=Com&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Move all objects from one OU to another OU&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;(example: Old-OU=IT, New-OU=Manager, Domain=Contoso.com)&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADObject -Filter {Name -Like &quot;*&quot;} -Searchbase &quot;OU=IT,DC=Contoso,DC=Com&quot; -SearchScope OneLevel | Move-ADObject -TargetPath &quot;OU=Manager,DC=Contoso,DC=Com&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;User_object_commands&quot; style=&quot;color: #00749e; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border-bottom-width: 0px; clear: both; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 19.9822px; font-weight: normal; line-height: 1.25; margin: 0px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;User_object_commands&quot; style=&quot;color: #00749e; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 18px; line-height: 20.7px;&quot;&gt;&lt;strong&gt;User object&amp;nbsp;&lt;/strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 20.7px;&quot;&gt;&lt;strong&gt;commands&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all User accounts in the Domain&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADUser –Filter *&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all User accounts in a specific OU&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example: OU=IT, Domain=Contoso.com)&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADUser –Filter * -Searchbase &quot;OU=IT,DC=Contoso,DC=Com&quot; | FT&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all User accounts from&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;specific&amp;nbsp;&lt;/span&gt;City (example: City=NewYork)&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get ADUser -Filter {city - like &quot;NewYork&quot;}&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;| FT&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List&amp;nbsp;&lt;/strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;only disabled User accounts in Domain&lt;br /&gt;&lt;/strong&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;Search-ADAccount –AccountDisabled –Usersonly | FT Name&lt;/span&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;List all User accounts whose First Name is&amp;nbsp;&lt;em&gt;Ed&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADUser –Filter {givenName –Like &quot;Ed&quot;} | FT&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all User accounts whose Last Name is&amp;nbsp;&lt;em&gt;Price&lt;/em&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADUser –Filter {Surname –Like &quot;Price&quot;}&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;| FT&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all User accounts from the&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;specific&amp;nbsp;&lt;/span&gt;Department&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example:&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Department&lt;/span&gt;=Support)&lt;/span&gt;&amp;nbsp;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADUser –Filter {Department –Like &quot;Support&quot;}&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;| FT&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List a User&#39;s Group memberships&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example: User=Richard)&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #4f81bd; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;Get-ADPrincipalGroupMembership&amp;nbsp;-Identity Richard&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot;&gt;List all Users from&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;specific&amp;nbsp;&lt;/span&gt;Group and move Users to another OU&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example:&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Group=People, Target OU=NewYork, Domain=Contoso.com&lt;/span&gt;)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;Get-ADGroupMember People -Recursive | Move-ADObject&amp;nbsp; –TargetPath &quot;OU=NewYork,DC=Contoso,DC=Com&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;strong&gt;Remove all users in an OU from a&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;specific&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;Group&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;(example:&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10pt; line-height: 15.3333px;&quot;&gt;Group=People, OU=NewYork, Domain=Contoso.com&lt;/span&gt;)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12.1104px; line-height: 16.9546px;&quot; /&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white; color: #4f81bd; font-family: &#39;courier new&#39;; font-size: 10pt; line-height: 15.3333px;&quot;&gt;$Users = Get-ADUser -Filter * -Searchbase &quot;OU=NewYork,DC=Contoso,DC=Com&quot;&lt;br /&gt;Remove-ADGroupMember -Identity People -Member $Users -Confirm:0&lt;/span&gt;</description><link>http://dnrtips.blogspot.com/2015/11/ad-powershell-for-active-directory.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-1844246290338244785</guid><pubDate>Tue, 13 Oct 2015 15:53:00 +0000</pubDate><atom:updated>2015-10-13T08:53:36.489-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>How to add EBS volume to Linux machine in AWS</title><description>&lt;div style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;1.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Login to AWS console&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;2.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Create 50 GB volume&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;3.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Attach to the Linux instance&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;4.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Login to the Linux server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;5.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;After completing above step, now new
volume will list your system. You can check this using ‘&lt;b&gt;&lt;span style=&quot;outline: 0px;&quot;&gt;fdisk -l&lt;/span&gt;&lt;/b&gt;‘ command&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;6.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Create a File system to newly added EBS
volume with below command (In my case new disk &amp;nbsp; &amp;nbsp; &amp;nbsp;is:/xvdj)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;mkfs /dev/xvdj&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;7.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Make a directory with below command (In my
case directory name is &quot;mountdriveE&quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;mkdir /mountdriveE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;8.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Mount this disk to mount point with below
command&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;mount /dev/xvdj /mountdriveE&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt 0.5in; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;9.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;Add below entry at the end of file&amp;nbsp;&lt;b&gt;&lt;span style=&quot;outline: 0px;&quot;&gt;/etc/fstab&lt;/span&gt;&lt;/b&gt;&amp;nbsp;for
permanent&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; text-indent: .5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt; line-height: 107%;&quot;&gt;/dev/xvdj&amp;nbsp;&amp;nbsp;&amp;nbsp;
/mountdriveE&amp;nbsp; ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Roboto Slab&#39;; font-size: 16px; font-weight: 700; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</description><link>http://dnrtips.blogspot.com/2015/10/how-to-add-ebs-volume-to-linux-machine.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-9077454991469965268</guid><pubDate>Thu, 23 Jul 2015 10:03:00 +0000</pubDate><atom:updated>2015-07-23T03:03:27.085-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><category domain="http://www.blogger.com/atom/ns#">Windows Server 2012</category><title>How to Delete Files which exceed 255 Characters Without 3rd Party Tools</title><description>&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, serif; font-size: 13px; line-height: 20.7999992370605px;&quot;&gt;create an empty folder on C:\ called test then used the mirror switch to copy the test folder to the HomeDrives folder.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Georgia, serif; font-size: 13px; line-height: 20.7999992370605px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Georgia, serif; font-size: 13px; line-height: 20.7999992370605px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-family: Georgia, serif; font-size: 13px; line-height: 20.7999992370605px;&quot;&gt;robocopy /MIR c:\test D:\xxx\xxx\xxx&lt;/strong&gt;</description><link>http://dnrtips.blogspot.com/2015/07/how-to-delete-files-which-exceed-255.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-1434060179174283281</guid><pubDate>Thu, 09 Apr 2015 06:44:00 +0000</pubDate><atom:updated>2015-04-08T23:44:37.982-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">software</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>How do I find out what service is using a certain port?</title><description>We have freeware tool &quot;currports&quot;&lt;br /&gt;
&lt;br /&gt;
http://www.nirsoft.net/utils/cports.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2015/04/how-do-i-find-out-what-service-is-using.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-4013528193280121339</guid><pubDate>Mon, 02 Mar 2015 08:01:00 +0000</pubDate><atom:updated>2015-03-02T00:01:24.304-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><category domain="http://www.blogger.com/atom/ns#">Windows Server 2008</category><title>Seizing An Operations Master with NTDSUTIL in Windows Server 2008 R2</title><description>http://www.msserverpro.com/seizing-an-operations-master-with-ntdsutil-in-windows-server-2008-r2/&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;&lt;strong&gt;In real network, when operations master server fails due to hardware issues or some other problems, we need to move the operation master role to another domain controller as soon as possible. This move process is called seizing. Therefore, Seizing an operations master role means forcing an operations master role onto another domain controller. Before we seize operations master roles, we must permanently disconnect the domain controller that holds the operations master roles &amp;nbsp;from the network.&lt;/strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span id=&quot;more-629&quot; style=&quot;border: 0px; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=634&quot; rel=&quot;attachment wp-att-634&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-634&quot; height=&quot;365&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/ntdsutil2.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;ntdsutil&quot; width=&quot;596&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
Here, all Operation Master Roles are on&amp;nbsp;&lt;strong&gt;KTM-DC01-2K8&lt;/strong&gt;&amp;nbsp;domain controller. In this scenario, currently this server is&amp;nbsp;&lt;strong&gt;Offline due to hardware problems&lt;/strong&gt;. So we get an error when we open Operations Masters roles on other domain controller&amp;nbsp;&lt;strong&gt;KTM-DC02-2K8&lt;/strong&gt;. To solve this problem, we have to&amp;nbsp;&lt;strong&gt;seize Operations Masters roles and reassign it to KTM-DC02-2K8&amp;nbsp;&lt;/strong&gt;domain controller as soon as possible.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=640&quot; rel=&quot;attachment wp-att-640&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-640&quot; height=&quot;448&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/RID-Error.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;RID Error&quot; width=&quot;404&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=641&quot; rel=&quot;attachment wp-att-641&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-641&quot; height=&quot;448&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/PDC-Error.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;PDC  Error&quot; width=&quot;404&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=642&quot; rel=&quot;attachment wp-att-642&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-642&quot; height=&quot;448&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/Infrastructure-Error.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;Infrastructure Error&quot; width=&quot;404&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
Before&amp;nbsp;&lt;strong&gt;KTM-DC01-2K8&lt;/strong&gt;&amp;nbsp;become Offline, all Operations Masters Roles are in the KTM-DC01-2K8.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=644&quot; rel=&quot;attachment wp-att-644&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-644&quot; height=&quot;184&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/KTM-DC01-2K8-fsmo-before-crash1.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;KTM-DC01-2K8 fsmo before crash&quot; width=&quot;514&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;Use ntdsutil to perform this procedure:&lt;/strong&gt;&lt;br /&gt;1. Log on to KTM-DC02-2K8, working DC.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
2. Open Command prompt, in the Run box, type cmd and then Click OK.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
3. At the Command Prompt, type&amp;nbsp;&lt;strong&gt;ntdsutil&amp;nbsp;&lt;/strong&gt;and press Enter.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
4. At the ntdsutil prompt, type&amp;nbsp;&lt;strong&gt;activate instance NTDS&lt;/strong&gt;&amp;nbsp;and press Enter.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
5. At the ntdsutil prompt type&amp;nbsp;&lt;strong&gt;roles&lt;/strong&gt;&amp;nbsp;and then press Enter.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
6. At the fsmo maintenance prompt, type&lt;strong&gt;?&lt;/strong&gt;&amp;nbsp;and press Enter to see a list of available commands.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=635&quot; rel=&quot;attachment wp-att-635&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-635&quot; height=&quot;192&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/613.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;6&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
7. At the fsmo maintenance prompt, type&amp;nbsp;&lt;strong&gt;connections&lt;/strong&gt;&amp;nbsp;and press Enter.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
8. At the server connections prompt, type&lt;strong&gt;?&lt;/strong&gt;&amp;nbsp;and press Enter for the help Information.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=636&quot; rel=&quot;attachment wp-att-636&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-636&quot; height=&quot;123&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/816.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;8&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
9. At the server connections prompt, type&amp;nbsp;&lt;strong&gt;connect to server followed by the fully qualified domain name (FQDN)&lt;/strong&gt;&amp;nbsp;of the domain controller that will be the new role holder, and then press Enter. Here FQDN will be&lt;strong&gt;KTM-DC02-2K8.msserverpro.com.&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
10. At the server connections prompt, type&amp;nbsp;&lt;strong&gt;quit&lt;/strong&gt;&amp;nbsp;and press Enter.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=637&quot; rel=&quot;attachment wp-att-637&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-637&quot; height=&quot;66&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/105.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;10&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
11. At the fsmo maintenance prompt, type one of the following commands to seize the appropriate operations master and press Enter.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i.) Seize infrastructure master&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ii.) Seize naming master&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iii.) Seize PDC&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv.) Seize RID master&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v.) Seize schema master&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=645&quot; rel=&quot;attachment wp-att-645&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-645&quot; height=&quot;202&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/11-a.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;11 a&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=646&quot; rel=&quot;attachment wp-att-646&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-646&quot; height=&quot;191&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/seize-infra.png&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;seize infra&quot; width=&quot;416&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=647&quot; rel=&quot;attachment wp-att-647&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-647&quot; height=&quot;198&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/11-b.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;11 b&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=648&quot; rel=&quot;attachment wp-att-648&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-648&quot; height=&quot;191&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/seize-naming.png&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;seize naming&quot; width=&quot;418&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=649&quot; rel=&quot;attachment wp-att-649&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-649&quot; height=&quot;196&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/11-C.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;11 C&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=650&quot; rel=&quot;attachment wp-att-650&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-650&quot; height=&quot;190&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/seize-PDC.png&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;seize PDC&quot; width=&quot;416&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=651&quot; rel=&quot;attachment wp-att-651&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-651&quot; height=&quot;201&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/11-D.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;11 D&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=652&quot; rel=&quot;attachment wp-att-652&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-652&quot; height=&quot;190&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/seize-RID.png&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;seize RID&quot; width=&quot;416&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=653&quot; rel=&quot;attachment wp-att-653&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-653&quot; height=&quot;197&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/11-e.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;11 e&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=654&quot; rel=&quot;attachment wp-att-654&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-654&quot; height=&quot;191&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/seize-schema.png&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;seize schema&quot; width=&quot;416&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
12. At the fsmo maintenance prompt, type&amp;nbsp;&lt;strong&gt;quit&lt;/strong&gt;&amp;nbsp;and then press Enter to gain access to the ntdsutil prompt.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=655&quot; rel=&quot;attachment wp-att-655&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-655&quot; height=&quot;55&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/128.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;12&quot; width=&quot;202&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
13. At the ntdsutil prompt, type&amp;nbsp;&lt;strong&gt;quit&lt;/strong&gt;&amp;nbsp;and then press Enter to quit the ntdsutil utility.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
14. At the Command prompt, type&amp;nbsp;&lt;strong&gt;netdom query fsmo&lt;/strong&gt;&amp;nbsp;to verify all the Operation Masters Roles in KTM-DC02-2K8.msserverpro.com.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.msserverpro.com/?attachment_id=656&quot; rel=&quot;attachment wp-att-656&quot; style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-656&quot; height=&quot;185&quot; src=&quot;http://www.msserverpro.com/wp-content/uploads/2011/09/144.jpg&quot; style=&quot;border: none; font-family: inherit; font-size: 12.00119972229px; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;14&quot; width=&quot;510&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;Summary:&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3f3f41; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 12.00119972229px; line-height: 20px; margin-bottom: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;Seizing an Operations Master role is critical whenever the Primary Domain Controller is non-functional for business continuity. The above article outlines how to carry out the role seizing operations. I hope this helps.&lt;/strong&gt;&lt;/div&gt;
</description><link>http://dnrtips.blogspot.com/2015/03/seizing-operations-master-with-ntdsutil.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-4327237235143222819</guid><pubDate>Tue, 10 Feb 2015 08:01:00 +0000</pubDate><atom:updated>2015-02-10T00:01:05.485-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">DevOps</category><title>Get Started with Ansible on the cloud</title><description>http://cloudacademy.com/blog/get-started-with-ansible-on-the-cloud/?utm_content=buffer3e169&amp;amp;utm_medium=social&amp;amp;utm_source=linkedin.com&amp;amp;utm_campaign=buffer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2015/02/get-started-with-ansible-on-cloud.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-6451588037137404901</guid><pubDate>Mon, 02 Feb 2015 07:44:00 +0000</pubDate><atom:updated>2015-02-01T23:44:40.286-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>CONFIGURING TRUSTS – PART 4</title><description>http://www.rebeladmin.com/2015/02/configuring-trusts-part-4/&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
This is the last part of the series which explain about “Trusts” between infrastructures. If you not checked the other 3 parts yet you can find them in here.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/2015/01/configuring-trusts-part-1/&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;Configuring Trusts – Part 1&lt;/a&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;a href=&quot;http://www.rebeladmin.com/2015/01/configuring-trusts-part-2/&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;Configuring Trusts – Part 2&lt;/a&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;a href=&quot;http://www.rebeladmin.com/2015/01/configuring-trusts-part-3/&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;Configuring Trusts – Part 3&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
This article will explain how to configure trusts between infrastructures.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;u style=&quot;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Demo Setup&lt;/strong&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
For the demonstration I will be using following setup.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;/div&gt;
&lt;br style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px;&quot; /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTable15Grid6ColorfulAccent1&quot; style=&quot;background-color: #ededed; border-collapse: collapse; border-spacing: 0px; border: none; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin: 0px 0px 2.3rem; width: 620px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-color: rgb(156, 194, 229); border-style: solid; border-width: 1pt 1pt 1.5pt; box-sizing: border-box; padding: 0in 5.4pt; width: 155.8pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Organization&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(156, 194, 229); border-bottom-style: solid; border-bottom-width: 1.5pt; border-right-color: rgb(156, 194, 229); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(156, 194, 229); border-top-style: solid; border-top-width: 1pt; box-sizing: border-box; padding: 0in 5.4pt; width: 155.85pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Domain&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(156, 194, 229); border-bottom-style: solid; border-bottom-width: 1.5pt; border-right-color: rgb(156, 194, 229); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(156, 194, 229); border-top-style: solid; border-top-width: 1pt; box-sizing: border-box; padding: 0in 5.4pt; width: 155.85pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Primary DC&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background: rgb(222, 234, 246); border-bottom-color: rgb(156, 194, 229); border-bottom-width: 1pt; border-left-color: rgb(156, 194, 229); border-left-width: 1pt; border-right-color: rgb(156, 194, 229); border-right-width: 1pt; border-style: none solid solid; box-sizing: border-box; padding: 0in 5.4pt; width: 155.8pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b style=&quot;box-sizing: border-box;&quot;&gt;Contoso Ltd.&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background: rgb(222, 234, 246); border-bottom-color: rgb(156, 194, 229); border-bottom-style: solid; border-bottom-width: 1pt; border-right-color: rgb(156, 194, 229); border-right-style: solid; border-right-width: 1pt; border-top-style: none; box-sizing: border-box; padding: 0in 5.4pt; width: 155.85pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
Contoso.com&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background: rgb(222, 234, 246); border-bottom-color: rgb(156, 194, 229); border-bottom-style: solid; border-bottom-width: 1pt; border-right-color: rgb(156, 194, 229); border-right-style: solid; border-right-width: 1pt; border-top-style: none; box-sizing: border-box; padding: 0in 5.4pt; width: 155.85pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
Microsoft Windows Server 2012 R2&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(156, 194, 229); border-bottom-width: 1pt; border-left-color: rgb(156, 194, 229); border-left-width: 1pt; border-right-color: rgb(156, 194, 229); border-right-width: 1pt; border-style: none solid solid; box-sizing: border-box; padding: 0in 5.4pt; width: 155.8pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
&lt;b style=&quot;box-sizing: border-box;&quot;&gt;XYZ Ltd.&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(156, 194, 229); border-bottom-style: solid; border-bottom-width: 1pt; border-right-color: rgb(156, 194, 229); border-right-style: solid; border-right-width: 1pt; border-top-style: none; box-sizing: border-box; padding: 0in 5.4pt; width: 155.85pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
Xyz.com&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(156, 194, 229); border-bottom-style: solid; border-bottom-width: 1pt; border-right-color: rgb(156, 194, 229); border-right-style: solid; border-right-width: 1pt; border-top-style: none; box-sizing: border-box; padding: 0in 5.4pt; width: 155.85pt;&quot; valign=&quot;top&quot; width=&quot;208&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;box-sizing: border-box; margin-bottom: 0.0001pt;&quot;&gt;
Microsoft Windows Server 2012 R2&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
I am going to initiate a “Forest Trust” between the 2 organizations. It will be Two-Way trust which allows each forest, domains and users to access “allowed” resources in each organization infrastructure.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Before start the process the initial step is to make sure following ports are open in firewalls in both organizations to initiate the trusts.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
UDP Port 88 – Kerberos Protocol&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;TCP and UDP Port 387 – LDAP&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;TCP Port 445 – Microsoft SMB&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;TCP Port 135 – Trust endpoint resolution&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
In order to initiate a trust you need to login as user account which is member of Domain Admins or Enterprise Admins groups.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Also you need to consider about the DNS ( domain name services )before proceed with the trust initiation process. If both organizations using root DNS server coming for both forests it will not be an issue. But if not you need to create DNS Zones in each forest dns servers. In here for the demo I have setup secondary dns zone with transferring copy of running DNS zone on XYZ.com. I have explain DNS zone setup in one of my previous articles in blog. If you not familiar with the process please refer to it&amp;nbsp;&lt;a href=&quot;http://www.rebeladmin.com/2014/06/dns-domain-name-service/&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/dns1.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;dns1&quot; class=&quot;alignnone size-full wp-image-1082&quot; height=&quot;485&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/dns1.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;757&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
1)&amp;nbsp;&amp;nbsp;&amp;nbsp; To start the process I will log in to contoso.com domain as enterprise administrator.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
2)&amp;nbsp;&amp;nbsp;&amp;nbsp; Then Server Manager &amp;gt; Active Directory Domains and Trusts&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t1.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t1&quot; class=&quot;alignnone size-full wp-image-1087&quot; height=&quot;258&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t1.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;767&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
3)&amp;nbsp;&amp;nbsp;&amp;nbsp; In active directory domains and trust snap-in right click on contoso.com domain and click properties&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t2.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t2&quot; class=&quot;alignnone size-full wp-image-1088&quot; height=&quot;251&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t2.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;598&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
4)&amp;nbsp;&amp;nbsp;&amp;nbsp; In next window go to “Trusts” tab and click on “New Trust” button&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t3.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t3&quot; class=&quot;alignnone size-full wp-image-1089&quot; height=&quot;419&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t3.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;407&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
5)&amp;nbsp;&amp;nbsp;&amp;nbsp; It will open the “New Trust Wizard” click next to start the process&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t4.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t4&quot; class=&quot;alignnone size-full wp-image-1090&quot; height=&quot;365&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t4.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;503&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
6)&amp;nbsp;&amp;nbsp;&amp;nbsp; In next window we need to specify the DNS name or the netbios name of the domain we going to initiate trust with. In our demo it will be “xyz.com”. then click next to continue&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t5.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t5&quot; class=&quot;alignnone size-full wp-image-1091&quot; height=&quot;367&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t5.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;504&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
7)&amp;nbsp;&amp;nbsp;&amp;nbsp; In next window we need to select the trust type. I have selected “Forest Trust” and click next to continue&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t6.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t6&quot; class=&quot;alignnone size-full wp-image-1092&quot; height=&quot;365&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t6.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;501&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
8)&amp;nbsp;&amp;nbsp;&amp;nbsp; We are going to setup “Two-Way” trust so in next window I selected “Two-way” from the list and click continue&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t7.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t7&quot; class=&quot;alignnone size-full wp-image-1093&quot; height=&quot;364&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t7.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;503&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
9)&amp;nbsp;&amp;nbsp;&amp;nbsp; Trusts are need to initiate in both sides. But if you have appropriate access permissions to the remote forest, you can initiate it. In next window it give option to initiate the trust in remote forest. Since I do have access I select “Both this domain and specified domain” and click next&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t8.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t8&quot; class=&quot;alignnone size-full wp-image-1094&quot; height=&quot;366&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t8.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;503&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
10)&amp;nbsp;&amp;nbsp;&amp;nbsp; In next window I have specified the logins to initiate trust in remote forest (the account need to be member of Domain Admins or Enterprise Admins groups). Then click next to continue&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t9.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t9&quot; class=&quot;alignnone size-full wp-image-1095&quot; height=&quot;367&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t9.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;504&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
11)&amp;nbsp;&amp;nbsp;&amp;nbsp; In next windows it ask to select the authentication scope for local forest. In here I select forest-wide authentication&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t10.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t10&quot; class=&quot;alignnone size-full wp-image-1096&quot; height=&quot;364&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t10.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;506&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
12)&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;In next windows it ask to select the authentication scope for remote forest. In here I select forest-wide authentication&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t11.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t11&quot; class=&quot;alignnone size-full wp-image-1097&quot; height=&quot;366&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t11.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;505&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
13)&amp;nbsp;&amp;nbsp;&amp;nbsp; In&amp;nbsp; next window it gives brief description about the selections we made and click next to initiate the trust&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t12.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t12&quot; class=&quot;alignnone size-full wp-image-1098&quot; height=&quot;364&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t12.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;502&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
14)&amp;nbsp;&amp;nbsp;&amp;nbsp; In next window it asks about routed name suffixes for the local forest. I will use default and click next&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t13.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t13&quot; class=&quot;alignnone size-full wp-image-1099&quot; height=&quot;363&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t13.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;507&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
15)&amp;nbsp;&amp;nbsp;&amp;nbsp; In another window it asks to confirm the outgoing trust. Since we initiated the other side of trust, select yes and click next&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t14.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t14&quot; class=&quot;alignnone size-full wp-image-1100&quot; height=&quot;365&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t14.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;504&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
16)&amp;nbsp;&amp;nbsp;&amp;nbsp; Next window it asks to confirm incoming trust. Since we initiated the other side of trust, select yes and click next&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t15.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t15&quot; class=&quot;alignnone size-full wp-image-1101&quot; height=&quot;364&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t15.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;507&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
17)&amp;nbsp;&amp;nbsp;&amp;nbsp; Then it gives confirmation about the successfully create trust. Click finish to exit from wizard.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t16.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t16&quot; class=&quot;alignnone size-full wp-image-1102&quot; height=&quot;363&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t16.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;504&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
18)&amp;nbsp;&amp;nbsp;&amp;nbsp; In remote XYZ.com we can confirm the initiate trust by looking in to domain properties like we did in steps 1-3&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t17.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;t17&quot; class=&quot;alignnone size-full wp-image-1103&quot; height=&quot;499&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/t17.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;740&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
This completes the process of creating forest-trust. The options selected on process will change based on trust type, authentication scope etc.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;u style=&quot;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Testing&lt;/strong&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
For the testing purpose of the trust I have created following scenario.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Contoso&amp;nbsp;&lt;/strong&gt;domain file server hosts a folder called “&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Share-Contoso&lt;/strong&gt;”. We need to provide access to user account called “&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;xyz-user&lt;/strong&gt;” from&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;XYZ forest&lt;/strong&gt;&amp;nbsp;to this particular folder.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
After initiating the trust, when we going to apply share permission to the “&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Share-Contoso&lt;/strong&gt;” folder now we can select users from the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;XYZ.com&amp;nbsp;&lt;/strong&gt;domain.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh1.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;sh1&quot; class=&quot;alignnone size-full wp-image-1083&quot; height=&quot;324&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh1.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;797&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh2.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;sh2&quot; class=&quot;alignnone size-full wp-image-1084&quot; height=&quot;321&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh2.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;607&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
After applying permissions I am trying to log in to contoso file server from remote location ( here I used a pc which is not added to domain ) and once its ask to provide logins I have provided the login info for&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;xyz-user&amp;nbsp;&lt;/strong&gt;for XYZ.com domain.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh3.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;sh3&quot; class=&quot;alignnone size-full wp-image-1085&quot; height=&quot;384&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh3.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;585&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Once it’s authenticated we can see it’s provided the access to relevant share.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh4.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;sh4&quot; class=&quot;alignnone size-full wp-image-1086&quot; height=&quot;277&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/02/sh4.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;693&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
As we can see the trust is successfully initiated.&amp;nbsp;&lt;/div&gt;
</description><link>http://dnrtips.blogspot.com/2015/02/configuring-trusts-part-4.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-6949799019166805273</guid><pubDate>Tue, 27 Jan 2015 07:27:00 +0000</pubDate><atom:updated>2015-01-26T23:27:45.361-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>CONFIGURING TRUSTS – PART 3</title><description>http://www.rebeladmin.com/2015/01/configuring-trusts-part-3/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
This is the part 3 of the series which explain about “Trusts” between infrastructures. If you not checked the other 2 parts yet you can find them in here.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/2015/01/configuring-trusts-part-1/&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;Configuring Trusts – Part 1&lt;/a&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;a href=&quot;http://www.rebeladmin.com/2015/01/configuring-trusts-part-2/&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;Configuring Trusts – Part 2&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
In this article I will cover up the rest of the concepts, terms, involves with setting up a trust.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Security Identifier (SID) filtering&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Microsoft Systems uses a structure known as SID to express its identities. Its act as a token. SID filtering is used to block users in trusted forest or domain being able to elevate their privileges in local forest or domain. This is important for external trusts as when you trusting you can control rights to provide credentials between domains.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
By default windows 2012, windows 2012 R2 have SID filtering enabled. If you wish to disable this, you can do it using following commands. (&lt;a href=&quot;https://technet.microsoft.com/en-us/library/cc794801(v=ws.10).aspx&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;https://technet.microsoft.com/en-us/library/cc794801(v=ws.10).aspx&lt;/a&gt;)&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;u style=&quot;box-sizing: border-box;&quot;&gt;To disable SID filter quarantining for the trusting domain&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Netdom trust &lt;trustingdomainname&gt; /domain:&lt;trusteddomainname&gt; /quarantine:No /userD:&lt;domainadministratoracct&gt; /passwordD:&lt;domainadminpwd&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/domainadminpwd&gt;&lt;/domainadministratoracct&gt;&lt;/trusteddomainname&gt;&lt;/trustingdomainname&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;u style=&quot;box-sizing: border-box;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;To disable SID filter quarantining for the trusting forest&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Netdom trust &lt;trustingdomainname&gt; /domain:&lt;trusteddomainname&gt; /enablesidhistory:Yes /userD:&lt;domainadministratoracct&gt; /passwordD:&lt;domainadminpwd&gt;&lt;/domainadminpwd&gt;&lt;/domainadministratoracct&gt;&lt;/trusteddomainname&gt;&lt;/trustingdomainname&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;/strong&gt;It is recommended to keep the default enabled state unless you have critical reason.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Name Suffix Routing&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
In an organization it may have different UPN (User Principle Name) suffixes used with in its forest. For example Contoso LTD. May use contoso.com, mycontoso.net, companyA.org as name suffixes. But when you creating a trust you may not need to allow users from all these suffixes. With Name suffix routing we can enable or disable the UPN suffixes which will involve with the trust operations.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
I will demonstrate how we can do this in next post which will go more in to real world configurations.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Trust Authentications&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Trusts can use 2 authentication protocols. By default it uses Kerberos Version 5. If it’s not supporting it use NTLM Authentication.&amp;nbsp; In order to initiate a trust, the administrator need to be a member of domain admin group or enterprise admin user group. Trust needs to initiate in both sides.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Trust Components&lt;/strong&gt;&amp;nbsp;(&lt;a href=&quot;https://technet.microsoft.com/en-us/library/cc773178(v=ws.10).aspx&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;https://technet.microsoft.com/en-us/library/cc773178(v=ws.10).aspx&lt;/a&gt;)&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/01/IC195612.gif&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;IC195612&quot; class=&quot;alignnone size-full wp-image-1078&quot; height=&quot;337&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/01/IC195612.gif&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;377&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Before initiate trusts it is important to make sure following ports are open in both sides.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;UDP Port 88&lt;/strong&gt;&amp;nbsp;– Kerberos Protocol&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;TCP and UDP Port 387&lt;/strong&gt;&amp;nbsp;– LDAP&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;TCP Port 445&lt;/strong&gt;&amp;nbsp;– Microsoft SMB&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;TCP Port 135&lt;/strong&gt;&amp;nbsp;– Trust endpoint resolution&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
This is the end of a part 3 of the configuring trust series and in next article let’s look in to real world setups&lt;/div&gt;
</description><link>http://dnrtips.blogspot.com/2015/01/configuring-trusts-part-3.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-7728020788326549057</guid><pubDate>Tue, 27 Jan 2015 07:26:00 +0000</pubDate><atom:updated>2015-01-26T23:26:54.774-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>CONFIGURING TRUSTS – PART 2</title><description>http://www.rebeladmin.com/2015/01/configuring-trusts-part-2/&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
This is the part 2 of the series of articles which describes about trusts between infrastructures. If you still not read the part 1 of the series you can find it in&amp;nbsp;&lt;a href=&quot;http://www.rebeladmin.com/2015/01/configuring-trusts-part-1/&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
On previous article I explain what is a trust and common terms used in process. This article will be extend to it.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;External Trusts&amp;nbsp;&lt;/strong&gt;– Let’s assume we have child domain called “&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;HQ.contoso.com&lt;/strong&gt;” under contoso.com forest. Company recently had business relationship with XYZ corp. They having child domain under the XYZ.com forest called “&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Sales.xyz.com&lt;/strong&gt;”. As per business need management wants to allow users, resources in “Sales.xyz.com” to access data, resources in “HQ.contoso.com”. None of the other domains, child domains in both forest should allow in this operation. This is where we can use “External Trusts”. So it will only allow part of the forest to participate in unique operation.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Realm Trust&lt;/strong&gt;&amp;nbsp;– Also in real world Microsoft AD services is not the only directory services organizations uses. So it is not practical forcing another organization to change their directory services to match with ours to make trust. Realm trusts are helps to mitigate this issue and it allows to make trusts with active directory domain and&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;non-Windows Kerberos version 5 realm&lt;/strong&gt;(such as Linux directory service)&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Forest Trusts&amp;nbsp;&lt;/strong&gt;– This is the most commonly used trust type. Using forest trust, one active directory forest will trust another active directory forest. These trust can be uni-directional trust or bi-direction trusts. By default forest trusts are “Trasitive”. It means any domain or child domain under these forests will be automatically trusted by each other (based on trust direction).&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
In forest trust we can use two authentication scopes according to our business requirement.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Forest-wide Authentication&amp;nbsp;&lt;/strong&gt;– This is the default authentication setting for forest trusts. Users in remote forest will be automatically allow to authenticate local forest resources. In here it doesn’t means any user in remote forest can access any resources. They still need pass the ACL, permission rules resources used. This authentication model is recommended for the organizations with multiple forests.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Selective Authentication&lt;/strong&gt;&amp;nbsp;– Using this method we can allow selected users, groups in remote forest to access resources in local forest.&amp;nbsp; This is the best option to control access security while maintaining a forest trust.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Shortcut Trusts&amp;nbsp;&lt;/strong&gt;– Let’s assume we have two forests called contoso.com and XYZ.com. As per below image both forests do have several domains and child domains. We do have a user called ‘User A” in “&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;IT.Hotels.contoso.com&lt;/strong&gt;”. He needs to access a file share from a server located under “&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;HR.Constructions.XYZ.com&lt;/strong&gt;”.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/01/short1.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;short1&quot; class=&quot;alignnone size-full wp-image-1074&quot; height=&quot;599&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/01/short1.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;1012&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Now if we think about the authentication process it will need to pass the traffic all the way up to root domain in both forests. Sometime these child domains may located on different countries or cities. These may also connect through slow links due to high cost. So this traffic does effect regular operations.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Shortcut trusts allows to pass authentication traffic between IT.Hotels.contoso.com and HR.Constructions.XYZ.com directly without going through domain tree. Shortcut trust can be bi-directional or uni-directional.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;a href=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/01/short2.jpg&quot; style=&quot;-webkit-transition: none; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #bb0000; text-decoration: none; transition: none;&quot;&gt;&lt;img alt=&quot;short2&quot; class=&quot;alignnone size-full wp-image-1075&quot; height=&quot;599&quot; src=&quot;http://www.rebeladmin.com/wp-content/uploads/2015/01/short2.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 0.5rem 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;1012&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
This is the end of Part 2 of the series&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2015/01/configuring-trusts-part-2.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-7205195102272817495</guid><pubDate>Fri, 23 Jan 2015 10:49:00 +0000</pubDate><atom:updated>2015-01-23T02:49:12.330-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>CONFIGURING TRUSTS – PART 1</title><description>http://www.rebeladmin.com/2015/01/configuring-trusts-part-1/&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Trusts, simply we can define as a bond between multiple domains, multiple forests. It controls how or what been allowed between domains and forests.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Let’s assume we have a company called&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Contoso Inc.&lt;/strong&gt;&amp;nbsp;and its running with domain&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;contoso.com&lt;/strong&gt;. Company recently merge with another company called&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;XYZ Inc.&amp;nbsp;&lt;/strong&gt;and its running with domain&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;xyz.com&lt;/strong&gt;. Management wants to allow their resources to been used by both company users. For ex- A user in&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;contoso.com&lt;/strong&gt;&amp;nbsp;will required to access a share in&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;xyz.com&lt;/strong&gt;&amp;nbsp;file server. Company wants to do it with minimum impact or changes. This is where “trusts” comes in to the picture. Using trusts we can control who will be trusted, how it will be and what sort of access users have on resources.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
Before we move in to the configurations it is important to understand the concepts of trusts.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Trusting Domain&amp;nbsp;&lt;/strong&gt;– This will be the domain contains the resources which will need to allow access. As ex- in my domain contoso.com have a file share called “Sales”. I needs to allow sales users from XYZ.com to access it. In here contoso.com act as trusting domain.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Trusted Domain&lt;/strong&gt;&amp;nbsp;– This will holds the resources which you wish to grant access. As ex- if we take same above example, XYZ.com domain holds the user accounts which will be allow to access resources on contoso.com. So XYZ.com act as trusted domain.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Transitivity&lt;/strong&gt;&amp;nbsp;– Trust transitivity allows to extend the trust in to child domain level. For example with trust I may need to allow users in child domains of xyz.com also to have access in to contoso.com domain resources.&amp;nbsp;&amp;nbsp; I can do it with trust transitivity.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
We can categorize trusts based on the direction it’s applying to.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Two-Way Trust&lt;/strong&gt;&amp;nbsp;– This also known as bidirectional trust. This is the trust mostly been used among organizations. In here both sides on the trust work as trusting and trusted domains.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;One-way Incoming Trust&lt;/strong&gt;&amp;nbsp;– In here trust is created in trusted domain and trusted domain can access resources in trusting domain only.&lt;/div&gt;
&lt;div style=&quot;background-color: #ededed; box-sizing: border-box; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 23px; margin-bottom: 2.3rem;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;One-way Outgoing Trust&lt;/strong&gt;&amp;nbsp;– In here resources in remote, specified domain can authenticated in initiating domain.&lt;/div&gt;
</description><link>http://dnrtips.blogspot.com/2015/01/configuring-trusts-part-1.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-6899435760833598708</guid><pubDate>Tue, 30 Dec 2014 05:34:00 +0000</pubDate><atom:updated>2014-12-29T21:34:10.312-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">Scripting</category><title>Embedding IAM roles in EC2 instances</title><description>http://searchaws.techtarget.com/tip/Embedding-IAM-roles-in-EC2-instances&lt;br /&gt;
&lt;br /&gt;
Many enterprises know that turning off unused AWS instances can save money. But not all IT pros know which method is best and how to set it up.&lt;br /&gt;
&lt;br /&gt;
There are a few ways to turn off unused Amazon Web Services (AWS) Elastic Compute Cloud (EC2) instances. If you don&#39;t use Auto Scaling, you will need to configure this process manually. One method is to use command-line interface (CLI) tools ec2-start-instances and ec2-stop-instances on Linux, using either a role-based method or an identity access management user-credential method.&lt;br /&gt;
&lt;br /&gt;
Setting up role-based security enables you to associate AWS identity and access management (IAM) roles with the instance, without having to manually add plain-text security credentials. This not only improves security, but is easier to manage. Identify an instance that will perform CLI start and stop scripts, or create a dedicated micro-instance to perform these maintenance tasks.&lt;br /&gt;
&lt;br /&gt;
IAM roles cannot be embedded in instances that have been created; they must be defined during the setup phase. This tip walks you through the instance configuration process needed to run CLI commands based on IAM roles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Setting up role-based security on an EC2 instance&lt;br /&gt;
&lt;br /&gt;
To configure cron to turn AWS EC2 instances on or off, create a specific security role and embed this role in a fresh EC2. Follow these steps to create the security role:&lt;br /&gt;
&lt;br /&gt;
From the AWS Management Console, click IAM -- Secure AWS Access Control and then Roles and then select Create a New Role.&lt;br /&gt;
Enter ec2-privs-for-cron (or any unique name you choose) and click Next Step.&lt;br /&gt;
Hit Select, which is found next to the Amazon EC2 - Allows EC2 instances to call AWS services on your behalf role description. Select theNext Step button.&lt;br /&gt;
Click on Policy Generator and hit Select next to the Use the policy generator to create your own set of permissions text.&lt;br /&gt;
In the policy generator interface, check that Allow is selected and chooseAmazon EC2 from the Amazon Service dropdown list. Then click Actionsand StartInstances, followed by StopInstances. Enter an Amazon Resource Name (ARN): arn:aws:ec2:*:*:*&quot;, and click Next Step.&lt;br /&gt;
&lt;br /&gt;
This will bring you to a screen showing the new policy as:&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&quot;Version&quot;: &quot;2012-10-17&quot;,&lt;br /&gt;
&quot;Statement&quot;: [ &amp;nbsp;&lt;br /&gt;
&amp;nbsp;{ &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;Sid&quot;: &quot;Stmt1413912997000&quot;, &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;Effect&quot;: &quot;Allow&quot;, &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;Action&quot;: [ &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;ec2:StartInstances&quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;ec2:StopInstances&quot; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ], &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;Resource&quot;: [ &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;arn:aws:ec2:*:*:*&quot; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ] &amp;nbsp;&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Review the Role Name, Role ARN and the Trusted Entities, and click Create Role and then Done. You can now attach the new role, which is called &quot;ec2-privs-for-cron,&quot; to a new EC2.&lt;br /&gt;
&lt;br /&gt;
Next, spin up new EC2 instance. To do so, launch a new Amazon Machine Instance (AMI), which comes preinstalled with the AWS CLI tools. For this scenario, we&#39;ll choose the default instance settings. If you spin up a non-AMI Linux instance, you should install the AWS Command Line Interfacesoftware.&lt;br /&gt;
&lt;br /&gt;
Select the ec2-privs-for-cron role In the Configure Instance Details page of the IAM role field. You won&#39;t be able to change the IAM role once the instance is launched. The AWS access keys with the specified permissions of this role will be available to this EC2 instance automatically. Ensure you can Secure Socket Shell (SSH) into the instance to complete the configuration. Finally, click Launch Instance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Configure the EC2 instance&lt;br /&gt;
&lt;br /&gt;
To configure the new instance, SSH into the instance and create EC2 start / stop scripts. Then create a directory, such as &quot;scripts,&quot; in the home ec2-user account.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pro+&lt;br /&gt;
Features&lt;br /&gt;
Enjoy the benefits of Pro+ membership, learn more and join.&lt;br /&gt;
&lt;br /&gt;
E-Handbook&lt;br /&gt;
Getting started with AWS EC2 instances&lt;br /&gt;
Change directory into the scripts directory and create a &quot;stop-ec2.sh&quot; script file; add the &quot;ec2-stop-instances i-xxxxxxxx&quot; AWS CLI command where &quot;i-xxxxxxxx&quot; is the instance ID you want to stop. Repeat the CLI for each instance you want to stop.&lt;br /&gt;
&lt;br /&gt;
Next, create a second script file named &quot;start-ec2.sh&quot; and add the &quot;ec2-start-instances i-xxxxxxxx&quot; AWS CLI where &quot;i-xxxxxxxx&quot; is the instance ID you want to start. Next, ensure the execute bit is set on these scripts. Add cron entries.&lt;br /&gt;
&lt;br /&gt;
Edit the crontab file using the &quot;crontab –e&quot; command and add the follow lines:&lt;br /&gt;
&lt;br /&gt;
EC2_HOME = /opt/aws/apitools/ec2-1.7.1.1 -- This must be the actual AWS CLI root directory; it cannot reference a symbolic directory name.&lt;br /&gt;
JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64 -- This must be the actual JAVA root directory; it cannot reference a symbolic directory name.&lt;br /&gt;
PATH=/bin:/usr/bin:/opt/aws/apitools/ec2-1.7.1.1/bin -- The PATH environment variable containing the bin directories of any executables used in cron script files must be part of the path.&lt;br /&gt;
&quot;30 2 * * * /home/ec2-user/scripts/stop-ec2.sh &amp;nbsp;&amp;gt;&amp;gt; /tmp/aws_instance_stop.log 2&amp;gt;&amp;amp;1&quot; -- This is the actual cron entry that executes the stop-ec2.sh scipt. The first five parameters define the date/time and frequency the script is to be run; cron uses the time zone predefined in the instance. As such, since my instance is set to the UTC time zone, the entry states the stop-ec2.sh script will run every day at 2:30 a.m. UTC or 10 p.m. EST.&lt;br /&gt;
Reference the cron wiki to learn how to set different date and time frequencies. The &quot;&amp;gt;&amp;gt; /tmp/aws_instance_stop.log&quot; logs the results of script execution to the aws_instance_stop.log file in the /tmp directory.&lt;br /&gt;
&quot;15 10 0 0 * /home/ec2-user/scripts/start-ec2.sh &amp;gt;&amp;gt; /tmp/aws_instance_start.log 2&amp;gt;&amp;amp;1&quot; This is the actual cron entry that executes the start-ec2.sh scipt. Notes: cron will execute this start-ec2.sh script every day at 10:15 a.m. UTC or 6:15 a.m. EST.&lt;br /&gt;
The &quot;&amp;gt;&amp;gt; /tmp/aws_instance_start.log&quot; logs the results of script execution to the aws_instance_start.log file in the /tmp directory.&lt;br /&gt;
Your crontab file should now look something like this:&lt;br /&gt;
# &amp;nbsp;cron entries for starting/stopping EC2 instances (rjv) 10.21.2014&lt;br /&gt;
# Set Environment Variables&lt;br /&gt;
EC2_HOME=/opt/aws/apitools/ec2-1.7.1.1&lt;br /&gt;
JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64&lt;br /&gt;
PATH=/bin:/usr/bin:/opt/aws/apitools/ec2-1.7.1.1/bin&lt;br /&gt;
&lt;br /&gt;
# define scripts to run based on schedule&lt;br /&gt;
30 2 * * * /home/ec2-user/scripts/stop-ec2.sh &amp;nbsp;&amp;gt; /tmp/aws_instance_stop.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
15 10 * * * /home/ec2-user/scripts/start-ec2.sh &amp;nbsp;&amp;gt; /tmp/aws_instance_start.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2014/12/embedding-iam-roles-in-ec2-instances.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-7294036322846998481</guid><pubDate>Mon, 29 Dec 2014 10:11:00 +0000</pubDate><atom:updated>2014-12-29T02:11:53.491-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>How to configure a firewall for domains and trusts</title><description>http://support.microsoft.com/kb/179442&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2014/12/how-to-configure-firewall-for-domains.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-2377952279026867089</guid><pubDate>Mon, 08 Dec 2014 07:50:00 +0000</pubDate><atom:updated>2014-12-07T23:57:53.191-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Networking</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><category domain="http://www.blogger.com/atom/ns#">Windows Server 2008</category><category domain="http://www.blogger.com/atom/ns#">Windows Server 2012</category><title>Interforest Migration with ADMT 3.2</title><description>&lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/11996.interforest-migration-with-admt-3-2-part-1.aspx&quot;&gt;http://social.technet.microsoft.com/wiki/contents/articles/11996.interforest-migration-with-admt-3-2-part-1.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/16208.interforest-migration-with-admt-3-2-part-2.aspx&quot;&gt;http://social.technet.microsoft.com/wiki/contents/articles/16208.interforest-migration-with-admt-3-2-part-2.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/16621.interforest-migration-with-admt-3-2-part-3.aspx&quot;&gt;http://social.technet.microsoft.com/wiki/contents/articles/16621.interforest-migration-with-admt-3-2-part-3.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2014/12/interforest-migration-with-admt-32.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-7321385694600782161</guid><pubDate>Tue, 18 Nov 2014 18:11:00 +0000</pubDate><atom:updated>2014-11-18T10:12:15.617-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Installing Nagios 4 on Ubuntu 14 04 LTS</title><description>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/DjypqnFFSyg&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</description><link>http://dnrtips.blogspot.com/2014/11/installing-nagios-4-on-ubuntu-14-04-lts.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/DjypqnFFSyg/default.jpg" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-8136436426640858843</guid><pubDate>Tue, 28 Oct 2014 12:25:00 +0000</pubDate><atom:updated>2014-10-28T05:26:18.865-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><title>Configuring A NAT Instance in AWS VPC</title><description>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/7PXJbSD_VRA&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</description><link>http://dnrtips.blogspot.com/2014/10/configuring-nat-instance-in-aws-vpc.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/7PXJbSD_VRA/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-1548927049036507691</guid><pubDate>Thu, 23 Oct 2014 13:37:00 +0000</pubDate><atom:updated>2014-10-23T06:37:56.835-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><category domain="http://www.blogger.com/atom/ns#">Windows Server 2008</category><title>The operation failed The specified user already exists</title><description>Exact Error:&amp;nbsp;the operation failed because the attempt to join this computer to the domain failed the specified account already exists&lt;br /&gt;
&lt;br /&gt;
Solution: &amp;nbsp;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;In my existing AD, I went under &quot;Domain Controllers&quot; OU and saw an entry of the host name of the second DC that i have been unsuccessfully attempted before. &amp;nbsp;I deleted/demoted the second DC from the entry, and went back to the second DC and re-initiated the DCPROMO. &amp;nbsp;It is now completing the wizard.&lt;/span&gt;</description><link>http://dnrtips.blogspot.com/2014/10/the-operation-failed-specified-user.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-2469864534982880198</guid><pubDate>Wed, 22 Oct 2014 13:00:00 +0000</pubDate><atom:updated>2014-10-22T06:00:56.628-07:00</atom:updated><title>Active Directory replication between two sites which we have connectivity (VPN)</title><description>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/r1MSjybswyc&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</description><link>http://dnrtips.blogspot.com/2014/10/active-directory-replication-between_22.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/r1MSjybswyc/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-903872304120052942</guid><pubDate>Wed, 15 Oct 2014 12:11:00 +0000</pubDate><atom:updated>2014-10-15T05:11:56.397-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>reboot server remotely from command prompt</title><description>&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; color: black; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding: 0px; width: 605px;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-style: none; direction: ltr; font-family: &#39;Courier New&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; width: 605px;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;1:&lt;/span&gt; SHUTDOWN /r /f /t 0 /m \\&lt;servername&gt; /c &lt;span style=&quot;color: #006080;&quot;&gt;&quot;&lt;description&gt;&quot;&lt;/description&gt;&lt;/span&gt;&lt;/servername&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
/r&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shutdown and restart the computer.&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
/f&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Force running applications to close without forewarning users.&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
/t xxx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set the time-out period before shutdown to xxx seconds.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The valid range is 0-600, with a default of 30.&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
/m \\computer Specify the target computer.&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
/c &quot;comment&quot; Comment on the reason for the restart or shutdown.&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #ced5db; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.165599822998px;&quot;&gt;
If it got struck in the middle use below command to force restart: &amp;nbsp;taskkill /s \\ServerIpAddress /im lsass.exe&lt;/div&gt;
</description><link>http://dnrtips.blogspot.com/2014/10/reboot-server-remotely-from-command.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-3760384301050530106</guid><pubDate>Tue, 14 Oct 2014 06:24:00 +0000</pubDate><atom:updated>2014-10-13T23:24:18.972-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><title>Remote desktop session is getting frequently disconnected in VPC Public subnet</title><description>&lt;span style=&quot;color: #777777; font-family: Arial; font-size: 14.4444446563721px; white-space: pre-wrap;&quot;&gt;Below are a list of possibly reasons this could be happening:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #777777; font-family: Arial; font-size: 14.4444446563721px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #777777; font-family: Arial; font-size: 14.4444446563721px; white-space: pre-wrap;&quot;&gt;Influx of ingress and egress traffic could overwhelm the network card
-Extended CPU load could overwhelm the system
-Windows updates are missing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #777777; font-family: Arial; font-size: 14.4444446563721px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #777777; font-family: Arial; font-size: 14.4444446563721px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #777777; font-family: Arial; font-size: 14.4444446563721px; white-space: pre-wrap;&quot;&gt;I recommend is to create another Network Interface for your instance for the sole purpose of Remote Desktop Connections -- use the other Network Interface for normal web traffic, this may help reduce the load.
1. Create an Elastic IP
2. Create a Network Interface (for RDP) with the same Subnet ID and VPC ID of your instance
3. Associate the Elastic IP with your new Network Interface
4. Assign the new Network Interface to your instance
5. Reboot
6. Use the Elastic IP for RDP connections only (Make sure security groups are correct)&lt;/span&gt;</description><link>http://dnrtips.blogspot.com/2014/10/remote-desktop-session-is-getting.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-4014449750344990621</guid><pubDate>Tue, 16 Sep 2014 08:09:00 +0000</pubDate><atom:updated>2014-09-16T01:09:05.219-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><title>Autoscalling Windows servers in AWS</title><description>&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Steps for using the Amazon Command Line Tools:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Pre-requisites&lt;/li&gt;
&lt;li style=&quot;color: green; font-weight: bold;&quot;&gt;All of the steps below can be skipped if you use EZAutoScaling.&lt;/li&gt;
&lt;li&gt;Download the command line tools for Auto Scaling&lt;/li&gt;
&lt;li&gt;Download the command line tools for CloudWatch&lt;/li&gt;
&lt;li&gt;Set up Auto Scaling command line&lt;/li&gt;
&lt;li&gt;Set up CloudWatch command line&lt;/li&gt;
&lt;li&gt;Create new Launch Configuration&lt;/li&gt;
&lt;li&gt;Create new Auto Scaling Group&lt;/li&gt;
&lt;li&gt;Create per region&lt;/li&gt;
&lt;li&gt;Create CloudWatch monitor to increase servers&lt;/li&gt;
&lt;li&gt;Create CloudWatch monitor to decrease servers&lt;/li&gt;
&lt;li&gt;Set Desired Capacity after creation&lt;/li&gt;
&lt;li&gt;Monitoring your Auto Scaling Froups&lt;/li&gt;
&lt;li&gt;Monitoring your Instances&#39; health&lt;/li&gt;
&lt;li&gt;Delete Auto Scaling Groups and Launch Configurations&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Pre-requisites&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;You need to know which Amazon region (e.g. &#39;US East (N. Virginia)&#39; or &#39;us-east-1&#39;) you want to set up your Auto Scaling in.&lt;/li&gt;
&lt;li&gt;You need to have an AMI set up in that region. The AMI will be the image that will be used for each new instance in your Auto Scaling group.&lt;/li&gt;
&lt;li&gt;You need to have a load balancer created in that region. Each new instance in the Auto Scaling group will be added to that load balancer.&lt;/li&gt;
&lt;/ul&gt;
&lt;b style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Knowing your region&lt;/b&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The region where your EC2 instances will be created can be viewed in the top-right corner of your AWS Management Console.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Know your AWS Region&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/1_region.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;b style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Having an AMI&lt;/b&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Under the Services tab select EC2 and then click on AMIs in the left panel. In the right panel you need to have an AMI. If you don&#39;t have one then you need to create one. Every new Auto Scaling EC2 instance that is created will be an exact copy of this AMI.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Know your AMIs&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/2_amis.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Know your AMIs&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/3_amis.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;b style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Having a load balancer&lt;/b&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Similarly to AMIs, the left panel has a link for Load Balancers. You need to create at least 1 load balancer. Every new Auto Scaling EC2 instance will be added to this load balancer. When you first create the load balancer, you don&#39;t need to attach any instances to it.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Load Balancers&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/4_lb.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 20px;&quot;&gt;
FYI: All of the steps below are converted to a web-based interface in EZAutoScaling&#39;s online tool. If you use EZAutoScaling you will not need to execute any of the steps below.&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Download the command line tools for Auto Scaling&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;This is probably one of the easier steps in this guide. Click on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://aws.amazon.com/developertools/2535&quot; style=&quot;background-color: white; color: #0088cc; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;this link&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;and download the command line tools for Auto Scaling.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Download Auto Scaling command line tools&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/5_autoscalingdownload.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Download the command line tools for CloudWatch&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Similarly to the step above, click on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://aws.amazon.com/developertools/2534&quot; style=&quot;background-color: white; color: #0088cc; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;this link&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;and download the command line tools for CloudWatch.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Download CloudWatch command line tools&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/6_cloudwatchdownload.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Set up Auto Scaling command line&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;After you unzip the command line tools to a directory, go that that directory. Setting up the command line is described in the file README.TXT.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;There are quite a few pre-requisites to make this work, but the assumption for this guide is that you have the JAVA pre-requisites; you just need to set up the security keys to get the command line to work.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Here are the steps as per the README file:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;1. Ensure that JAVA version 1.5 or higher is installed on your system: (java -version) [Assumption is that this is set up]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;2. Unzip the deployment zip file [Assumption is that this is done]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3. Set the following environment variables:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3.1 AWS_AUTO_SCALING_HOME - The directory where the deployment files were copied to.&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;For Windows users to go: Start &amp;gt; right-click on My Computer &amp;gt; Properties&lt;/li&gt;
&lt;li&gt;Click on Change Settings&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/7_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Click on the Advanced tab and then Environment Variables&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/8_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Add a new system variable with name &quot;AWS_AUTO_SCALING_HOME&quot; and the value where you unzipped the directory&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/9_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3.2 JAVA_HOME - Java Installation home directory [Assumption is that this is set up]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;4. Add &quot;%AWS_AUTO_SCALING_HOME%\bin&quot; to your path (Windows)&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Open the variable &quot;Path&quot; and add &quot;%AWS_AUTO_SCALING_HOME%\bin&quot; at the end of the value. Make sure you add &quot;;&quot; between values.&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Configuration of security keys; this guide will demonstrate how to set up the AWS keys with a credentials file:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;1. Create your credentials file&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Copy and paste the file &quot;credential-file-path.template&quot; that is in the unzipped directory.&lt;/li&gt;
&lt;li&gt;Rename it to &quot;credentials-&lt;b&gt;yourname&lt;/b&gt;.template&quot;&lt;/li&gt;
&lt;li&gt;Open the copied file and write in it: AWSAccessKeyId=&lt;b&gt;youaccesskey&lt;/b&gt;SecretKey=&lt;b&gt;yoursecuritykey&lt;/b&gt;. Note that there are no spaces.&lt;/li&gt;
&lt;li&gt;These two keys can be found in your AWS Management Console...&lt;/li&gt;
&lt;li&gt;Click on your username in the top-right corner and then click on My Account&lt;/li&gt;
&lt;li&gt;In the left navigation select &quot;Security Credentials&quot;&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/10_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;You will find the AWS Access Key and Secret Key on this page.&lt;/li&gt;
&lt;br /&gt;&lt;/ul&gt;
&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;2. Set up the environment variable to the credentials file&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Similarly to the steps above, add a new system environment variable with name &quot;AWS_CREDENTIAL_FILE&quot; and the value should be the path to the credentials file you created.&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/11_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3. Finally, to check you have set up everything properly:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Open command prompt and go to the directory where you unzipped the Auto Scaling tools.&lt;/li&gt;
&lt;li&gt;Go to the bin directory&lt;/li&gt;
&lt;li&gt;Type as-describe-auto-scaling-groups --headers and you should see a result be returned that is not an error.&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/12_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Set up CloudWatch command line&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Setting this up is extremely similar to setting up Auto Scaling.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;After you unzip the command line tools to a directory, go that that directory. Setting up the command line is described in the file README.TXT.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;There are quite a few pre-requisites to make this work, but the assumption for this guide is that you have the JAVA pre-requisites; you just need to set up the security keys to get the command line to work.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Here are the steps as per the README file:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;1. Ensure that JAVA version 1.5 or higher is installed on your system: (java -version) [Assumption is that this is set up]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;2. Unzip the deployment zip file [Assumption is that this is done]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3. Set the following environment variables:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3.1 AWS_CLOUDWATCH_HOME - The directory where the deployment files were copied to.&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;For Windows users to go: Start &amp;gt; right-click on My Computer &amp;gt; Properties&lt;/li&gt;
&lt;li&gt;Click on Change Settings&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/7_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Click on the Advanced tab and then Environment Variables&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/8_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Add a new system variable with name &quot;AWS_CLOUDWATCH_HOME&quot; and the value where you unzipped the directory (see screenshots from Auto Scaling steps).&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3.2 JAVA_HOME - Java Installation home directory [Assumption is that this is set up]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;4. Add &quot;%AWS_CLOUDWATCH_HOME%\bin&quot; to your path (Windows)&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Open the variable &quot;Path&quot; and add &quot;%AWS_CLOUDWATCH_HOME%\bin&quot; at the end of the value. Make sure you add &quot;;&quot; between values.&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Configuration of security keys; this guide will demonstrate how to set up the AWS keys with a credentials file:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;1. Create your credentials file&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Copy and paste the file &quot;credential-file-path.template&quot; that is in the unzipped directory.&lt;/li&gt;
&lt;li&gt;Rename it to &quot;credentials-&lt;b&gt;yourname&lt;/b&gt;.template&quot;&lt;/li&gt;
&lt;li&gt;Open the copied file and write in it: AWSAccessKeyId=&lt;b&gt;youaccesskey&lt;/b&gt;SecretKey=&lt;b&gt;yoursecuritykey&lt;/b&gt;. Note that there are no spaces.&lt;/li&gt;
&lt;li&gt;These two keys can be found in your AWS Management Console...&lt;/li&gt;
&lt;li&gt;Click on your username in the top-right corner and then click on My Account&lt;/li&gt;
&lt;li&gt;In the left navigation select &quot;Security Credentials&quot;&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;Set up AWS Auto Scaling Command Line&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/10_autoscalesetup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; display: block; height: auto; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;You will find the AWS Access Key and Secret Key on this page.&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;2. Set up the environment variable to the credentials file:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;If you set up the Auto Scaling tools then you have already done this step.... Add a new system environment variable with name &quot;AWS_CREDENTIAL_FILE&quot; and the value should be the path to the credentials file you created (see screenshots from Auto Scaling steps).&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;3. Finally, to check you have set up everything properly:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Open command prompt and go to the directory where you unzipped the CloudWatch tools.&lt;/li&gt;
&lt;li&gt;Go to the bin directory&lt;/li&gt;
&lt;li&gt;Type mon-list-metrics --headers and you should see a result be returned that is not an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Create new Launch Configuration&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The first step in creating an Auto Scaling group is to create a launch configuration for each new instance in the Auto Scaling Group.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;To create a launch configuration:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Go to the Auto Scaling Command Line Tools BIN directory.&lt;/li&gt;
&lt;li&gt;Use the command:&lt;div style=&quot;color: blue;&quot;&gt;
as-create-launch-config&amp;nbsp;&lt;b&gt;Launch Config Name&lt;/b&gt;&amp;nbsp;--image-id&amp;nbsp;&lt;b&gt;AMI ID&lt;/b&gt;&amp;nbsp;--instance-type&amp;nbsp;&lt;b&gt;Instance Size&lt;/b&gt;&amp;nbsp;--key&amp;nbsp;&lt;b&gt;Security Key&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;&lt;b&gt;Launch Config Name&lt;/b&gt;: This is the name that you want to give to the launch configuration.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;AMI ID&lt;/b&gt;: This is the ID of the existing AMI (which was a pre-requisite).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Instance Size&lt;/b&gt;: The size of each new instance, for example t1.micro. Sizes are listed&amp;nbsp;&lt;a href=&quot;http://aws.amazon.com/ec2/instance-types/&quot; style=&quot;color: #0088cc; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;(see the API names).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Security Key&lt;/b&gt;: The security key that should be applied to each new instance.&lt;/li&gt;
&lt;li&gt;Example: as-create-launch-config lc1 --image-id ami-12345678 --instance-type c1.xlarge --key securitykey1&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Create AWS Launch Configuration&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/13_createlaunchconfig.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The command can get much more detailed than the above, however as a start the above is sufficient.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Create new Auto Scaling Group&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The auto scaling group says which launch configuration to use, what region, and which load balancer.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;To create an auto scaling group:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Go to the Auto Scaling Command Line Tools BIN directory.&lt;/li&gt;
&lt;li&gt;Use the command:&lt;div style=&quot;color: blue;&quot;&gt;
as-create-auto-scaling-group&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--launch-configuration&amp;nbsp;&lt;b&gt;Launch Configuration Name&lt;/b&gt;&amp;nbsp;--availability-zones&amp;nbsp;&lt;b&gt;Availability Zones&lt;/b&gt;&amp;nbsp;--min-size&amp;nbsp;&lt;b&gt;Minimum size of group&lt;/b&gt;&amp;nbsp;--max-size&amp;nbsp;&lt;b&gt;Maximum size of group&lt;/b&gt;&amp;nbsp;--desired-capacity&amp;nbsp;&lt;b&gt;Starting desired capacity&lt;/b&gt;&amp;nbsp;--load-balancers&amp;nbsp;&lt;b&gt;Load Balancers to add each new instance to&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;: Name of the new auto scaling group.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Launch Configuration Name&lt;/b&gt;: Name of the launch configuration created previously.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Availability Zones&lt;/b&gt;: The availability zones of the new EC2 instances that will be created. The zones are&amp;nbsp;&lt;a href=&quot;http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#using-regions-availability-zones-api-overview&quot; style=&quot;color: #0088cc; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. The zones you select for your new EC2 instances should be allowed by the load balancer that will be used.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Minimum size of group&lt;/b&gt;: The minimum size of this group. If triggers get fired to reduce the size of the group, it will never go below this number.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Maximum size of group&lt;/b&gt;: The maximum size of this group. If triggers get fired to increase the size of the group, it will never go above this number.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Starting desired capacity&lt;/b&gt;: The number of EC2 instances to be started immediately.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Load Balancers to add each new instance to&lt;/b&gt;: The load balancers to which each new EC2 instance should be added.&lt;/li&gt;
&lt;li&gt;Example: as-create-auto-scaling-group as-group1 --launch-configuration lc1 --availability-zones us-east-1a --min-size 1 --max-size 50 --desired-capacity 1 --load-balancers lb1&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Create AWS Auto Scaling Group&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/14_creategroup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The command can get much more detailed than the above, however as a start the above is sufficient. After the above command runs, wait a few seconds and you should see new EC2 instances being created in your AWS Management Console. In the screenshot above the desired starting capacity was 1, therefore 1 new EC2 instance should start getting created.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;Create AWS Auto Scaling Group&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/15_creategroup.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Also make sure when you set this up that you test it - you need to make sure that each EC2 instance that is added to the Load Balancer is added and becomes &quot;InService&quot; in the load balancer. If it is &quot;OutOfService&quot; in the load balancer then the Health Check that the load balancer does is failing. This means that no requests will be routed to that EC2 instance.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Create per region&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Auto Scaling is region specific. Below is a screenshot of regions in which you can create EC2 instances, and consequently independent Auto Scaling Groups:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Regions&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/16_regions.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;b style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Therefore, if you want to have EC2 instances in 2 different regions, you need to create an Auto Scaling Group for each region (i.e. 2 Auto Scaling Groups).&lt;/b&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;To create Auto Scaling groups in different regions you need to add an extra parameter to the commands that you write. Every single command needs to have --region&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Region API Name&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;, for example --region&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;us-west-1&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The Launch Configuration creation command would be:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
as-create-launch-config lc1 --image-id ami-12345678 --instance-type c1.xlarge --key securitykey1&amp;nbsp;&lt;b&gt;--region us-west-1&lt;/b&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The Auto Scaling Group creation command would be:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
as-create-auto-scaling-group as-group1 --launch-configuration lc1 --availability-zones us-east-1a --min-size 1 --max-size 50 --desired-capacity 1 --load-balancers lb1 LoadBalancer&amp;nbsp;&lt;b&gt;--region us-west-1&lt;/b&gt;&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Create CloudWatch monitor to increase servers&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The next important steps is to add a CloudWatch monitor so that if something occurs (such as CPU usage is too high on an EC2 instance) then a new EC2 instance will spawn in an Auto Scaling Group automatically.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Thanks to&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.cardinalpath.com/autoscaling-your-website-with-amazon-web-services-part-2/&quot; style=&quot;background-color: white; color: #0088cc; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;CardinalPath&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;for the easy examples.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The steps are:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Go to the CloudWatch Command Line Tools BIN directory.&lt;/li&gt;
&lt;li&gt;Create a policy:&lt;div style=&quot;color: blue;&quot;&gt;
as-put-scaling-policy --auto-scaling-group&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--name&amp;nbsp;&lt;b&gt;Policy Name&lt;/b&gt;&amp;nbsp;--adjustment&amp;nbsp;&lt;b&gt;Number of Servers&lt;/b&gt;&amp;nbsp;--type ChangeInCapacity --cooldown 600&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;This command will increase the auto scaling group by &quot;Number of Servers&quot; and will not run this policy more than once in 600 seconds.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;: The name of the auto scaling group that will have another instance added.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Policy Name&lt;/b&gt;: The name of this new policy that you are creating.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Number of Servers&lt;/b&gt;: The number of servers that should be spawned when this policy executes.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The result of the above command will be an ID that looks like this: arn:aws:autoscaling:us-east-1:123123123123:scalingPolicy:aaa11aa2-11aa-1a11-1115-a111a111a111:autoScalingGroupName/AutoScaling:policyName/policy. Remember this.&lt;/li&gt;
&lt;li&gt;Create the alarm that should trigger the policy:&lt;div style=&quot;color: blue;&quot;&gt;
mon-put-metric-alarm &quot;&lt;b&gt;Policy Name&lt;/b&gt;&quot; --comparison-operator &quot;GreaterThanThreshold&quot; --evaluation-periods 3 --metric-name CPUUtilization --namespace AWS/EC2 --period 60 --statistic Average --threshold 70 --alarm-actions&amp;nbsp;&lt;b&gt;Policy Result&lt;/b&gt;&amp;nbsp;--dimensions &quot;InstanceId=&lt;b&gt;Instance ID to monitor&lt;/b&gt;&quot;&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;This command will create a monitor which when &quot;alarmed&quot; will trigger the policy specified. The parameters say the this should monitor the Average CPU Utilization of the EC2 instance for every 60 seconds. If in 3 such measurements it is greater than 70% then trigger the policy specified in the previous command.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Policy Name&lt;/b&gt;: The name of policy that you created with the previous command.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Policy Result&lt;/b&gt;: The ID that resulted from the previous command.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Instance ID to monitor&lt;/b&gt;: The command needs the ID of the EC2 instance for which it will monitor the CPU. This is usually the first instance in the auto scaling group.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Create CloudWatch monitor to decrease servers&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;In the previous step you set up EC2 instances to automatically get created. This step sets up CloudWatch monitors to terminate EC2 instances in an Auto Scaling group.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Thanks to&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.cardinalpath.com/autoscaling-your-website-with-amazon-web-services-part-2/&quot; style=&quot;background-color: white; color: #0088cc; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;CardinalPath&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&amp;nbsp;for the easy examples.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;The steps are:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Go to the CloudWatch Command Line Tools BIN directory.&lt;/li&gt;
&lt;li&gt;Create a policy:&lt;div style=&quot;color: blue;&quot;&gt;
as-put-scaling-policy --auto-scaling-group&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--name&amp;nbsp;&lt;b&gt;Policy Name&lt;/b&gt;&amp;nbsp;&quot;--adjustment=&lt;b&gt;-1&lt;/b&gt;&quot; --type ChangeInCapacity --cooldown 600&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;This command will decrease the auto scaling group by -1 and will not run this policy more than once in 600 seconds.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;: The name of the auto scaling group that will have an instance removed.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Policy Name&lt;/b&gt;: The name of this new policy that you are creating.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The result of the above command will be an ID that looks like this: arn:aws:autoscaling:us-east-1:123123123123:scalingPolicy:aaa11aa2-11aa-1a11-1115-a111a111a111:autoScalingGroupName/AutoScaling:policyName/policy. Remember this.&lt;/li&gt;
&lt;li&gt;Create the alarm that should trigger the policy:&lt;div style=&quot;color: blue;&quot;&gt;
mon-put-metric-alarm &quot;&lt;b&gt;Policy Name&lt;/b&gt;&quot; --comparison-operator &quot;LessThanThreshold&quot; --evaluation-periods 3 --metric-name CPUUtilization --namespace AWS/EC2 --period 60 --statistic Average --threshold 20 --alarm-actions&amp;nbsp;&lt;b&gt;Policy Result&lt;/b&gt;&amp;nbsp;--dimensions &quot;InstanceId=&lt;b&gt;Instance ID to monitor&lt;/b&gt;&quot;&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;This command will create a monitor which when &quot;alarmed&quot; will trigger the policy specified. The parameters say the this should monitor the Average CPU Utilization of the EC2 instance for every 60 seconds. If in 3 such measurements it is less than 20% then trigger the policy specified in the previous command.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Policy Name&lt;/b&gt;: The name of policy that you created with the previous command.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Policy Result&lt;/b&gt;: The ID that resulted from the previous command.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Instance ID to monitor&lt;/b&gt;: The command needs the ID of the EC2 instance for which it will monitor the CPU. This is usually the first instance in the auto scaling group.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Set Desired Capacity after creation&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;There are many commands in the Auto Scaling command line tool package that allow you to edit an Auto Scaling Group. One most common usage is editing the number of EC2 instances that should be live currently. This is called &quot;setting the desired capacity&quot;. To change the desired capacity do the following:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Go to the Auto Scaling Command Line Tools BIN directory.&lt;/li&gt;
&lt;li&gt;Use the command:&lt;div style=&quot;color: blue;&quot;&gt;
as-set-desired-capacity&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--desired-capacity&amp;nbsp;&lt;b&gt;Number of EC2 servers currently desired&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;: The name of the auto scaling group that you wish to edit.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Number of EC2 servers currently desired&lt;/b&gt;: A number specifying the number of EC2 servers you would like to be currently live&lt;/li&gt;
&lt;li&gt;Example: as-set-desired-capacity as-group1 --desired-capacity 2&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Auto Scaling Set Desired Capacity&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/17_capacity.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;You should see the changes take effect a few seconds later. With the above command my auto scaling group had 1 instance and the command just added a 2nd.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Auto Scaling Set Desired Capacity&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/18_capacity.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Monitoring your Auto Scaling Groups&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;There are a few ways to see how the Auto Scaling groups are doing in terms of health and status. The easiest is the following command:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Go to the Auto Scaling Command Line Tools BIN directory.&lt;/li&gt;
&lt;li&gt;Use the command:&lt;div style=&quot;color: blue;&quot;&gt;
as-describe-auto-scaling-groups --headers&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;This command will list all your Auto Scaling Groups for your default region (or you can specify the region parameter for another region), with headers, and it will also list all of the instances in that Auto Scaling Group.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Auto Scaling Describe Groups&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/19_describe.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; width=&quot;890px&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Monitoring your Instances&#39; health&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;There is no command line method to map Auto Scaling Groups and their instances to health information (such as CPU%) about the instances. You will need to remember or find out which EC2 instances make up your Auto Scaling Group and then check the health either through the AWS Management Console or using CloudWatch Command Line tools for those particular instances.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;For example, you will need to find each EC2 instance that makes up your Auto Scaling Group and then use AWS Management Console to check up on its health as in the screenshot below:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Monitor Auto Scaling and EC2 Instances or use CloudWatch&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/22_monitor.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; width=&quot;890px&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;On a side note, this is an area where EZAutoScaling is useful because it adds this mapping of EC2 Instances to Auto Scaling Groups and provides EC2 health information on one screen.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Delete Auto Scaling Groups and Launch Configurations&lt;/h2&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Deleting an Auto Scaling Group means first deleting the group (which terminates the EC2 instances of that group) and then deleting the Launch Configuration. If you have CloudWatch monitors attached, you can delete those separately through the AWS Management Console - they will simply stop monitoring and alerting. The steps to delete are:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Go to the Auto Scaling Command Line Tools BIN directory.&lt;/li&gt;
&lt;li&gt;Use the command:&lt;div style=&quot;color: blue;&quot;&gt;
as-delete-auto-scaling-group&amp;nbsp;&lt;b&gt;Name of Auto Scaling Group&lt;/b&gt;&amp;nbsp;--force-delete&lt;/div&gt;
&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;This deletes the group and forces the termination of EC2 instances.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Use the command:&lt;div style=&quot;color: blue;&quot;&gt;
as-delete-launch-config&amp;nbsp;&lt;b&gt;Launch Configuration Name&lt;/b&gt;&amp;nbsp;–force&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Auto Scaling Delete Auto Scaling Group and Launch Configuration&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/20_delete.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;You should soon see the EC2 instances being terminated.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;img alt=&quot;AWS Delete Auto Scaling Group terminates EC2 instances&quot; class=&quot;thumbnail&quot; src=&quot;https://www.ezautoscaling.com/images/guide/21_delete.png&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; -webkit-transition: all 0.2s ease-in-out; background-color: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.054902) 0px 1px 3px; color: #5a5a5a; display: block; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; height: auto; line-height: 20px; max-width: 100%; padding: 4px; transition: all 0.2s ease-in-out; vertical-align: middle;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 31.5px; font-weight: normal; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;&quot;&gt;
Summary&lt;/h2&gt;
&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Let&#39;s quickly summarize the steps and commands needed to auto scale:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;Make sure you have pre-requisites ready&lt;/li&gt;
&lt;li&gt;Install and setup Auto Scaling Command Line Tools&lt;/li&gt;
&lt;li&gt;Install and setup CloudWatch Command Line Tools&lt;/li&gt;
&lt;li&gt;Create new launch configuration:&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;as-create-launch-config&amp;nbsp;&lt;b&gt;Launch Config Name&lt;/b&gt;&amp;nbsp;--image-id&amp;nbsp;&lt;b&gt;AMI ID&lt;/b&gt;&amp;nbsp;--instance-type&amp;nbsp;&lt;b&gt;Instance Size&lt;/b&gt;&amp;nbsp;--key&amp;nbsp;&lt;b&gt;Security Key&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Create new auto scaling group:&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;as-create-auto-scaling-group&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--launch-configuration&amp;nbsp;&lt;b&gt;Launch Configuration Name&lt;/b&gt;&amp;nbsp;--availability-zones&amp;nbsp;&lt;b&gt;Availability Zones&lt;/b&gt;&amp;nbsp;--min-size&amp;nbsp;&lt;b&gt;Minimum size of group&lt;/b&gt;&amp;nbsp;--max-size&amp;nbsp;&lt;b&gt;Maximum size of group&lt;/b&gt;&amp;nbsp;--desired-capacity&amp;nbsp;&lt;b&gt;Starting desired capacity&lt;/b&gt;&amp;nbsp;--load-balancers&amp;nbsp;&lt;b&gt;Load Balancers to add each new instance to&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Create new CloudWatch monitor to scale up:&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;as-put-scaling-policy --auto-scaling-group&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--name&amp;nbsp;&lt;b&gt;Policy Name&lt;/b&gt;&amp;nbsp;--adjustment&amp;nbsp;&lt;b&gt;Number of Servers&lt;/b&gt;&amp;nbsp;--type ChangeInCapacity --cooldown 600&lt;/li&gt;
&lt;li&gt;mon-put-metric-alarm &quot;&lt;b&gt;Policy Name&lt;/b&gt;&quot; --comparison-operator &quot;GreaterThanThreshold&quot; --evaluation-periods 3 --metric-name CPUUtilization --namespace AWS/EC2 --period 60 --statistic Average --threshold 70 --alarm-actions&amp;nbsp;&lt;b&gt;Policy Result&lt;/b&gt;&amp;nbsp;--dimensions &quot;InstanceId=&lt;b&gt;Instance ID to monitor&lt;/b&gt;&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Create new CloudWatch monitor to scale down:&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;as-put-scaling-policy --auto-scaling-group&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--name&amp;nbsp;&lt;b&gt;Policy Name&lt;/b&gt;&amp;nbsp;&quot;--adjustment=&lt;b&gt;-1&lt;/b&gt;&quot; --type ChangeInCapacity --cooldown 600&lt;/li&gt;
&lt;li&gt;mon-put-metric-alarm &quot;&lt;b&gt;Policy Name&lt;/b&gt;&quot; --comparison-operator &quot;LessThanThreshold&quot; --evaluation-periods 3 --metric-name CPUUtilization --namespace AWS/EC2 --period 60 --statistic Average --threshold 20 --alarm-actions&amp;nbsp;&lt;b&gt;Policy Result&lt;/b&gt;&amp;nbsp;--dimensions &quot;InstanceId=&lt;b&gt;Instance ID to monitor&lt;/b&gt;&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Change desired capacity:&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;as-set-desired-capacity&amp;nbsp;&lt;b&gt;Auto Scaling Group Name&lt;/b&gt;&amp;nbsp;--desired-capacity&amp;nbsp;&lt;b&gt;Number of EC2 servers currently desired&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Delete auto scaling group:&lt;ul style=&quot;margin: 0px 0px 0px 25px; padding: 0px;&quot;&gt;
&lt;li&gt;as-delete-auto-scaling-group&amp;nbsp;&lt;b&gt;Name of Auto Scaling Group&lt;/b&gt;&amp;nbsp;--force-delete&lt;/li&gt;
&lt;li&gt;as-delete-launch-config&amp;nbsp;&lt;b&gt;Launch Configuration Name&lt;/b&gt;&amp;nbsp;–force&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #5a5a5a; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Or, don&#39;t bother with all of these commands and instead sign up for EZAutoScaling.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Resource: &amp;nbsp;https://www.ezautoscaling.com/AutoScalingGuide.aspx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2014/09/autoscalling-windows-servers-in-aws.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-9109035847887087262</guid><pubDate>Fri, 12 Sep 2014 11:11:00 +0000</pubDate><atom:updated>2014-09-12T04:11:25.244-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Powershell</category><category domain="http://www.blogger.com/atom/ns#">Windows 7</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>Unable to find a default server with Active Directory Web Services running</title><description>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.6); color: #555555; font-family: &#39;Port Lligat Sans&#39;, Helvetica, sans-serif; font-size: 16px; line-height: 25.6000003814697px;&quot;&gt;Install&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.6); border: 0px; color: #555555; font-family: &#39;Port Lligat Sans&#39;, Helvetica, sans-serif; font-size: 16px; line-height: 25.6000003814697px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.Net Framework 3.5 Sp1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Need to install hotfix: &amp;nbsp;&amp;nbsp;http://support.microsoft.com/kb/969429&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=20556&quot;&gt;http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=20556&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.6); color: #555555; font-family: &#39;Port Lligat Sans&#39;, Helvetica, sans-serif; font-size: 16px; line-height: 25.6000003814697px;&quot;&gt;Install Active directory management gateway service (Windows6.0-KB968934) from&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=2852&quot; style=&quot;-webkit-transition: 0.3s ease-in-out; background-color: rgba(255, 255, 255, 0.6); border: 0px; font-family: &#39;Port Lligat Sans&#39;, Helvetica, sans-serif; font-size: 16px; line-height: 25.6000003814697px; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; transition: 0.3s ease-in-out; vertical-align: baseline;&quot; target=&quot;_blank&quot; title=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=2852&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=2852&lt;/a&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.6); font-family: &#39;Port Lligat Sans&#39;, Helvetica, sans-serif; font-size: 16px; line-height: 25.6000003814697px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://dnrtips.blogspot.com/2014/09/unable-to-find-default-server-with.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-2090185688741090544</guid><pubDate>Fri, 05 Sep 2014 08:14:00 +0000</pubDate><atom:updated>2014-09-05T01:14:49.497-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Powershell</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>Create a list of local administrators with PowerShell</title><description>&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;1.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Create folder :&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Temp&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;2.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Save a text file with the name servers.txt and
add server names&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;3.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Create a .PS1 file with the name “ &lt;span class=&quot;crayon-r&quot;&gt;&lt;span style=&quot;background: white; font-family: &#39;Courier New&#39;; font-size: 9pt; line-height: 107%;&quot;&gt;Get-LocalGroupMembers&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span style=&quot;background: white; font-family: &#39;Courier New&#39;; font-size: 9pt; line-height: 107%;&quot;&gt;&lt;span style=&quot;height: inherit;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span style=&quot;background: white; font-family: &#39;Courier New&#39;; font-size: 9pt; line-height: 107%;&quot;&gt;&lt;span style=&quot;height: inherit;&quot;&gt;ps1&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;”with
below PowerShell code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
**********************************************************&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: darkgrey; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;[&lt;/span&gt;&lt;span style=&quot;color: deepskyblue; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;CmdletBinding&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;()&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: darkblue; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;Param&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: deepskyblue;&quot;&gt;Parameter&lt;/span&gt;(&amp;nbsp;&amp;nbsp;&amp;nbsp;
ValueFromPipeline&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$true&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ValueFromPipelineByPropertyName&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$true&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;[]]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$ComputerName&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$env:ComputerName&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: deepskyblue;&quot;&gt;Parameter&lt;/span&gt;()&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$LocalGroupName&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;Administrators&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: deepskyblue;&quot;&gt;Parameter&lt;/span&gt;()&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$OutputDir&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;c:\temp&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: darkblue; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;Begin&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$OutputFile&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Join-Path&lt;/span&gt;
&lt;span style=&quot;color: orangered;&quot;&gt;$OutputDir&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;LocalGroupMembers.csv&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-Verbose&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Script will write the output to &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$OutputFile&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;
folder&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Add-Content&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Path&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$OutPutFile&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Value&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;ComputerName,
LocalGroupName, Status, MemberType, MemberDomain, MemberName&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: darkblue; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;Process&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;ForEach&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt; &lt;span style=&quot;color: darkblue;&quot;&gt;in&lt;/span&gt;
&lt;span style=&quot;color: orangered;&quot;&gt;$ComputerName&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-host&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Working on &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;If&lt;/span&gt;(&lt;span style=&quot;color: darkgrey;&quot;&gt;!&lt;/span&gt;(&lt;span style=&quot;color: blue;&quot;&gt;Test-Connection&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-ComputerName&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Count&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: navy;&quot;&gt;-Quiet&lt;/span&gt;)) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-Verbose&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt; is offline. Proceeding with next computer&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Add-Content&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Path&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$OutputFile&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Value&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$LocalGroupName&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;,Offline&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;Continue&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;span style=&quot;color: darkblue;&quot;&gt;else&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-Verbose&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Working on &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;try&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$group&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;ADSI&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;WinNT://&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$LocalGroupName&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$members&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; @(&lt;span style=&quot;color: orangered;&quot;&gt;$group&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;Invoke(&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Members&quot;&lt;/span&gt;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-Verbose&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Successfully queries the members of &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: darkgrey;&quot;&gt;!&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$members&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Add-Content&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Path&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$OutputFile&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Value&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$LocalGroupName&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;,NoMembersFound&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-Verbose&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;No members found in the group&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;continue&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;catch&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-Verbose&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Failed to query the members of &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Add-Content&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Path&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$OutputFile&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Value&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;,,FailedToQuery&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;Continue&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;foreach&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$member&lt;/span&gt; &lt;span style=&quot;color: darkblue;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$members&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;try&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberName&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$member&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;GetType()&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;Invokemember(&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Name&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;GetProperty&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$null&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$member&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$null&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$member&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;GetType()&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;Invokemember(&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Class&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;GetProperty&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$null&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$member&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$null&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberPath&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$member&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;GetType()&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;Invokemember(&lt;span style=&quot;color: darkred;&quot;&gt;&quot;ADSPath&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;GetProperty&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$null&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$member&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$null&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberDomain&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$null&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$MemberPath&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;-match&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;^Winnt\:\/\/(?&lt;domainname&gt;\S+)\/(?&lt;compname&gt;\S+)\/&quot;&lt;/compname&gt;&lt;/domainname&gt;&lt;/span&gt;)
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: darkblue;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;-eq&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;User&quot;&lt;/span&gt;)
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;LocalUser&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;span style=&quot;color: darkblue;&quot;&gt;elseif&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;-eq&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;Group&quot;&lt;/span&gt;){&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;LocalGroup&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberDomain&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$matches&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;CompName&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;span style=&quot;color: darkblue;&quot;&gt;elseif&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$MemberPath&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;-match&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;^WinNT\:\/\/(?&lt;domainname&gt;\S+)/&quot;&lt;/domainname&gt;&lt;/span&gt;)
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: darkblue;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;-eq&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;User&quot;&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;DomainUser&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;span style=&quot;color: darkblue;&quot;&gt;elseif&lt;/span&gt;(&lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt;
&lt;span style=&quot;color: darkgrey;&quot;&gt;-eq&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;Group&quot;&lt;/span&gt;){&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;DomainGroup&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberDomain&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$matches&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;domainname&quot;&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;span style=&quot;color: darkblue;&quot;&gt;else&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;Unknown&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: orangered;&quot;&gt;$MemberDomain&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;Unknown&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Add-Content&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Path&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$OutPutFile&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Value&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$LocalGroupName&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;,
SUCCESS, &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$MemberType&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$MemberDomain&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$MemberName&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;span style=&quot;color: darkblue;&quot;&gt;catch&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Write-Verbose&lt;/span&gt;
&lt;span style=&quot;color: darkred;&quot;&gt;&quot;failed to query details of a member. Details &lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$_&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Add-Content&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Path&lt;/span&gt; &lt;span style=&quot;color: orangered;&quot;&gt;$OutputFile&lt;/span&gt;
&lt;span style=&quot;color: navy;&quot;&gt;-Value&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$Computer&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;,,FailedQueryMember&quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: darkblue; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Lucida Console&amp;quot;; font-size: 9.0pt; mso-bidi-font-family: &amp;quot;Lucida Console&amp;quot;;&quot;&gt; {} &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
***********************************************************&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;4.&lt;span style=&quot;font-size: 7pt; font-stretch: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Open PowerShell and point to &lt;span class=&quot;crayon-r&quot;&gt;&lt;span style=&quot;background: white; font-family: &#39;Courier New&#39;; font-size: 9pt; line-height: 107%;&quot;&gt;Get-LocalGroupMembers&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;&lt;span style=&quot;background: white; font-family: &#39;Courier New&#39;; font-size: 9pt; line-height: 107%;&quot;&gt;&lt;span style=&quot;height: inherit;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;&lt;span style=&quot;background: white; font-family: &#39;Courier New&#39;; font-size: 9pt; line-height: 107%;&quot;&gt;&lt;span style=&quot;height: inherit;&quot;&gt;ps1&lt;/span&gt; and
use&lt;/span&gt;&lt;/span&gt; below commands to get the results.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
.\Get-LocalGroupMembers.PS1 -ComputerName (Get-Content
C:\temp\servers.txt)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Results will be saved as CSV file and at C:\Temp with the
name “LocalGroupMembers.csv”&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;Source: &amp;nbsp;https://4sysops.com/archives/create-a-list-of-local-administrators-with-powershell/&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
</description><link>http://dnrtips.blogspot.com/2014/09/create-list-of-local-administrators.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-1914676961800324948</guid><pubDate>Thu, 04 Sep 2014 09:48:00 +0000</pubDate><atom:updated>2014-09-04T02:48:20.652-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SMTP</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>IIS Virtual SMTP</title><description>&lt;h1 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 26px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
SMTP Folders&lt;/h1&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
When you install the SMTP service it creates the following default folder structure in order to process mail:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140115161234.jpg&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;20140115161234&quot; class=&quot;alignnone size-full wp-image-1419&quot; height=&quot;233&quot; src=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140115161234.jpg&quot; style=&quot;border: 1px solid rgb(204, 204, 204); height: auto; margin-top: 0.4em; max-width: 97.4000015258789%; padding: 6px;&quot; width=&quot;385&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
As you can see from the screenshot above, the folder&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;C:\inetpub\mailroot\&lt;/strong&gt;contains 4 folders;&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Badmail&lt;/strong&gt;,&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Drop&lt;/strong&gt;,&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Pickup&lt;/strong&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Queue&lt;/strong&gt;. They are explained below in the order that messages are processed:&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Pickup&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The SMTP service will process messages in the Pickup folder as outbound messages and will attempt to deliver them. To demonstrate what happens when a message is placed in the Pickup folder, perform the following:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/strong&gt;.&amp;nbsp;Create a text file on your desktop called&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;email.txt&lt;/strong&gt;&amp;nbsp;and paste the following into it, remembering to change the email address information&amp;nbsp;to reflect your own details:&lt;/div&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  &quot; id=&quot;highlighter_675299&quot; style=&quot;background: none rgb(0, 0, 0) !important; border: 0px !important; bottom: auto !important; color: #373737; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 520.359375px;&quot;&gt;
&lt;div class=&quot;lines&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;From: blog@yourdomain.com&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot; style=&quot;background: none rgb(15, 15, 15) !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;To: email@yourdomain.com&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Subject: Email test&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot; style=&quot;background: none rgb(15, 15, 15) !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;This is the test body of the email&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt2&quot; style=&quot;background: none rgb(15, 15, 15) !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;.&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/strong&gt;. Save the changes to&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;email.txt&lt;/strong&gt;&amp;nbsp;and then copy the file to&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;C:\inetpub\mailroot\Pickup&lt;/strong&gt;. The SMTP server monitors this folder and when it detects the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;email.txt&lt;/strong&gt;&amp;nbsp;file, it will read the contents and&amp;nbsp;send the email to the address in the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;To:&lt;/strong&gt;&amp;nbsp;section. This should happen almost immediately.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/strong&gt;. Check the email address the email was sent to and it should arrive shortly – the email was sent to my Gmail account:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.vsysad.com/wp-content/uploads/2013/04/20130429184511.jpg&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;20130429184511&quot; class=&quot;alignnone size-full wp-image-1127&quot; height=&quot;151&quot; src=&quot;http://www.vsysad.com/wp-content/uploads/2013/04/20130429184511.jpg&quot; style=&quot;border: 1px solid rgb(204, 204, 204); height: auto; margin-top: 0.4em; max-width: 97.4000015258789%; padding: 6px;&quot; width=&quot;355&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
A quicker way and easier was of emulating the creation of messages in the Pickup folder is to run a PowerShell command that generates an email. Enter the command below, changing where appropriate the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-To&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-From&lt;/strong&gt;addresses:&lt;/div&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  &quot; id=&quot;highlighter_772246&quot; style=&quot;background: none rgb(0, 0, 0) !important; border: 0px !important; bottom: auto !important; color: #373737; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 520.359375px;&quot;&gt;
&lt;div class=&quot;lines&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;PS&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;C:\Users\admin&amp;gt; Send&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-MailMessage&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-SMTPServer&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;localhost&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-To&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;xxxxx@gmail.com&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-From&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;xxxxx@yourdomain.com&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-Subject&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;string&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 158, 123) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;This is a test email&quot;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-Body&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;string&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 158, 123) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Hi, this is a test email sent via PowerShell&quot;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Messages generally don’t build up in the Pickup folder, once detected the SMTP server will try to deliver them. If the&amp;nbsp;intended recipient&amp;nbsp;is a member of the local domain, the SMTP service will move the message to the Drop folder.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Drop&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Incoming messages intended for the local domain are placed in the Drop folder. It is very unlikely that you will require the use of the Drop folder in a real-world scenario. Messages in the Drop folder must be retrieved using an email client such as Outlook but also require POP3 server software to be installed in order to enable end-users to connect to and retrieve those messages in the Drop folder. Server 2003 had the option to install the POP3 service but this has since been deprecated on versions of Windows Server since then.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If you are seeing that messages that your applications generate are building up in the Drop folder then this will be most likely be caused by configuring the&amp;nbsp;default local domain to use your DNS domain namespace. The best way to illustrate this is to show you an example.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/strong&gt;. Currently my default local domain is configured with the name of my server, WEB1:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140116125230.jpg&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;20140116125230&quot; class=&quot;alignnone size-full wp-image-1423&quot; height=&quot;164&quot; src=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140116125230.jpg&quot; style=&quot;border: 1px solid rgb(204, 204, 204); height: auto; margin-top: 0.4em; max-width: 97.4000015258789%; padding: 6px;&quot; width=&quot;617&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2&lt;/strong&gt;. I use the PowerShell command below to send an email to&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;blog@vsysad.com&lt;/strong&gt;:&lt;/div&gt;
&lt;div class=&quot;syntaxhighlighter nogutter  &quot; id=&quot;highlighter_184641&quot; style=&quot;background: none rgb(0, 0, 0) !important; border: 0px !important; bottom: auto !important; color: #373737; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 15px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1em 0px !important; outline: 0px !important; padding: 1px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 520.359375px;&quot;&gt;
&lt;div class=&quot;lines&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line alt1&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;table style=&quot;background: none !important; border-collapse: collapse !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tbody style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background: none !important; border: 0px !important; bottom: auto !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;content&quot; style=&quot;background: none !important; border-bottom-width: 0px !important; border-left-style: none !important; border-right-width: 0px !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(185, 189, 182) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 0px 0px 0.5em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: top !important; width: auto !important;&quot;&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;PS&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;C:\Users\admin&amp;gt; Send&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-MailMessage&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-SMTPServer&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;localhost&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-To&lt;/code&gt;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;blog@vsysad.com&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-From&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;plain&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(211, 211, 211) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;admin@vsysad.com&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-Subject&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;string&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 158, 123) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;This is a test email&quot;&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;keyword&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(0, 255, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;-Body&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;string&quot; style=&quot;background: none !important; border: 0px !important; bottom: auto !important; color: rgb(255, 158, 123) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-stretch: normal; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;Hi, this is a test email sent via PowerShell&quot;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The message is subsequently placed in the Pickup folder and processed and routed through to the mail server that handles mail for the vsysad.com domain. This message is delivered successfully.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/strong&gt;. However, lets change the&amp;nbsp;default local domain to be vsysad.com per the below:&lt;br /&gt;&lt;a href=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140116115427.jpg&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;20140116115427&quot; class=&quot;alignnone size-full wp-image-1422&quot; height=&quot;167&quot; src=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140116115427.jpg&quot; style=&quot;border: 1px solid rgb(204, 204, 204); height: auto; margin-top: 0.4em; max-width: 97.4000015258789%; padding: 6px;&quot; width=&quot;619&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The vsysad.com DNS domain is now considered to be a local domain. If I were to use the same PowerShell command from step 2 above, the message will be processed per the usual method but will be placed the Drop folder:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140116130612.jpg&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;20140116130612&quot; class=&quot;alignnone size-full wp-image-1424&quot; height=&quot;154&quot; src=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140116130612.jpg&quot; style=&quot;border: 1px solid rgb(204, 204, 204); height: auto; margin-top: 0.4em; max-width: 97.4000015258789%; padding: 6px;&quot; width=&quot;618&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
The message will remain there until I use an email client to connect to the server via POP3 to download it. This will require 3rd party POP3 mail server software to enable this.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Queue&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Messages that cannot be delivered &amp;nbsp;immediately&amp;nbsp;are moved &amp;nbsp;from the Pickup folder to the Queue folder. The SMTP service will attempt repeatedly to deliver messages in the Queue folder. The number of times it will attempt to deliver the message is configured in the delivery tab, see below:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.vsysad.com/wp-content/uploads/2012/04/20120425083818.jpg&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-798&quot; height=&quot;453&quot; src=&quot;http://www.vsysad.com/wp-content/uploads/2012/04/20120425083818.jpg&quot; style=&quot;border: 1px solid rgb(204, 204, 204); height: auto; margin-top: 0.4em; max-width: 97.4000015258789%; padding: 6px;&quot; width=&quot;409&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
I have noticed that when delivering emails to domains such as Gmail and Yahoo for the first time, messages will remain in the Queue folder for some time while the SMTP server tries to re-deliver them.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Badmail&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Emails that could not be delivered to the intended recipient are left in the Badmail folder. After the number of attempts configured in the Delivery tab (see screenshot above) to deliver the message have not been successful, the message will be moved to the Badmail folder. Messages in the Badmail folder will remain there until&amp;nbsp;administrators diagnose the cause and implement a fix.&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Common causes of messages ending up in the Badmail folder are incorrect or invalid email addresses and DNS issues. Follow instructions in these posts to&lt;a href=&quot;http://www.vsysad.com/2012/05/testing-smtp-server-on-server-2008-r2/&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;verify DNS&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;http://www.vsysad.com/2013/10/testing-smtp-server-from-the-command-line/&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;successful mail routing&lt;/a&gt;&amp;nbsp;respectively.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Once messages are in the Badmail folder, they can be opened up in notepad and examined. Open up the corresponding&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.BAD&lt;/strong&gt;&amp;nbsp;file(s) which will reveal the reason for the message delivery failure. An example is below, whereby the message failed because the recipient’s email address was invalid:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140122005105.jpg&quot; style=&quot;border: 0px; color: #1982d1; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;20140122005105&quot; class=&quot;alignnone size-full wp-image-1463&quot; height=&quot;108&quot; src=&quot;http://www.vsysad.com/wp-content/uploads/2014/01/20140122005105.jpg&quot; style=&quot;border: 1px solid rgb(204, 204, 204); height: auto; margin-top: 0.4em; max-width: 97.4000015258789%; padding: 6px;&quot; width=&quot;524&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h1 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 26px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
SMTP Domains&lt;/h1&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
It is very important to clarify the distinction between a local domain and a remote domain within the SMTP settings. Choosing the wrong SMTP domain type will result in unintended results.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Local Domains&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
As stated in the Drop folder section above, a local domain is a DNS domain that is serviced by the local SMTP server. In my example, vsysad.com was the local default domain.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Messages that are received by an SMTP server that are destined for email addresses within the local domain will not be looked up in DNS, they will be dumped straight to the Drop folder. In the case of most environments the SMTP server is used simply to send mail and not to handle incoming mail for that domain. If this is the case for you, do NOT enable yout DNS domain as a local domain within the SMTP server.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You can specify local domains as either default or alias. There can only be one default domain. An alias domain is an alias of the default domain. If you add a new domain and configure it as the new default, the previous default changes to an alias domain.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; clear: both; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; margin: 0px 0px 0.8125em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Remote Domains&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Domains that are not designated as local are remote domains. The SMTP service looks up remote domains in DNS and will process the mail according to the settings configured for that&amp;nbsp;specific remote domain. For example, you can add a remote domain and require that the SMTP service always use Transport Layer Security (TLS) encryption in sessions with that domain, which is the case for Gmail.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
I hope this post demystifies the various SMTP folders and explains how mis-configuring the domain type can lead to unwanted messages in the Drop folder.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Original Link:http://www.vsysad.com/2014/01/iis-smtp-folders-and-domains-explained/&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 2em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://dnrtips.blogspot.com/2014/09/iis-virtual-smtp.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-6355901224418786491</guid><pubDate>Fri, 25 Jul 2014 06:20:00 +0000</pubDate><atom:updated>2014-07-24T23:21:07.223-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Networking</category><category domain="http://www.blogger.com/atom/ns#">Windows 8</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>Difference between Wins and DNS</title><description>&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 20px; line-height: 32px; margin-bottom: 15px; margin-top: 15px; outline: none; padding: 0px; text-align: justify;&quot;&gt;
1. WINS is platform dependent, whereas DNS is platform independent.&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 20px; line-height: 32px; margin-bottom: 15px; margin-top: 15px; outline: none; padding: 0px; text-align: justify;&quot;&gt;
2. WINS supports dynamic IP addresses, whereas DNS supports static IP addresses.&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 20px; line-height: 32px; margin-bottom: 15px; margin-top: 15px; outline: none; padding: 0px; text-align: justify;&quot;&gt;
3. WINS translates the NetBIOS names to IP addresses, while DNS translates host names to IP addresses.&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 20px; line-height: 32px; margin-bottom: 15px; margin-top: 15px; outline: none; padding: 0px; text-align: justify;&quot;&gt;
4. WINS supports incremental reproduction of the&amp;nbsp;data&amp;nbsp;for any modifications, while DNS copies the entire database.&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 20px; line-height: 32px; margin-bottom: 15px; margin-top: 15px; outline: none; padding: 0px; text-align: justify;&quot;&gt;
5. WINS does not support TCP/IP application services, whereas, DNS supports all TCP/IP application services.&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 20px; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;br style=&quot;margin: 0px; outline: none; padding: 0px;&quot; /&gt;&lt;br style=&quot;margin: 0px; outline: none; padding: 0px;&quot; /&gt;Source: &amp;nbsp;&lt;a href=&quot;http://www.differencebetween.net/technology/internet/difference-between-wins-and-dns/#ixzz38SUVnnEi&quot; style=&quot;color: #003399; margin: 0px; outline: none; padding: 0px;&quot;&gt;Difference Between WINS and DNS | Difference Between | WINS vs DNS&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.differencebetween.net/technology/internet/difference-between-wins-and-dns/#ixzz38SUVnnEi&quot; style=&quot;color: #003399; margin: 0px; outline: none; padding: 0px;&quot;&gt;http://www.differencebetween.net/technology/internet/difference-between-wins-and-dns/#ixzz38SUVnnEi&lt;/a&gt;&lt;/span&gt;</description><link>http://dnrtips.blogspot.com/2014/07/difference-between-wins-and-dns.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4238683598026825819.post-7935648669116413824</guid><pubDate>Thu, 24 Jul 2014 08:06:00 +0000</pubDate><atom:updated>2014-07-24T01:06:54.160-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AWS</category><category domain="http://www.blogger.com/atom/ns#">Chef</category><category domain="http://www.blogger.com/atom/ns#">Networking</category><category domain="http://www.blogger.com/atom/ns#">Windows Server</category><title>How To Simplify Your Data Center With Network Automation and Orchestration</title><description>&lt;script src=&quot;https://www.brighttalk.com/clients/js/embed/embed.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;object class=&quot;BrightTALKEmbed&quot; height=&quot;660&quot; width=&quot;705&quot;&gt;&lt;param name=&quot;player&quot; value=&quot;channel_player&quot;/&gt;&lt;param name=&quot;domain&quot; value=&quot;http://www.brighttalk.com&quot;/&gt;&lt;param name=&quot;channelid&quot; value=&quot;8711&quot;/&gt;&lt;param name=&quot;communicationid&quot; value=&quot;89861&quot;/&gt;&lt;param name=&quot;autoStart&quot; value=&quot;false&quot;/&gt;&lt;param name=&quot;theme&quot; value=&quot;&quot;/&gt;&lt;/object&gt;</description><link>http://dnrtips.blogspot.com/2014/07/how-to-simplify-your-data-center-with.html</link><author>noreply@blogger.com (DORNALA NAVEEN REDDY)</author><thr:total>0</thr:total></item></channel></rss>