<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='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'><id>tag:blogger.com,1999:blog-8157562771085324296</id><updated>2025-05-18T21:15:38.867-04:00</updated><category term="Lync"/><category term="Powershell"/><category term="Active Directory"/><category term="PHP"/><category term="SQL"/><category term="Webform"/><category term="Email"/><category term="Exchange"/><category term="HTML"/><category term="Lync Response Groups"/><category term="MySQL"/><category term="Networking"/><category term="CCNA"/><category term="Cisco"/><category term="DFS Cache"/><category term="Frame Relay"/><category term="Hyper-V"/><category term="Hypervisors"/><category term="Response Groups. Lync Response Groups"/><category term="SPN"/><category term="Starting Blog"/><category term="VMware"/><category term="XenServer"/><category term="copy"/><category term="keyboard"/><category term="paste"/><category term="shortcuts"/><category term="typing"/><title type='text'>Bob Ausmus</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-3265982990765285768</id><published>2014-06-25T13:45:00.006-04:00</published><updated>2014-06-25T13:48:44.698-04:00</updated><title type='text'>Scripting Office 365 and DirSync Replication</title><content type='html'>&lt;div style=&quot;margin-bottom: 9pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #444444; font-size: 10.5pt;&quot;&gt;If you are running the
new version of DirSync, you probably noticed that the &quot;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;DirSyncConfigShell.psc1&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #444444; font-size: 10.5pt;&quot;&gt;&quot; file is missing. They have also
changed the way your start a sync. The new way (documented here: &lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/18429.microsoft-azure-active-directory-sync-tool-version-release-history.aspx&quot;&gt;Click Me&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #444444; font-size: 10.5pt;&quot;&gt;) you have to
import the module, then run the command. Well, I attempted to run this remotely
on my desktop and it just hung every time. Here is what I was running:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; margin-bottom: 9pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Invoke-Command -ComputerName
SERVER -ScriptBlock { import-module dirsync; Start-OnlineCoexistenceSync }&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; font-size: 10.5pt; margin-bottom: 9pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;Then, with the help of a friend
at &lt;/span&gt;&lt;a href=&quot;http://powershell.org/&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;http://powershell.org&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt; he reminded me to turn on -verbose so that I could
see exactly what the PowerShell was doing. I found that when importing the
module, it was attempting to dot-source a file named .\importmodules.ps1 put
there by DirSync. Ok, now what is wrong with that file? So I cracked it open
and ran each command, one at a time, in a ISE environment and found that it was
attempting to run with .net 4.0 and since I had .net 2.0 on my PowerShell
window (by default), it was hanging. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #444444; font-size: 10.5pt; margin-bottom: 9pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Georgia, Times New Roman, serif;&quot;&gt;Whew… ok now let&#39;s find a way to
change the PowerShell window to get it to run .net 4.0 for this command. Here
is what I came up with:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;reg add hklm\software\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;reg add hklm\software\wow6432node\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Invoke-Command -ComputerName SERVER -ScriptBlock { import-module dirsync -verbose; Start-OnlineCoexistenceSync }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;reg delete hklm\software\microsoft\.netframework /v OnlyUseLatestCLR /f&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;reg delete hklm\software\wow6432node\microsoft\.netframework /v OnlyUseLatestCLR /f&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 11pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;So I through that
into my script and BAM it started working again. Thanks to all the people
online (twitter, reddit, etc…) for your help. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;b&gt;&lt;u&gt;References:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: #595959; font-family: Calibri; font-size: 9.0pt; margin: 0in;&quot;&gt;
PowerShell.org
&lt;a href=&quot;http://powershell.org/wp/forums/topic/new-dirsync-module/#post-16522&quot;&gt;http://powershell.org/wp/forums/topic/new-dirsync-module/#post-16522&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
TechNet &lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/18429.microsoft-azure-active-directory-sync-tool-version-release-history.aspx&quot;&gt;http://social.technet.microsoft.com/wiki/contents/articles/18429.microsoft-azure-active-directory-sync-tool-version-release-history.aspx&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/3265982990765285768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2014/06/scripting-office-365-and-dirsync.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/3265982990765285768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/3265982990765285768'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2014/06/scripting-office-365-and-dirsync.html' title='Scripting Office 365 and DirSync Replication'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-7764372102179947146</id><published>2013-10-18T14:11:00.002-04:00</published><updated>2013-10-18T14:22:24.958-04:00</updated><title type='text'>Migrate users from on-prem Exchange server to Office 365</title><content type='html'>Moving users one at a time through the EMC was getting super old so I decided to write a script for it to speed it up. Below is the script that I use to migrate a user from the on-prem Exchange 2010 server to Office 365:&lt;br /&gt;
&lt;br /&gt;
A couple of notes on what the script is doing:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;- You will need to edit the lines in the &quot;Declaring the variables&quot; section to fit your environment&lt;br /&gt;
&amp;nbsp;- Pay attention to the help file at the beginning of the script on how to run the script&lt;br /&gt;
&amp;nbsp;- The first thing the script will do is prompt you TWICE for credentials.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Once for Exchange on-prem server (LDAP)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Second for Microsoft Online (Office 365)&lt;br /&gt;
&amp;nbsp;- Next it will load all the modules/snapins that you will need during this script&lt;br /&gt;
&amp;nbsp;- Starting the script:&lt;br /&gt;
&lt;br /&gt;
1. First thing that we are going to do is disable Unified Messaging (UM) on the on-prem Exchange server. You can&#39;t migrate a user while UM is enabled.&lt;br /&gt;
2. License the user in Office 365&lt;br /&gt;
3. Set the location for the user to US in Office 365&lt;br /&gt;
4. Connect to Microsoft Exchange Online with a new session&lt;br /&gt;
5. Create the move request for the user from on-prem to Office 365&lt;br /&gt;
6. Sends a conformation email to you once the move has been scheduled.&lt;br /&gt;
&lt;br /&gt;
Here is the script:&lt;br /&gt;
(&lt;u&gt;quick note:&lt;/u&gt; to run this in bulk, just throw in a FOREACH loop in there before the license part)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# **************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# ******** NOTES / Help File ***********&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# **************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;lt;#&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;.SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;To migrate users one at a time from on-prem Exchange to Office 365&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;.DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;This script will migrate one user at a time to Office 365.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;It will disable Unified messaging on the local Exchange server,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;then migrate the user to Office 365. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;.EXAMPLE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SingleUserO365migrate.ps1 -UPN username@domain.com -ext 1234&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;.NOTES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Assumptions - This script is being ran from a server that has&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;the following PowerShell modules installed:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; Exchange 2010 / AD / Microsoft Online / Quest AD&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;The parameters that you will need to include in the script are:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; - UPN = The Users EMAIL address&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; - ext = The phone ext of the user that you are migrating&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;.LINK&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Script developed by Bob Ausmus (http://bobausmus.blogspot.com)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#************* Parameters *************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Param(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;[parameter(Mandatory=$true)][String]$UPN,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; [parameter(Mandatory=$false)][String]$ext,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;[parameter(Mandatory=$false)][String]$officelocation&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#*******Declaring the variables********&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#License to be used is $License&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$license = &quot;&amp;lt;License pack of your Office 365 License&amp;gt;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#On Premises CAS Server is: $OnPremCas&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$OnPremCas = &quot;&amp;lt;URL of your OWA from On-Prem Exchange Server&amp;gt;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#Target Delivery Domain is: $TargetDeliveryDom&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$TargetDeliverydom = &quot;&amp;lt;URL of your Office 365 domain&amp;gt;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#Getting the username of the user that is running the script&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$curuser = $env:username&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#Creditials for on-prem Exchange Server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$onpremcred = $host.ui.PromptForCredential(&quot;Domain Login&quot;, &quot;Please enter your LDAP username and password&quot;, &quot;DOMAIN\$curuser&quot;, &quot;&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Get Local Users Creditials for MS Online&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$cred = $host.ui.PromptForCredential(&quot;Microsoft Online Login&quot;, &quot;Please enter your email address and password&quot;, &quot;$curuser@domain.com&quot;, &quot;&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Setting the name of your Exchange Server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$exchangeserver = &amp;lt;insert name of your Exchange server here&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Setting for email report&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$ToEmail = &quot;to@domain.com&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$FromEmail = &quot;from@domain.com&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$Subject = &quot;Subject for email&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$smtpserver = &quot;mail.domain.com&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#***********Helper Functions***********&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Countdown Function&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;function CountDown($waitMinutes) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; $startTime = get-date&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; $endTime &amp;nbsp; = $startTime.addMinutes($waitMinutes)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; $timeSpan = new-timespan $startTime $endTime&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; write-host &quot;`nSleeping for $waitMinutes minutes...&quot; -backgroundcolor black -foregroundcolor green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; while ($timeSpan -gt 0) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $timeSpan = new-timespan $(get-date) $endTime&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write-host &quot;`r&quot;.padright(40,&quot; &quot;) -nonewline&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write-host $([string]::Format(&quot;`rTime Remaining: {0:d2}:{1:d2}:{2:d2}&quot;, `&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $timeSpan.hours, `&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $timeSpan.minutes, `&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $timeSpan.seconds)) `&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -nonewline -backgroundcolor black -foregroundcolor green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sleep 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; write-host &quot;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cls&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#*************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#*****Checking PowerShell Modules******&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Inserting some blank lines to make the script prettier&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Exchange Module Check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Checking to see if the Exchange Management PowerShell is installed&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;if ((get-pssnapin -name Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;Microsoft.Exchange.Management.PowerShell.E2010&quot;)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Exchange Management PowerShell is not added to this session, adding it now...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;. $env:ExchangeInstallPath\bin\RemoteExchange.ps1&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Connect-ExchangeServer $exchangeserver -AllowClobber&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Exchange Management PowerShell is good to go. -backgroundcolor black -foregroundcolor green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;start-sleep -s 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# AD Module Check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Checking to see if the Active Directory PowerShell module is installed&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;if ((get-module -name ActiveDirectory -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;ActiveDirectory&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host ActiveDirectory Management PowerShell is not added to this session, adding it now...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;import-module activedirectory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Active Directory PowerShell module is good to go. -backgroundcolor black -foregroundcolor green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;start-sleep -s 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Microsoft Online Module Check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Checking to see if the Microsoft Online PowerShell module is installed&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;if ((get-module -name MSOnline -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;MSOnline&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Microsoft Online Management PowerShell is not added to this session, adding it now...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;import-module MSOnline&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;connect-msolservice -credential $cred&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Microsoft Online PowerShell module is good to go. -backgroundcolor black -foregroundcolor green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;start-sleep -s 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Quest AD Module Check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Checking to see if the Quest AD PowerShell module is installed&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# &amp;lt;old&amp;gt; if (Get-PSSnapin | where {$_.Name -eq &quot;Quest.ActiveRoles.ADManagement&quot;})&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;if ((get-pssnapin -name Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;Quest.ActiveRoles.ADManagement&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Quest AD Management PowerShell is not added to this session, adding it now...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Quest AD PowerShell module is good to go. -backgroundcolor black -foregroundcolor green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;start-sleep -s 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#*********Starting the script**********&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#**************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Disabling UM for $UPN&quot; -backgroundcolor cyan -foregroundcolor black&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$User = $UPN -replace &quot;@domain.com&quot;, &quot;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Disable-UMMailbox -Identity $User -Confirm:$false&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Enable License and Location in MS Online Office 365&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Setting the location for the user in Office 365 to be &quot;United States&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Setting Usage Location for $UPN to United States&quot; -backgroundcolor cyan -foregroundcolor black&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;if (get-msoluser -UserPrincipalName $UPN | where {$_.UsageLocation -ne &quot;US&quot;})&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host Setting the location for $UPN to US&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;set-msoluser -userprincipalname $UPN -usagelocation US&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-host &quot;The location is already set to US, skipping this step&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;start-sleep -s 2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Setting the License for the user to be the proper license in Office 365&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; write-host &quot;Setting License for $UPN to $license&quot; -backgroundcolor cyan -foregroundcolor black&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if (get-msoluser -UserPrincipalName $UPN | where {$_.isLicensed -ne &quot;True&quot;})&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write-host Setting the License in Office 365 for $UPN&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set-msoluserlicense -UserPrincipalName $UPN -Addlicenses $license&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write-host $UPN already has the $license set, skipping this step&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; start-sleep -s 2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Connecting to the Microsoft Online Exchange Server(s)&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# Enabling UM on the mailbox in Office 365 Exchange Environment&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic -AllowRedirection&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;import-pssession $session -prefix o365&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;Creating Mailbox Move Request for $UPN&quot; -backgroundcolor cyan -foregroundcolor black&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;new-o365moverequest -Identity $UPN -Remote -RemoteHostName $OnPremCas -RemoteCredential $onpremcred -TargetDeliveryDomain $TargetDeliveryDom -BadItemLimit 100 -LargeItemLimit 49&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Send-MailMessage -To $ToEmail -From $FromEmail -Subject $Subject -SmtpServer $smtpserver -body &quot;$UPN is being moved to Office 365. They are in $officelocation.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;exit-pssession&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;write-host &quot;**** The script is complete ****&quot; &amp;nbsp;-backgroundcolor green -foregroundcolor black&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# *****************************************************************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# ****************THIS IS THE BOTTOM OF THE SCRIPT*****************&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# *****************************************************************&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/7764372102179947146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/10/migrate-users-from-on-prem-exchange.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7764372102179947146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7764372102179947146'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/10/migrate-users-from-on-prem-exchange.html' title='Migrate users from on-prem Exchange server to Office 365'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-6501557293908132508</id><published>2013-10-18T11:28:00.001-04:00</published><updated>2013-10-18T11:28:34.305-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Exchange"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>PowerShell Module and SnapIn Checks</title><content type='html'>One of the companies that I do a lot of work for uses Office 365 and everything they do is in bulk. Going through the portal to do anything is time consuming for everyone so I have been writing PowerShell scripts to automate as much as possible. The most common thing that I found is that I have to load the following modules and snapin&#39;s almost every time I run a script or a command. So rather than opening up several PowerShell windows to accomplish this task, I just load all the modules in the one window and proceed from there.&lt;br /&gt;&lt;br /&gt;Here is the script that I put in place for loading all the modules for the following products:&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Exchange 2010&lt;/div&gt;
&lt;div&gt;
- Active Directory&lt;/div&gt;
&lt;div&gt;
- MS Online (Office 365)&lt;/div&gt;
&lt;div&gt;
- Quest AD Tools&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The script does a check first to see if you have the module/snapin already loaded. If so, then it will skip to the next one. If not, then it will load the module/snapin.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;# Exchange Module Check&lt;br /&gt;write-host &quot;Checking to see if the Exchange Management PowerShell is installed&quot;&lt;br /&gt;if ((get-pssnapin -name Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;Microsoft.Exchange.Management.PowerShell.E2010&quot;)&lt;br /&gt;{&lt;br /&gt;write-host Exchange Management PowerShell is not added to this session, adding it now...&lt;br /&gt;Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;write-host Exchange Management PowerShell is good to go. -backgroundcolor black -foregroundcolor green&lt;br /&gt;start-sleep -s 1&lt;br /&gt;}&lt;br /&gt;write-host&lt;br /&gt;write-host&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;# AD Module Check&lt;br /&gt;write-host &quot;Checking to see if the Active Directory PowerShell module is installed&quot;&lt;br /&gt;if ((get-module -name ActiveDirectory -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;ActiveDirectory&quot;)&lt;br /&gt;{&lt;br /&gt;write-host ActiveDirectory Management PowerShell is not added to this session, adding it now...&lt;br /&gt;import-module activedirectory&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;write-host Active Directory PowerShell module is good to go. -backgroundcolor black -foregroundcolor green&lt;br /&gt;start-sleep -s 1&lt;br /&gt;}&lt;br /&gt;write-host&lt;br /&gt;write-host&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;# Microsoft Online Module Check&lt;br /&gt;write-host &quot;Checking to see if the Microsoft Online PowerShell module is installed&quot;&lt;br /&gt;if ((get-module -name MSOnline -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;MSOnline&quot;)&lt;br /&gt;{&lt;br /&gt;write-host Microsoft Online Management PowerShell is not added to this session, adding it now...&lt;br /&gt;import-module MSOnline&lt;br /&gt;connect-msolservice -credential&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;write-host Microsoft Online PowerShell module is good to go. -backgroundcolor black -foregroundcolor green&lt;br /&gt;start-sleep -s 1&lt;br /&gt;}&lt;br /&gt;write-host&lt;br /&gt;write-host&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;# Quest AD Module Check&lt;br /&gt;write-host &quot;Checking to see if the Quest AD PowerShell module is installed&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;if ((get-pssnapin -name Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue | foreach { $_.Name }) -ne &quot;Quest.ActiveRoles.ADManagement&quot;)&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;{&lt;br /&gt;write-host Quest AD Management PowerShell is not added to this session, adding it now...&lt;br /&gt;Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;write-host Quest AD PowerShell module is good to go. -backgroundcolor black -foregroundcolor green&lt;br /&gt;start-sleep -s 1&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/6501557293908132508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/10/powershell-module-and-snapin-checks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/6501557293908132508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/6501557293908132508'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/10/powershell-module-and-snapin-checks.html' title='PowerShell Module and SnapIn Checks'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-4773645789602106780</id><published>2013-04-01T15:14:00.000-04:00</published><updated>2013-04-01T15:22:50.920-04:00</updated><title type='text'>Script: Query AD for when users last changed their passwords</title><content type='html'>I ran into a challenging question today... My manager asked if I could get a report of all the users and when they changed their password. I knew I could get this via &quot;DSGET and DSQUERY&quot; but I wanted to force myself to use PowerShell. So here is the quick little script that I wrote that will do just that...&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Assumptions:&amp;nbsp; &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
- You already have a TXT file on your computer that has a list of usernames for all the accounts&lt;br /&gt;
- You run these commands on a domain controller or a computer with the remote administration tools installed (to get the AD Module for PowerShell)&lt;br /&gt;
&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;
&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;
&lt;u&gt;&lt;b&gt;The Script:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Import-module activedirectory&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
$ErrorActionPreference=&quot;SilentlyContinue&quot;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Stop-Transcript
| out-null&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
$ErrorActionPreference
= &quot;Continue&quot;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Start-Transcript
-path C:\output.txt -append&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
$list =
get-content c:\&amp;lt;path to the TXT file with your users in it&amp;gt;\users.txt&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Foreach
($username in $list) {get-aduser -id $username -Properties passwordlastset
|select-object -property name,enabled,passwordlastset} &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; margin: 0in;&quot;&gt;
Stop-Transcript&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Notes:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
The &quot;Start-Transcript&quot; and &quot;Stop-Transcript&quot;enable you to get the output in a TXT file so you can import it in excel for later use and manipulation. &lt;br /&gt;
&lt;br /&gt;
Good luck!!!</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/4773645789602106780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/04/script-query-ad-for-when-users-last.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4773645789602106780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4773645789602106780'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/04/script-query-ad-for-when-users-last.html' title='Script: Query AD for when users last changed their passwords'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-3678541838534336180</id><published>2013-04-01T09:00:00.000-04:00</published><updated>2013-04-01T09:00:02.741-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hyper-V"/><category scheme="http://www.blogger.com/atom/ns#" term="Hypervisors"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><category scheme="http://www.blogger.com/atom/ns#" term="XenServer"/><title type='text'>My road to Hyper-V</title><content type='html'>Here I wanted to track my road to learning Microsoft Hyper-V.&lt;br /&gt;
&lt;br /&gt;
Background:&lt;br /&gt;
I have worked with HyperVisors a lot in the past.&lt;br /&gt;
&lt;br /&gt;
- Big fan of VMware ESX&lt;br /&gt;
- XenServer is ok (but only have ran Windows on it)&lt;br /&gt;
- Hyper-V is a new player to the market.&lt;br /&gt;
&lt;br /&gt;
Microsoft Virtual Server 2005 was.... horrible. Just horrible. I really gave it it&#39;s fair shake but... no. Hyper-V 1 was, eh, ok. Worlds better than before but &quot;Quick Migration&quot; was the killer that kept it out of the enterprise. Hyper-V 2 was much better than 1. &quot;Live Migration&quot; means that it is now a contender for the enterprise market, however it still wasn&#39;t 100% there for management.&lt;br /&gt;
&lt;br /&gt;
That brings us to Hyper-V 3. From what&amp;nbsp; have read and seen.... this version hit it out of the park. I love the management aspect of it now that it is MUCH cheaper (and from what I hear will manage vCenter as well).&lt;br /&gt;
&lt;br /&gt;
I am going to concentrate a series of blog post related to what I learn in relation to Hyper-V 3. If you have any suggestions of where to look, gotcha&#39;s, examples, etc... please let me know.</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/3678541838534336180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/04/my-road-to-hyper-v.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/3678541838534336180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/3678541838534336180'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/04/my-road-to-hyper-v.html' title='My road to Hyper-V'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-2224617219626717788</id><published>2013-03-11T09:00:00.000-04:00</published><updated>2013-03-11T09:00:08.240-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lync"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>Making &quot;Lync Call&quot; default</title><content type='html'>I just finished installing Lync server 2010 at work and noticed that the &quot;click to call&quot; feature on the client was not making a &quot;lync call&quot; the default for everyone. This is controlled in the CsClientPolicy for users. Here is the Powershell command to change it:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-CsClientPolicy -EnableVOIPCallDefault $True&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
More information on the full set of options and parameters can be found here: &lt;a href=&quot;http://technet.microsoft.com/en-us/library/gg398300.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/gg398300.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/2224617219626717788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/03/making-lync-call-default.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/2224617219626717788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/2224617219626717788'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/03/making-lync-call-default.html' title='Making &quot;Lync Call&quot; default'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-4472891281464815845</id><published>2013-03-04T09:35:00.001-05:00</published><updated>2013-03-04T09:35:11.814-05:00</updated><title type='text'>Favorite Tools to stress-test a connection</title><content type='html'>Recently at work I turned up a new Metro connection between two locations. Once it was up, I was asked how I verified that indeed I was getting the full 100mb/s that we were paying for. I had to find a tool that would &quot;stress-test&quot; the connection to it&#39;s max to prove that it was working.&lt;br /&gt;
&lt;br /&gt;
Here are two of the tools that I used and how I used them:&lt;br /&gt;
&lt;br /&gt;
First tool is: &quot;iperf&quot;&amp;nbsp; (&lt;a href=&quot;http://en.wikipedia.org/wiki/Iperf&quot;&gt;http://en.wikipedia.org/wiki/Iperf&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
Great little tool that just works. Tons of options but basically you put it on a laptop at both ends of the connection. One is the client and one is the server. You turn on the server with this command from the command prompt:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iperf -s&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Yup, it&#39;s that simple. Then take the other laptop to the other end of the connection and type this command from the command prompt:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iperf -c &amp;lt;ip address of the server&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Again, it&#39;s that simple. The client will contact the server and will run as fast as it can flooding the connection. Once it&#39;s done, you will get a report that shows how long it took to send the packets and the max throughput. Great tool, especially for contractors to prove that everything is working.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Second tool is &quot;Pathtest&quot; (&lt;a href=&quot;http://www.testmypath.com/&quot;&gt;http://www.testmypath.com&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
This is very similar in the way it works to iperf. Same setup as before, just replace the &quot;iperf&quot; with &quot;pathtest&quot; in the commands. The reason I like this one is the report/output is a little neater and easier for none-techie people (like the CFO) to read and understand. They like seeing reports with neat graphs and Pathtest gives them that.&lt;br /&gt;
&lt;br /&gt;
Both tools are ran from the command prompt. The easiest way to open the command prompt is to following these steps:&lt;br /&gt;
&lt;br /&gt;
1. Press and hold the &quot;Windows key&quot; (usually located just left of the space bar) and then press &quot;r&quot;&lt;br /&gt;
2. Type in the RUN box the following:&amp;nbsp; cmd&lt;br /&gt;
3. Press enter (or click OK)&lt;br /&gt;
4. This will bring up a black box. That is the command prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck and I hope this helps next time you need to prove to the bean counters that you are getting what they are paying for. </content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/4472891281464815845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/03/favorite-tools-to-stress-test-connection.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4472891281464815845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4472891281464815845'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/03/favorite-tools-to-stress-test-connection.html' title='Favorite Tools to stress-test a connection'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-4525949935587327940</id><published>2013-02-12T13:55:00.002-05:00</published><updated>2013-02-12T13:57:50.545-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Exchange"/><category scheme="http://www.blogger.com/atom/ns#" term="Lync"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>Powershell script to make a Lync 2010 &quot;Hunt Group&quot; from scratch</title><content type='html'>I am really trying to beef up on my Powershell so I decided to make a script that would make a Lync 2010 Hunt Group. There was a challenge that I had where I was required to make (10) Hunt Groups workflows, queues, and groups. They were to be the same settings, just different users and phone numbers. The thought of going through all the wizards for all the settings just made me want to cry, so I decided to put the big boy pants on and learn how to do this via Powershell. Here goes....&lt;br /&gt;
&lt;br /&gt;
Let&#39;s start by identifying what systems we will need to touch.&lt;br /&gt;
&lt;br /&gt;
- Exchange server for creating the users and voicemail Unified Messaging (UM)&lt;br /&gt;
- Domain Controller for setting the &#39;telephone&#39; option in the users account attributes&lt;br /&gt;
- Lync server for creating the users, worflow, queues, and groups. &lt;br /&gt;
&lt;br /&gt;
Now that we know the systems, let declare the order of operations.&lt;br /&gt;
&lt;br /&gt;
1st - Exchange to create the user account ONLY. Voicemail will come later.&lt;br /&gt;
2nd - Domain Controller - telephone attribute&lt;br /&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;gt; This is necessary as Exchange uses this information to assign the SIP URI in the next step&lt;br /&gt;
3rd - Exchange - enable the voicemail (UM)&lt;br /&gt;
4th - Lync to finish the script&lt;br /&gt;
&lt;br /&gt;
Since we know the order of operations, let&#39;s dive into the script. I found that Powershell is much like PHP in the fact that you are 
declare variables in the beginning to use later. One gotcha here is that
 you can&#39;t call variables that haven&#39;t been created yet (hard lesson 
learned here - more to come about that). Here are the variables that I used:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetNumber = &#39;1&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetName = &#39;Johnny Smith&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetAlias = &#39;jsmith&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetUserPrincipalName = &#39;jsmith@domain.local&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetSAMAccountName = &#39;jsmith&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetFirstName = &#39;Johnny&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetLastName = &#39;Smith&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetPassword = &#39;Password&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetDBStore = &#39;DatabaseStore01&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $Telephone = &#39;8005551212&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SIPResourceID = $SetAlias + &#39;@domain.local&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $SetInboxPermission = $SetAlias + &#39;:\inbox&#39;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This is a good time to go ahead and run the commands. They are a little confusing and overwhelming at first look, but I think if you read the command, you will really see the variables in there and it will make sense:&lt;br /&gt;
&lt;br /&gt;
From the Exchange server:&lt;br /&gt;
&lt;br /&gt;
Command: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;New-Mailbox -Name $SetName -Alias $SetAlias -OrganizationalUnit &#39;domain.local/OU/CHILD_OU&#39; -UserPrincipalName $SetUserPrincipalName -SamAccountName $SetSAMAccountName -FirstName $SetFirstName -Initials &#39;&#39; -LastName $SetLastName -ResetPasswordOnNextLogon $false -Database $SetDBStore&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
From the Domain Controller (NOTE: We have to declare the &quot;$SetAlias&quot; again as we jumped to a new server):&lt;br /&gt;
&lt;br /&gt;
Variable:&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; $SetAlias = &#39;jsmith&#39;&lt;/span&gt;&lt;br /&gt;
Command:&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; Set-ADuser -id $SetAlias -officephone $Telephone&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the Exchange Server (don&#39;t have to declare the variables as we already have them):&lt;br /&gt;
&lt;br /&gt;
Command:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Enable-UMMailbox -Identity $SetName -UMMailboxPolicy &quot;UMDefault Default Policy&quot; -SIPResourceIdentifier $SIPResourceID&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
***EXTRA BONUS COMMAND***&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I like to set the permissions on the user to allow for everyone to be able to view their mailbox. IMO, this just saves headaches in the future of you allowing users specifically. Here are the commands:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; set-MailboxFolderPermission -id $SetAlias -user default -AccessRights reviewer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;set-MailboxFolderPermission -id $SetInboxPermission -user default -AccessRights reviewer&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
***END - EXTRA BONUS COMMAND***&lt;br /&gt;
&lt;br /&gt;
From the Lync Server:&lt;br /&gt;
(Quick NOTE before we get too far. We have to declare more variables here as we have created the user and now we have to get more information that we could only get AFTER we the previous steps have been created)&lt;br /&gt;
&lt;br /&gt;
Variables:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $ServiceId = &quot;service:ApplicationServer:server.domain.local&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $GroupName = &quot;Group 1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $QueueName = &quot;Queue 1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $WorkFlowName = &quot;Hunt Group 1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $PrimaryURI = &quot;sip:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;8005551212&lt;/span&gt;@domain.com&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $LineURI = &quot;tel:+18005551212&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $DisplayNumber = &quot;+1 (800) 555-1212&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $DistoList = &quot;distrolist@domain.local&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $VoiceMail = &quot;sip:jsmith@domain.local;opaque=app:voicemail&quot;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
Commands:&lt;br /&gt;
&lt;br /&gt;
1. Create the group:&lt;br /&gt;
&lt;br /&gt;
Command:&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; New-CsRgsAgentGroup -Parent $ServiceId -Name $GroupName -AgentAlertTime 20 -ParticipationPolicy Informal -RoutingMethod Parallel -DistributionGroupAddress $DistoList&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2. Create the queue:&lt;br /&gt;
&lt;br /&gt;
Additional Variables:&amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$Group = get-csrgsagentgroup -Name $GroupName&lt;/span&gt;&lt;br /&gt;
Command:&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; New-CsRgsQueue&amp;nbsp; -Parent $ServiceId&amp;nbsp; -Name $QueueName -TimeoutThreshold 30 -TimeoutAction $ActionTO -AgentGroupIDList($Group.Identity)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3. Create the workflow:&lt;br /&gt;
&lt;br /&gt;
Additional Variables: &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $Queue = Get-CsRgsQueue -Name $QueueName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $ActionTO = New-CsRgsCallAction -Action TransferToVoiceMailUri -uri $VoiceMail&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $ActionWM = New-CsRgsCallAction -Action TransferToQueue -QueueID $Queue.Identity&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $NBACTION = New-CsRgsCallAction -Action TransferToVoicemailUri -uri $VoiceMail&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Command:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; New-CsRgsWorkflow -Parent $ServiceId -Name $WorkFlowName -Description &quot;Hunt Group 1&quot; -PrimaryUri $PrimaryURI -LineUri $LineURI -DisplayNumber $DisplayNumber -Active $true -Anonymous $true -DefaultAction $ActionWM -NonBusinessHoursAction $NBACTION&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Create the user in Lync for the voicemail&lt;br /&gt;
&lt;br /&gt;
Attributes: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$Username = &quot;jsmith@domain.local&quot;&lt;/span&gt;&lt;br /&gt;
Commands: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;enable-csuser -identity $UserName -registrarpool lyncserver.domain.local -sipaddresstype Emailaddress -sipdomain domain.local&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;set-csuser -identity $UserName&amp;nbsp; -enterprisevoiceenabled $true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Grant-CsVoicePolicy -policyname &quot;Voice Policy Name&quot; -Identity $UserName&lt;/span&gt;&lt;br /&gt;
The script is finished!!!! Now you can go into the Lync control panel and see the changes that you have made. Now the reason for this script, rinse and repeat. Just change the &quot;VARIABLES&quot; to meet your needs. Since this was 1 of 10 users accounts, I just changed it from #1 to #10. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/4525949935587327940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/02/powershell-script-to-make-lync-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4525949935587327940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4525949935587327940'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/02/powershell-script-to-make-lync-2010.html' title='Powershell script to make a Lync 2010 &quot;Hunt Group&quot; from scratch'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-1958022422829621995</id><published>2013-02-12T10:33:00.000-05:00</published><updated>2013-03-04T14:38:35.777-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lync"/><category scheme="http://www.blogger.com/atom/ns#" term="Lync Response Groups"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>Lync Common Area Phones (Conference Rooms)</title><content type='html'>I am deploying a Lync Server 2010 at my office and ran into the conference room phones. I started to configure a user account for each phone but quickly realized that it wasn&#39;t going to work like I thought. I had to research a way for multiple users to use this phone. Here were my goals to make this happen:
&lt;br /&gt;
&lt;br /&gt;
1. Provide great audio sound and not choppy for calls
2. Work for multiple users with different laptops
3. Had to be user friendly and easy to use (or the users would either always call me to set it up or just wouldn&#39;t use it)
&lt;br /&gt;
I started by choosing the better hardware for the phone. A Polycom CX3000 is a perfect solution for conference room phones. PoE phone but will connect via USB as well. Perfect mix for my conference rooms. 
&lt;br /&gt;
&lt;br /&gt;
Next I need to make it work for all my users. I got a little lucky in the fact that all of my users have Dell laptops and they all take the same docking station. So I dropped a docking station in each conference room and plugged up a keyboard, mouse, HDMI cable to the TV, Ethernet cable and the Polycom CX3000 via USB. That way users can come in, drop their laptop on the docking station, and they have all the tools already plugged in ready to go. 
&lt;br /&gt;
&lt;br /&gt;
Now the challenging part; making it user friendly. To start this part let me say that when I deployed the Lync phone system to the users, I spent a lot of extra time on the training slides and presentations to make sure everyone knew EVERYTHING about how to use the client. Also, I have a very tech savvy group of users (that helps!!!). Now, since we already have everything plugged in to the docking station, when the users turn on there laptop (and after a quick, really quick, driver install from Lync on the Polycom phone) the Polycom CX3000 was available as a drop down option for them to use as their &quot;speaker phone&quot; on Lync calls, Go-to-meeting calls, and all other calls. The TV was also ready to go so they can share their screen for everyone in the room and, since we are on Lync, they can share that same screen with the external callers via Lync conferencing. 
&lt;br /&gt;
&lt;br /&gt;
This was a WIN-WIN for our department. Conference rooms have always been a pain for us, but this has really reduced the calls to the helpdesk as well as made our users a lot happier. They are actually using the solution which is the WIN. 
&lt;br /&gt;
&lt;br /&gt;
Here is a &lt;a href=&quot;http://www.polycom.com/products-services/products-for-microsoft/lync-optimized/cx3000-conference-phone.html&quot;&gt;link&lt;/a&gt; to the Polycom phone. </content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/1958022422829621995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2013/02/lync-common-area-phones-conference-rooms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1958022422829621995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1958022422829621995'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2013/02/lync-common-area-phones-conference-rooms.html' title='Lync Common Area Phones (Conference Rooms)'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-443820486393519502</id><published>2012-04-03T16:16:00.001-04:00</published><updated>2013-03-04T14:38:54.221-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lync"/><category scheme="http://www.blogger.com/atom/ns#" term="Lync Response Groups"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>Conference Bridge in Lync Server 2010</title><content type='html'>How to create a conference bridge in Lync server 2010.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Sorry for the quick and dirty version. I just wanted to get this out there. Will clean later&amp;gt; &lt;br /&gt;
&lt;br /&gt;
My company wanted to go out and buy several different conference bridges this week. I decided to make a couple on our Lync server.&lt;br /&gt;
&lt;br /&gt;
Requirements:&lt;br /&gt;
- Create separate conference bridge ID&#39;s per department&lt;br /&gt;
- Make them available for the whole department&lt;br /&gt;
- Have to be accessible from the outside&lt;br /&gt;
&lt;br /&gt;
We have DID&#39;s (direct inward dial) phone numbers for each of our users. I know that I can create a new user for each of these departments, but I want them to share the same DID. So in Lync server I was able to assign the same DID to each user and give them an extension. This made them unique in Lync based off their extension number. Here is how I did it:&lt;br /&gt;
&lt;br /&gt;
Step 1. Choose a DID to use&lt;br /&gt;
Step 2. Create your users in Active Directory&lt;br /&gt;
Step 3. Enable the users in Lync Server&lt;br /&gt;
Step 4. Give the users the same phone number with unique extensions&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Example: tel:+18885551212;ext=100&lt;br /&gt;
Step 5. Login to your conferencing options webpage to set the PIN&lt;br /&gt;
Step 6. Copy the information in the conferencing options webpage for following:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; PIN&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Conference URL&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Conference ID&lt;br /&gt;
Step 7. Give this information out the users/departments.</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/443820486393519502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2012/04/conference-bridge-in-lync-server-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/443820486393519502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/443820486393519502'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2012/04/conference-bridge-in-lync-server-2010.html' title='Conference Bridge in Lync Server 2010'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-7454912092043993925</id><published>2012-01-24T23:00:00.000-05:00</published><updated>2012-01-24T23:00:03.902-05:00</updated><title type='text'>How to send a new Welcome email for Exchange 2010 United Messaging users</title><content type='html'>I was faced with a challenge today where several users reported that they didn&#39;t get their &quot;welcome&quot; email from Exchange when I configured them for Unified Messaging. I looked everywhere in the console for how to resend the email. No Powershell help. Nothing in technet. What to do....&lt;br /&gt;
&lt;br /&gt;
I didn&#39;t really want to disable and then enable them. That seems pointless. There has to be a way!!! So I decided to just resent their PIN. Boom...another email was sent out. That is crazy but it worked. They received the email and were able to configure their voicemail.&lt;br /&gt;
&lt;br /&gt;
Here are the steps I took (pretty easy):&lt;br /&gt;
&lt;br /&gt;
1. Open Exchange Management Console&lt;br /&gt;
2. Expand &quot;Recipient Configuration&quot;&lt;br /&gt;
3. Find the user account that you need to send the email to&lt;br /&gt;
4. Right click the user account and choose: &quot;Reset Unified Messaging PIN...&quot;&lt;br /&gt;
5. Accept the defaults and click OK on the next screen.&lt;br /&gt;
6. This will general a new PIN and send an email to the user.&lt;br /&gt;
&lt;br /&gt;
Here is the PowerShell command:&lt;br /&gt;
 &lt;br /&gt;
Set-UMMailboxPIN -Identity &quot;bob ausmus&quot;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/7454912092043993925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2012/01/how-to-send-new-welcome-email-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7454912092043993925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7454912092043993925'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2012/01/how-to-send-new-welcome-email-for.html' title='How to send a new Welcome email for Exchange 2010 United Messaging users'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-2556979747848378456</id><published>2011-12-05T16:59:00.001-05:00</published><updated>2011-12-05T17:03:09.903-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lync"/><category scheme="http://www.blogger.com/atom/ns#" term="Response Groups. Lync Response Groups"/><title type='text'>External Response Group Call Routing with Lync Server</title><content type='html'>I stole (er...found) this and it is awesome for Lync. Props to &lt;a href=&quot;http://blog.kiwibees.net/?p=98&quot;&gt;http://blog.kiwibees.net/?p=98 &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you start playing with Response Groups in Lync (or OCS) it 
probably wont be long before you want one to dial out to your PBX. In my
 case recently it was to get a support line to call an on-call mobile.&lt;br /&gt;

&lt;br /&gt;
Out of the box, Lync wont.&lt;br /&gt;

&lt;br /&gt;
Any outbound call needs a voice route to determine its routing path 
and permissions – without one it simply cant go anywhere. In short when 
the RGS tries to dial out it will default to your global voice policy 
which (unless you’ve changed it – and you shouldn’t) wont route.&lt;br /&gt;

&lt;br /&gt;
Your first task is to therefore create a voice policy that includes 
the number (or number pattern) you want to call and define a gateway 
device.&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;You can do this via the Lync Control Panel or Powershell.&lt;/li&gt;
&lt;li&gt;Make sure the voice policy is of type ”User” otherwise you wont be able to apply it to your RGS object&lt;/li&gt;
&lt;li&gt;Make sure you commit the new policy otherwise it wont be available for use (you’ll get a&amp;nbsp;&lt;em&gt;policy is not a user policy&lt;/em&gt; error).&lt;/li&gt;
&lt;/ul&gt;
Then you need to bind that policy to your RGS object. You definitely need Powershell for this bit.&lt;br /&gt;

&lt;blockquote&gt;
&lt;strong&gt;Grant-CSVoicePolicy&amp;nbsp;-identity “&lt;/strong&gt;RGSWorkflowObject” -&lt;strong&gt;PolicyName &lt;/strong&gt;VoicePolicyYouCreated&lt;/blockquote&gt;
For identity, use the display name of your RGS Workflow object.&lt;br /&gt;

&lt;br /&gt;
And you’re done. Your RGS can now dial out.&lt;br /&gt;

&lt;br /&gt;
&lt;em&gt;Last tip – make sure the number you’re trying to dial out to is entered fully normalised in the format &lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;&lt;strong&gt;+&amp;lt;countrycode&amp;gt;&amp;lt;areacode&amp;gt;&amp;lt;number&amp;gt;@&amp;lt;sipdomain&amp;gt;&lt;/strong&gt;. &lt;/em&gt;&lt;br /&gt;

&lt;br /&gt;
&lt;em&gt;eg. +6491234567@sipdomain.com&lt;/em&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/2556979747848378456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/12/external-response-group-call-routing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/2556979747848378456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/2556979747848378456'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/12/external-response-group-call-routing.html' title='External Response Group Call Routing with Lync Server'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-1028977190272224814</id><published>2011-12-05T15:57:00.000-05:00</published><updated>2011-12-05T16:28:37.354-05:00</updated><title type='text'>Alternative to the Windows desktop</title><content type='html'>Are you like several of my friends that like to save EVERYTHING to their desktop? So let me paint the picture for you.... You have 50 documents, pictures, shortcuts, and music files on your desktop with put a picture of you in New York for New Years Eve as the background (&lt;a href=&quot;http://vincentloy.files.wordpress.com/2011/05/bukit-bintang-2.jpg&quot;&gt;example&lt;/a&gt;). Then you get mad when you can&#39;t find the document that you are trying to find on your desktop. Sound familiar? Is &lt;a href=&quot;http://j-walkblog.com/images2/unusedicons.png&quot;&gt;this&lt;/a&gt; your desktop?&lt;br /&gt;
&lt;br /&gt;
How are you supposed to find anything in that mess anyway? Everything looks the same. Where is that &quot;HAVE TO HAVE&quot; file that you need for your boss by closing time??? Crap did it download.... I have waited my usual 1/2 second to have it magically appear, I better download it again. Where else, the Desktop. Don&#39;t worry, I will move it later (oh no, you fell into that trap as well?). Tell me how many times have you said that and &quot;got busy&quot; and forgot? Me = guilty as well. &lt;br /&gt;
&lt;br /&gt;
I have no problem with saving things to the desktop however I would like to introduce a better place to store things. A little folder called My Documents.&amp;nbsp; uh.... hello Bob, that will never work. Microsoft puts that folder there for people like you that know computers. Maybe, but they also put things in this folder to assist you in keeping your documents organized so people like me can back them up and find them for you when you computer fails. &lt;br /&gt;
&lt;br /&gt;
Windows Vista introduced a new concept called &quot;libraries&quot; as folder shortcuts. These are a great way to quickly and easily place documents where they can be stored and organized. Which makes finding them later easy. Every Library that you make will show up on the left hand side in the navigation pane when you open or save a file. making it easy to find.&lt;br /&gt;
&lt;br /&gt;
There are some libraries already created for you, such as Documents, Music, Pictures, and Videos. Use these. Microsoft put them there for a reason. They put files in the right spot where they need to go. But Bob.... I don&#39;t like these and I just want to put a file somewhere real quick so I can find it. Ok then, let&#39;s make a TEMP library where we can do just that.&lt;br /&gt;
&lt;br /&gt;
First we need to create a TEMP a folder that we can include in our new library.&lt;br /&gt;
&lt;br /&gt;
1. Click the start button and click &quot;Documents&quot;&lt;br /&gt;
2. Click on the &quot;New Folder&quot; button near the top&lt;br /&gt;
3. Type TEMP as the name of the folder&lt;br /&gt;
&lt;br /&gt;
Now to create a library shortcut for this TEMP folder. To do that, follow these steps:&lt;br /&gt;
&lt;br /&gt;
&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Click the Start button,
     click your user name (which opens your personal folder), and then, in the
     left pane, click Libraries.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;In Libraries, on the toolbar, click New library.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Type a name for the library, and then press Enter.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Click the name of the library that you just created.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Click the &quot;Include a folder&quot; button&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Browse to the TEMP folder you just made.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
Now we have a TEMP library on the side that you can save things in. Plus, since this folder is under the documents directory, it will be easy to backup.</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/1028977190272224814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/10/windows-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1028977190272224814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1028977190272224814'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/10/windows-desktop.html' title='Alternative to the Windows desktop'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-5696780962533368124</id><published>2011-09-28T15:34:00.000-04:00</published><updated>2011-09-28T15:47:12.949-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DFS Cache"/><title type='text'>Clearing DFS Cache</title><content type='html'>&quot;Server cannot find network path of DFS name space&quot;&lt;br /&gt;
&lt;br /&gt;
Ever ran into that before on a Windows 2008 Server? That is a great error that tells you nothing. Love it. Thanks Microsoft. That great descriptive error from Microsoft means that the cache for the DFS name space is either pointing to the wrong location to is corrupt. Read on to learn how to fix this error....&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
So your cache is brok-ie no work-ie eh? Here is a quick little command that you can run from an elevated (right click and choose run as administrator) command prompt to &quot;flush&quot; the DFS cache on your local server:&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;dfsutil cache referral flush&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
So if you run this from your server right now, it will fail and you will be saying - &quot;What happened???&quot; I did like Bob told me to. That&#39;s because you haven&#39;t installed the tools that you need on the server to support this command. You need to install the &quot;File Services Tools&quot; on the server. Here&#39;s how:&lt;br /&gt;
&lt;br /&gt;
Open Server Manager, under Add Feature, Remote Server Administration Tools (RSAT), Role Administration Tools, File Services Tools&lt;br /&gt;
&lt;br /&gt;
Now close and reopen your elevated command prompt and paste the DFS command in again. Now it should work and clear your cache. No reboot needed.&lt;br /&gt;
&lt;br /&gt;
Here is more information&lt;br /&gt;
&lt;a href=&quot;http://blogs.technet.com/b/josebda/archive/2009/05/01/using-the-windows-server-2008-dfsutil-exe-command-line-to-manage-dfs-namespaces.aspx&quot;&gt;2008&lt;/a&gt; &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc736784%28WS.10%29.aspx&quot;&gt;2003&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/5696780962533368124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/09/clearing-dfs-cache.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/5696780962533368124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/5696780962533368124'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/09/clearing-dfs-cache.html' title='Clearing DFS Cache'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-7694414902591381059</id><published>2011-09-14T21:23:00.000-04:00</published><updated>2011-09-14T21:23:59.828-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="copy"/><category scheme="http://www.blogger.com/atom/ns#" term="keyboard"/><category scheme="http://www.blogger.com/atom/ns#" term="paste"/><category scheme="http://www.blogger.com/atom/ns#" term="shortcuts"/><category scheme="http://www.blogger.com/atom/ns#" term="typing"/><title type='text'>My Favorite &quot;8&quot; Keyboard Shortcuts</title><content type='html'>&lt;br /&gt;
Have you ever seen that one &quot;IT&quot; guy that seems to be sooooo fast on the computer that you can&#39;t seem to follow him or what he is doing? Next time you see that, pay attention to his hands. I bet they rarely leave the keyboard. I made a decision that I was going to learn to use keyboard shortcuts to accomplish my everyday tasks and I swear it made me faster. I decided to share my top 8 favorite keyboard shortcuts with everyone.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Windows key&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I love that little Windows key down there on either side of the space bar. That key is so useful to do anything. To open &quot;My Computer&quot; all you have to do is press the Windows key + &quot;E&quot; and BAM there it is. Windows Explorer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Control + an arrow key (either right or left)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You know that you can move the cursor from right to left with the arrow keys but, what if you want to scroll all the way through a line of text. What if I could make it so that you could skip back a word at a time as opposed to a letter at a time. I am here to tell you that pressing Control + arrow key will do just that. Your welcome for the extra time you have to take out the trash and fix dinner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. Control + C &amp;amp; Control + V&amp;nbsp;&amp;nbsp; (Copy and Paste)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
An oldie but a goodie. I use this shortcut EVERY DAY - ALL DAY long. I rarely type anything out anymore. Copy and paste baby.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Control + C = copy&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Control + V = paste&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. F5 (refresh)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Learn to love this key. If you are waiting for an ebay action to end, Facebook to update, or can&#39;t wait to read Britney Spears latest tweet....press F5. That will cause the web page (and other things as well) to refresh and give you the latest content. Use it every where on the computer, not just a Internet Explorer. Love it!!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. Control + A (select all)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
How many of us love to click and drag, then just to mess up and have to do it over? I want to copy everything from this folder to that one. Press control + A and it will select it all for you. Then use hint #3 with hint #7 to perform the copy and paste. You hands will never leave the keyboard and you will be shocked on how fast it was.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Select + An arrow key (either right of left)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Selecting or highlighting a line in a document is hard to do with the mouse. You have to click and&amp;nbsp; hold and drag and not too far....go back...wait it jumped to another line. Next time try this; put your cursor on the letter right before the word or phrase that you want to highlight, then press and hold down SHIFT and an arrow key. That will highlight one letter at a time. Then use hint #3 to copy and paste it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7. Alt + Tab (Move between windows)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Ok folks...time to get real. This is the best tip that I can give you. If you press alt + tab it will switch from window to window (application to application). Say for example that you have a letter you are typing open in Word and you found this great tag line from a website that you want to put there. Here is how I would do it without moving my hands from the keyboard:&lt;br /&gt;
&lt;br /&gt;
Hint #6 - Hold down SHIFT and press the right arrow key to highlight the text that I want from the site&lt;br /&gt;
Hint #3 - Press Control + C to copy it&lt;br /&gt;
Hint #7 - Press Alt + Tab to move to the Word document&lt;br /&gt;
Hint #3 - Press Control + V to paste it&lt;br /&gt;
&lt;br /&gt;
This hint will change the way that you use the keyboard. I can have numerous windows open at the same time and with this hint, I can flip back and forth between applications, making me look like I am flying around on a computer. Use this one to show your boss that you deserve that raise!!!! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. F2&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Ever wanted to change the name of a document without having to click...wait....click......crap......to fast now it is opening. Close it...click...wait...wait...click....ok now I can change the file name. What a pain. Now you can use F2 to rename the file. Highlight (or click once) the name of the file, then press F2. That will allow you to rename. This works in Excel as well, editing the contents of a cell. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just to prove that it can be done for myself, I typed this whole blog without touching the mouse. Now you can shock and amaze your friends at parties. </content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/7694414902591381059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/09/my-favorite-8-keyboard-shortcuts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7694414902591381059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7694414902591381059'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/09/my-favorite-8-keyboard-shortcuts.html' title='My Favorite &quot;8&quot; Keyboard Shortcuts'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-7457997521615599222</id><published>2011-09-07T13:23:00.000-04:00</published><updated>2011-09-08T15:23:51.787-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Email"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Webform"/><title type='text'>HTML WebForm with PHP and MySQL - Part 4</title><content type='html'>Part 4 - PHP Script to insert data into database&lt;br /&gt;
&lt;span id=&quot;formatbar_Buttons&quot; style=&quot;display: block;&quot;&gt;&lt;span class=&quot; down&quot; id=&quot;formatbar_CreateLink&quot; style=&quot;display: block;&quot; title=&quot;Link&quot;&gt;&lt;img alt=&quot;Link&quot; border=&quot;0&quot; class=&quot;gl_link&quot; src=&quot;http://www.blogger.com/img/blank.gif&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Recap: &lt;a href=&quot;http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-1.html&quot;&gt;Part 1&lt;/a&gt; | &lt;a href=&quot;http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-2.html&quot;&gt;Part 2&lt;/a&gt; | &lt;a href=&quot;http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-3.html&quot;&gt;Part 3&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Now that we have the database and all of the columns created, we now need to get that data into the database.  We can do that with a PHP script.&lt;br /&gt;&lt;br /&gt;First we need to build a PHP file that we can edit. Create a new file on your webserver and name it whatever you want (I called mine &quot;pushtodb.php&quot;). Now open that file with your editor of choice. I like &lt;a href=&quot;http://notepad-plus-plus.org/&quot;&gt;notepad++&lt;/a&gt; but you can use whatever is more comfortable for you.&lt;br /&gt;&lt;br /&gt;Just like in HTML, we have to open the PHP script with &amp;lt;?PHP (and don&#39;t forget to close the tag now so you don&#39;t forget later - close it with ?&amp;gt;&amp;nbsp; ). This tells the browser that you are going to use PHP as oppose to just HTML.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Lets create a variable to open up a connection to the SQL server. You do that with this command:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $con = mysql_connect(&quot;SQL_server_name&quot;,&quot;username&quot;,&quot;password&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Now we have to tell the SQL server which database to use. This command will connect to the SQL server and open up the proper database:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mysql_select_db(&quot;database_name&quot;, $con);&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Notice the &quot;$con&quot; in that statement? That will take the first statement that we wrote and inject it into this one. Trust me, putting things in variables will make your life a LOT easier as you can reuse the variables throughout the script.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Time to write that SQL statement that we will actually insert values into the database. Let&#39;s make this in a variable named &quot;$sql&quot; so we can use it over and over. At this point (if you read &lt;a href=&quot;http://bobausmus.blogspot.com/2011/07/html-webform-with-php-and-mysql-part-1.html&quot;&gt;Part 1&lt;/a&gt;) you should have all your inputs from your webform in a text file so we can input them in the SQL statement. You have them in notepad++ right??? Right??? Here is the SQL statement; copy and paste this into notepad++ so you can edit it as you need to:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $sql=&quot;INSERT INTO table_name (input_1, input_2, input_3)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUES&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&#39;$_POST[input_1]&#39;,&#39;$_POST[input_2]&#39;,&#39;$_POST[input_3]&#39;)&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Ok we have all the connections out of the way, now time for use to actually perform the command(s). Here is the code that will take all the variables we defined and put them in a IF statement:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; if (!mysql_query($sql,$con))&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; die(&#39;Error: &#39; . mysql_error());&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;One more piece of code that we will need now but will make more sense later on:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $id = mysql_insert_id ( );&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Whew. Come on Bob aren&#39;t we done yet? Nope, we have three more steps to finish.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;1. Assign the URL that we want people to go to after the script has been ran&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;2. Setup the email that will alert us when something has been submitted&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;3. close the SQL connection&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;u&gt;Task 1&lt;/u&gt;:&amp;nbsp; Assign the URL&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Put this in a variable, I used the variable &quot;$url&quot; but you can use whatever helps you remember what it is. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $url = &#39;http://www.domain.com/thankyou.html&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;The command that will actually take users to the next page is (look for that variable):&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &#39;&amp;lt;META HTTP-EQUIV=Refresh CONTENT=&quot;0; URL=&#39;.$url.&#39;&quot;&amp;gt;&#39;;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;u&gt;Task 2:&lt;/u&gt; Setup the email&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;You are going to see variables from above in this one. You can see why variables are important.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $emailadd = &#39;email@yourdomain.com&#39;; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $subject = &#39;New contract was submitted&#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $body = &quot;This is the body of the email:&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $text = $body. &quot; &quot; . $id;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mail($emailadd, $subject, $text, &#39;From: &#39;.$emailadd.&#39;&#39;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Pay attention to the bottom line. That is the actual command that will send the email out. As you can see, we are building the email with all the variables we make right above it. See that &quot;$id&quot; variable there. I put that in the email in a future lesson we will use that to lookup this form. We need a place holder that we can call this specific form from the database, and since ID is always unique, its the perfect one to use.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;u&gt;Task 3&lt;/u&gt;: Closing the SQL connection (the easy one)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;You are going to find this a real challenge. Here is the code (look for the variable that we assigned earlier):&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mysql_close($con)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;At the bottom of the script you should see (if you followed directions from above) the &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;?&amp;gt; to close the PHP script.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;That&#39;s it. Post that to your site and give it a shot. Let me know if it works!!!! Good luck. &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/7457997521615599222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/09/html-webform-with-php-and-mysql-part-4.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7457997521615599222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7457997521615599222'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/09/html-webform-with-php-and-mysql-part-4.html' title='HTML WebForm with PHP and MySQL - Part 4'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-2351656154700721429</id><published>2011-08-25T23:29:00.000-04:00</published><updated>2011-08-26T09:51:38.238-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="SPN"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Showing Advanced Features in Active Directory</title><content type='html'>&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;I edit SPN&#39;s a lot with MS SQL server and I was sick of using ADSIedit so I found that the ADMINPAK for Windows 7 &lt;/span&gt;&lt;link&gt;&lt;span style=&quot;font-size:85%;&quot;&gt; would allow me to edit the SPN&#39;s directly. Only problem is that you can&#39;t see the &quot;Attributes&quot; tab in Active Directory Users and Computers (ADUC) without turning on the advanced features. Here is how I turned them on&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;1. Open Active Directory Users and Computers (Start -&amp;gt; Run -&amp;gt; type: dsa.msc -&amp;gt; Ok)&lt;br /&gt;&lt;br /&gt;2. Click on &quot;View&quot; then check &quot;Advanced Features&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcQl7oRE8ziNUlj_5JAldLVjbURe09abxwLMmDkJPRw9EjKtOZ73Fe5A9NbADJX8omngdyO4ysbvEaSScxgkwMzdXpuiZSb8ghwLUsN015QYwusX2LFSybXTv_rPnsoxYDjnnHaw-bTX0/s1600/AD+Advanced+Settings.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 192px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcQl7oRE8ziNUlj_5JAldLVjbURe09abxwLMmDkJPRw9EjKtOZ73Fe5A9NbADJX8omngdyO4ysbvEaSScxgkwMzdXpuiZSb8ghwLUsN015QYwusX2LFSybXTv_rPnsoxYDjnnHaw-bTX0/s320/AD+Advanced+Settings.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5645161699967465570&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Now you can see the &quot;Attributes&quot; tab as well as a lot of other tabs that make editing user profiles a lot easier for the lonely sys-admin.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/2351656154700721429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/08/showing-advanced-features-in-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/2351656154700721429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/2351656154700721429'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/08/showing-advanced-features-in-active.html' title='Showing Advanced Features in Active Directory'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcQl7oRE8ziNUlj_5JAldLVjbURe09abxwLMmDkJPRw9EjKtOZ73Fe5A9NbADJX8omngdyO4ysbvEaSScxgkwMzdXpuiZSb8ghwLUsN015QYwusX2LFSybXTv_rPnsoxYDjnnHaw-bTX0/s72-c/AD+Advanced+Settings.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-875575701605296714</id><published>2011-08-10T22:00:00.000-04:00</published><updated>2011-08-22T14:54:45.571-04:00</updated><title type='text'>HTML WebForm with PHP and MySQL - Part 3</title><content type='html'>Part 3 - Creating the MySQL database&lt;br /&gt;&lt;span style=&quot;display: block;&quot; id=&quot;formatbar_Buttons&quot;&gt;&lt;span onmouseover=&quot;ButtonHoverOn(this);&quot; onmouseout=&quot;ButtonHoverOff(this);&quot; onmouseup=&quot;&quot; onmousedown=&quot;CheckFormatting(event);FormatbarButton(&#39;richeditorframe&#39;, this, 8);ButtonMouseDown(this);&quot; class=&quot; down&quot; style=&quot;display: block;&quot; id=&quot;formatbar_CreateLink&quot; title=&quot;Link&quot;&gt;&lt;img src=&quot;http://www.blogger.com/img/blank.gif&quot; alt=&quot;Link&quot; class=&quot;gl_link&quot; border=&quot;0&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;Recap: &lt;a href=&quot;http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-1.html&quot;&gt;Part 1&lt;/a&gt; | &lt;a href=&quot;http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-2.html&quot;&gt;Part 2&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In part 1 &amp;amp; 2 we created a webform that will submit the results to an email address. This is great unless you want it to be readable to non-computer geek people. Also there is no record of the form being submitted except for the email. To accomplish this we need to input the results into a database. I choose MySQL as my hosting provider gave this as part of my package.&lt;br /&gt;&lt;br /&gt;Step #1 in putting the form data into a SQL database is to create the database and table where the data will reside. There are a couple of ways to accomplish this however I choose to use the built-in SQL manager. This blog article is not to debate the technology you choose to setup the database, just how to format the columns.&lt;br /&gt;&lt;br /&gt;A SQL database is made of tables with columns and rows. A table is like an Excel document with columns and rows. The first thing that we need to do is create a column that will be unique for each row. Most everyone calls this &quot;ID&quot; column. Create this as an integer as well as the following options:&lt;br /&gt;&lt;br /&gt;PRIMARY KEY&lt;br /&gt;CANNOT BE NULL (can&#39;t be blank)&lt;br /&gt;AUTO INCREMENT (increases by 1 each time something is put in the database)&lt;br /&gt;&lt;br /&gt;You can call this row of data to pull data back out of the database. Now to create the rest of the columns.&lt;br /&gt;&lt;br /&gt;Remember in &lt;a href=&quot;http://bobausmus.blogspot.com/2011/07/html-webform-with-php-and-mysql-part-1.html&quot;&gt;Part 1&lt;/a&gt; we defined the input values for each box in the web form. Now we need to create a column for index value. In my form I used &quot;NAME&quot; as the first box that users fill out, which means that I will need to create a column in the database that will receive that data. Create a TEXT column that will receive text form the input box.&lt;br /&gt;&lt;br /&gt;Rinse and repeat for every input value you have created in your form. Once you have your table and all the columns defined, you can check your work by running this command:&lt;br /&gt;&lt;br /&gt;DESC &lt;i&gt;tablename&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;That command will show you all the columns in the table and what they are formatted as (i.e. Integer vs TEXT).&lt;br /&gt;&lt;br /&gt;In Part 4 we will show you how to put that data in the database with a PHP script that we call from the &amp;lt;form action=&quot;SCRIPT.PHP&quot;&amp;gt; that we defined in step #1 in the webform.&lt;br /&gt;&lt;/form&gt;&lt;/tablename&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/875575701605296714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/875575701605296714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/875575701605296714'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-3.html' title='HTML WebForm with PHP and MySQL - Part 3'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-3910181536432139210</id><published>2011-08-05T22:00:00.000-04:00</published><updated>2011-08-05T22:00:01.420-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Webform"/><title type='text'>HTML WebForm with PHP and MySQL - Part 2</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:enableopentypekerning/&gt;    &lt;w:dontflipmirrorindents/&gt;    &lt;w:overridetablestylehps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin-top:0in;  mso-para-margin-right:0in;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0in;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;;font-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Part 2 - Creating the PHP script (for email)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;If you missed it; here is &lt;a href=&quot;http://bobausmus.blogspot.com/2011/07/html-webform-with-php-and-mysql-part-1.html&quot;&gt;Part 1&lt;/a&gt; - Creating the HTML form&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;&quot;Prerequisites” – Your webhosting provider / server must support PHP scripts. I use Earthlink and they have a control center where I can enable/disable PHP scripts. Make sure to enable this prior to putting this live in production. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;So far we have a HTML webform with the form tag method=&quot;post&quot; that will gather the data for us. We also have the form tag action=&quot;sendresults.php&quot; which we will use to send us the results to an email account. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;NOTE: I can&#39;t take credit for this script as I stole it from here: &lt;span style=&quot;font-size:78%;&quot;&gt;&lt;a href=&quot;http://forums.htmlhelp.com/index.php?showtopic=7293&quot;&gt;&lt;span style=&quot;color:blue;&quot;&gt;http://forums.htmlhelp.com/index.php?showtopic=7293&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Whew……the boring stuff is out of the way, here are the steps to complete this:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height:normal;mso-layout-grid-align: none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Step 1: &lt;span style=&quot;mso-tab-count:1&quot;&gt; &lt;/span&gt;Download the file from this blog and save on your computer named &quot;sendresults.php&quot;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height:normal;mso-layout-grid-align: none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Step 2:&lt;span style=&quot;mso-tab-count:1&quot;&gt;  &lt;/span&gt;Right click and edit this file in notepad. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height:normal;mso-layout-grid-align: none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Step 3:&lt;span style=&quot;mso-tab-count:1&quot;&gt;  &lt;/span&gt;Change the following lines ($subject / $emailadd / $url)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height:normal;mso-layout-grid-align: none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Step 4:&lt;span style=&quot;mso-tab-count:1&quot;&gt;  &lt;/span&gt;Save the file back to the server. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height:normal;mso-layout-grid-align: none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Let me take a minute to explain the $url. That &quot;$&quot; means that it is a variable and we can name it whatever we want. We can call it $bobisawesome if we wanted to. Basically this is being made we can use it later in the script without having to type in the long URL. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Now we can test the form. If you changed the field (variables) I told you to above, then you should be able to click submit on your form and in a few minutes, receive an email. You should also be redirected to another website (the $url variable) after clicking the submit button. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;Let me break down some of the script for you. Look for this line close to the bottom:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;;mso-ansi-language:ENfont-family:&amp;quot;;&quot;  lang=&quot;EN&quot;&gt;mail($emailadd, $subject, $text, &#39;From: &#39;.$emailadd.&#39;&#39;);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;This is actually the command that will email us the form. You can see I am building the email with the variables that we declared earlier in the script. Next look for this line:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;;mso-ansi-language:ENfont-family:&amp;quot;;&quot;  lang=&quot;EN&quot;&gt;echo &#39;&amp;lt;META HTTP-EQUIV=Refresh CONTENT=&quot;0; URL=&#39;.$url.&#39;&quot;&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;The ECHO command is the one that we will use to perform the next step (which in our case is to redirect to another page). If you look close at the end of the “ECHO” command, you will see our “$url” variable – yeah!!! The ECHO command can also be used to return something like: 1 row of data updated (which you will see more in the SQL part)&lt;/span&gt;&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align:none;text-autospace:none&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Troubleshooting:&lt;/span&gt;&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;&lt;span style=&quot;&quot; lang=&quot;EN&quot;&gt;If you are redirected to a blank screen with the name of the PHP script in the address; that means that your script blew up. They don’t produce error codes due to security issues. Just know that you didn’t set something in the script properly.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;Make sure that your email is not sitting in your junk email folder&lt;/span&gt;&lt;span style=&quot;&quot; lang=&quot;EN&quot;&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;&quot; lang=&quot;EN&quot;&gt;Confirm that PHP scripts are enabled on your web server / hosting provider.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri; mso-bidi-mso-ansi-language:ENfont-family:Calibri;&quot;  lang=&quot;EN&quot;&gt;I have enclosed a copy of the PHP script on this blog. Stay tuned for our next part of the series: Part 3 – Putting the data into a SQL database. I know…..I can hardly wait myself. &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/3910181536432139210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/3910181536432139210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/3910181536432139210'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/08/html-webform-with-php-and-mysql-part-2.html' title='HTML WebForm with PHP and MySQL - Part 2'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-7685237876408682390</id><published>2011-07-27T16:36:00.000-04:00</published><updated>2011-09-20T10:55:21.677-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Email"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Webform"/><title type='text'>HTML WebForm with PHP and MySQL - Part 1</title><content type='html'>A friend of mine asked me to create a form on his website so users could submit contracts to him without printing/faxing/attaching to email/etc..... So I said sure. I created a HTML webform and had it emailed to him every time someone clicked submit via a PHP script. Life was happy and he was happy until he started to receive them via plain text and it was unreadable to a non-IT person. So I needed to put it in a more &quot;user friendly&quot; format.&lt;br /&gt;
&lt;br /&gt;
I started with looking for a PHP script that would email a friendlier version with no luck. I found a couple of people that tried but nothing that wasn&#39;t super hard to use. It showed very quickly that going down that road wasn&#39;t the best. So I decided to put it in a SQL database. His hosting provider gave him 3 databases to use on a shared MySQL server.&lt;br /&gt;
&lt;br /&gt;
I am creating a series of blogs on how I accomplished this task. Stay tuned for more but for now, here is how I wrote the HTML web form.&lt;br /&gt;
&lt;br /&gt;
Preview of the site: &lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;a href=&quot;http://spinaroundsounddj.com/Contract_Form.html&quot;&gt;http://spinaroundsounddj.com/Contract_Form.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 78%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Part 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
The first step is to create the HTML form. My tasks were to create a &quot;Contracts&quot; webform that looked like his other pages on his site. I had access to his site so the easiest way to start was to get a copy of another page and &quot;Save-As&quot; to a page called Contracts.html. Now that I have a shell of his page (top links, graphics, etc...) I can clean out the middle stuff and add the webform.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Important note to learn now and not later like I did: PHP and MySQL don&#39;t do well with CAPTIAL letters. Put everything in lowercase letters - you will be glad you did later. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Start the form with an HTML tag of&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&amp;lt;form action=&quot;sendresults.php&quot; method=&quot;post&quot; name=&quot;contractform&quot; id=&quot;contractform&quot;&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This will set the form up for you. Out of habit, I always close the HTML tag every time I open one. Just saves you from having to do it later. Let me explain a little about what this command does.&lt;br /&gt;
&lt;br /&gt;
action=&quot;nameofphpscript.php&quot;  - This is what the submit button will do when it is clicked.&lt;br /&gt;
method=&quot;post&quot; - You get two options here; POST or GET. very simply, POST puts stuff somewhere and GET gets stuff from somewhere.&lt;br /&gt;
name=&quot;contractform&quot; - This is the name of the form.&lt;br /&gt;
id=&quot;contractform&quot; - This is the id of the form&lt;br /&gt;
&lt;br /&gt;
Now you can create all your tables and and inputs remembering to name them with lowercase letters. I set all of my inputs to [type=&quot;text&quot;] just to make it easier. Functionality first and make it pretty later!!!&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Helpful hint: If I were in your shoes, I would start a list of all the inputs that you make, it will pay off in the PHP script and inserting into SQL part of the blog series. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now for the all important SUBMIT and RESET buttons. Here is the code:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 85%;&quot;&gt;&amp;lt;input type=&quot;submit&quot; name=&quot;submit&quot; id=&quot;submit&quot; value=&quot;submit&quot; /&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;reset&quot; name=&quot;reset&quot; id=&quot;reset&quot; value=&quot;reset&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
So that will create (2) buttons on our form. One will submit the form to the ACTION=&quot;nameofphpscript&quot; that we defined earlier. The other will clear all fields on the form so the user can start all over. The way they are defined by their function is the value=&quot;reset&quot; tag in the code.&lt;br /&gt;
&lt;br /&gt;
Now we should have a webform that looks the way that you want it to. Now we have to do something with it once they click submit.  Stay tuned as that is the next part of this blog series.</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/7685237876408682390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/07/html-webform-with-php-and-mysql-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7685237876408682390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/7685237876408682390'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/07/html-webform-with-php-and-mysql-part-1.html' title='HTML WebForm with PHP and MySQL - Part 1'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-5618785674951168208</id><published>2011-07-14T16:34:00.000-04:00</published><updated>2011-09-20T10:54:04.329-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Lync"/><title type='text'>Enabling Protected Security Groups (domain admins) in Lync 2010</title><content type='html'>After installing and getting my Lync 2010 server up and running I was ready to enable and add myself to the Lync server. I logged into the Admin Console for Lync and added myself with all the correct options. Then I clicked &quot;Enable&quot; and found this error:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyQyHqP5FZX9PckToQgwEOGOKwFSed9d9N1kQC1xe7U6N5JDdRCTbYXb5VH42D-grDwrBVTcn35-klMRAPTpBLMrZGcZCPqn1vXWDe4Nc9qw8u6kwMg7V1vKxZJFK03aoflhQDARGmg8/s1600/Lync+Admin+Error.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5631858920331042274&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyQyHqP5FZX9PckToQgwEOGOKwFSed9d9N1kQC1xe7U6N5JDdRCTbYXb5VH42D-grDwrBVTcn35-klMRAPTpBLMrZGcZCPqn1vXWDe4Nc9qw8u6kwMg7V1vKxZJFK03aoflhQDARGmg8/s320/Lync+Admin+Error.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 71px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&quot;Active Directory operation failed on &quot;&lt;span style=&quot;font-style: italic;&quot;&gt;domain controller&lt;/span&gt;&lt;domain controller=&quot;&quot;&gt;&quot;. You cannot retry this operation: &quot;Insufficient access rights to perform the operation&quot;&lt;/domain&gt;&lt;/div&gt;
&lt;domain controller=&quot;&quot;&gt;&lt;/domain&gt;&lt;/div&gt;
&lt;domain controller=&quot;&quot;&gt;&lt;br /&gt;What do you mean I don&#39;t have rights, I&#39;m a Domain Admin for crying out loud!!!! So onto the troubleshooting my rights. I have rights in AD. Lync server can contact the domain no problem. Everything looked to be fine. Then I found that my user account was in a &quot;Protected Security Group&quot; by being a domain admin.&lt;br /&gt;&lt;br /&gt;Due to some security features in Active Directory (explained &lt;a href=&quot;http://support.microsoft.com/kb/232199&quot;&gt;here&lt;/a&gt;), when you add or make a change to a user that is in a &quot;Protected Security Group&quot; (i.e. Enterprise or Domain Admins)  in Lync 2010, you have to change their security to:&lt;br /&gt;&lt;br /&gt;&quot;Include inheritable permissions from this object&#39;s parent&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBHJVwoCI57xoQQzVF30QU8xOBqCfEpRXqnEiOCzpcEf2-34yENIgpAByJoZnksYuO6xa1bvyOcqdhxzv7FVWlYc3jmU6WvgmOaLN6cBX099MGgXc3qEE0Ekzcgp1InMY8yQzmRWRW91I/s1600/Advanced+Security+Settings.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5631834694196922834&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBHJVwoCI57xoQQzVF30QU8xOBqCfEpRXqnEiOCzpcEf2-34yENIgpAByJoZnksYuO6xa1bvyOcqdhxzv7FVWlYc3jmU6WvgmOaLN6cBX099MGgXc3qEE0Ekzcgp1InMY8yQzmRWRW91I/s320/Advanced+Security+Settings.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 242px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;u&gt;Steps to change this setting:&lt;/u&gt;&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;1. Open Active Directory Users and Computers (ADUC)&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;2. Change to the domain controller that is close to the Lync server&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;3. Follow the steps in this &lt;a href=&quot;http://bobausmus.blogspot.com/2011/08/showing-advanced-features-in-active.html&quot;&gt;article&lt;/a&gt; to enable advanced features&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;4. Open the properties of the user account that you are enabling&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;5. Click on the &quot;Security&quot; tab&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;6. Click on &quot;Advanced&quot;&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;7. Check the box highlighted above&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;8. &quot;OK&quot; all the way back to ADUC&lt;/domain&gt;&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;9. Enable the user in Lync admin console&lt;/domain&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;domain controller=&quot;&quot;&gt;This will allow you to enable them in the Lync server. This also applies to Exchange and &lt;a href=&quot;http://blogs.technet.com/b/exchange/archive/2009/09/23/3408362.aspx&quot;&gt;here &lt;/a&gt;is a technet article that explains this in more depth.&lt;br /&gt;&lt;br /&gt;&lt;/domain&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/5618785674951168208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/07/enabling-protected-security-groups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/5618785674951168208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/5618785674951168208'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/07/enabling-protected-security-groups.html' title='Enabling Protected Security Groups (domain admins) in Lync 2010'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyQyHqP5FZX9PckToQgwEOGOKwFSed9d9N1kQC1xe7U6N5JDdRCTbYXb5VH42D-grDwrBVTcn35-klMRAPTpBLMrZGcZCPqn1vXWDe4Nc9qw8u6kwMg7V1vKxZJFK03aoflhQDARGmg8/s72-c/Lync+Admin+Error.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-4294239120066582898</id><published>2011-07-13T14:38:00.000-04:00</published><updated>2011-07-13T15:06:53.987-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CCNA"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><title type='text'>My Road to the CCNA</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:enableopentypekerning/&gt;    &lt;w:dontflipmirrorindents/&gt;    &lt;w:overridetablestylehps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin-top:0in;  mso-para-margin-right:0in;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0in;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;After years of procrastinating and employers hounding me to get my CCNA (Cisco Certified Networking Associate) certification, I am finally pursuing it. So, I thought that I would blog about my adventure. Hold on, this is going to be a nail-biter….&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;I have always said that I needed to take the exam once just to see what it was like so I did just that; and failed. I was close and pretty happy with my score a 745 (you need 825 to pass). It did teach me a lot about what I need to prepare for my next sitting on July 9&lt;sup&gt;th&lt;/sup&gt;, 2010. Here are a couple of notes for those of you getting ready to take it:&lt;/p&gt;&lt;br /&gt;&lt;span style=&quot;mso-bidi-mso-bidi-theme-font:minor-latin;font-family:Calibri;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;1.&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You can’t go back to review and/or change your previous questions answers; only forward. I knew this beforehand but it is always good to mention and remind everyone.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;mso-bidi-mso-bidi-theme-font:minor-latin;font-family:Calibri;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;2.&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;I almost ran out of time. It was a 90 minute exam with 50 questions, and I ended with 5:09 minutes left. That isn’t a lot of time per question. I got the multiple choice questions pretty easy but the simulation questions were a killer both time wise and how hard they were. The sim’s took about 15-20 minutes each.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;mso-bidi-mso-bidi-theme-font:minor-latin;font-family:Calibri;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;3.&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Subnetting (shock and awe). You should be extremely proficient in subnetting. I didn’t have a ton of questions on subnetting (like 4) but I already had my cheat sheet written down and I could answer the subnetting questions very quickly saving exam question time, which is the biggest reason for being proficient in subnetting.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;mso-bidi-mso-bidi-theme-font:minor-latin;font-family:Calibri;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;4.&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The “?” command &lt;b style=&quot;mso-bidi-font-weight: normal&quot;&gt;&lt;u&gt;WAS&lt;/u&gt;&lt;/b&gt; available in all simulations (thank the good lord!!!!) and IIRC the auto-complete was on as well. This was huge in my favor as it helped me on the EIGRP sim.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;mso-bidi-mso-bidi-theme-font:minor-latin;font-family:Calibri;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;5.&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You are on the console of the devices in the sim’s, not the VTY. That means that you will see the messages scroll in the window when things change (i.e. an interface going up or down). This was also helpful on my EIGRP sim as I could see when the neighbor was responding and UP.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;mso-bidi-mso-bidi-theme-font:minor-latin;font-family:Calibri;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;6.&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Don’t forget to apply the access-list to the interface, oops. I know for sure that I got one sim wrong as I forgot to apply it to the interface. Lesson learned.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;mso-bidi-mso-bidi-theme-font:minor-latin;font-family:Calibri;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;7.&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Learn CDP commands. I had one sim that required me to look for which switch updated the VTP domain. Missed that because I didn’t remember “show cdp neighbors &lt;u&gt;detail&lt;/u&gt;” command. Also the CDP commands are helpful making sure routers are plugged into the right ports that you are advertising routes on.&lt;br /&gt;&lt;br /&gt;All-in-all I was happy with my first showing out of the gate. My study material was a little dated; I took the CCNA class from Sullivan University (&lt;a href=&quot;http://mcse.sullivan.edu/&quot;&gt;link&lt;/a&gt;) in 2006 and I have the “old exam” books so I think that I am going to pick up the new book to read this coming weekend. I have lined out a study plan as follows:&lt;br /&gt;&lt;br /&gt;- Router Simulator to learn the Cisco IOS commands and how to make them work.   &lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left:1.0in;mso-add-space: auto;text-indent:-.25in;mso-list:l1 level2 lfo2&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Courier New&amp;quot;font-family:&amp;quot;;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;o&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;I like GNS3 for my simulator. Get it &lt;a href=&quot;http://www.gns3.net/&quot;&gt;here&lt;/a&gt;. You will need your own IOS but the simulator is awesome. &lt;/p&gt;  &lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left:1.0in;mso-add-space: auto;text-indent:-.25in;mso-list:l1 level2 lfo2&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Courier New&amp;quot;font-family:&amp;quot;;&quot; &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;o&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;I have worked an EIGRP, OSPF, Access-list, Frame-Relay, RIPv1 and v2 on GNS3 so far. &lt;/p&gt;- Read as much as possible from the new Cisco Press book and &lt;a href=&quot;http://www.cisco.com/&quot;&gt;www.cisco.com&lt;/a&gt; as they seem to have everything you need on their website (funny how that works).&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot;&gt;- Practice exams (online and through Actual tests). Some people call this cheating,  I call it preparing for a tough exam. Just don’t use them to memorize  the answers, really try to learn from them (as they do &lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;u&gt;NOTHING&lt;/u&gt;&lt;/b&gt; for the sim’s and sim’s are a huge part of your exam score).&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/4294239120066582898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/07/my-road-to-ccna.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4294239120066582898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/4294239120066582898'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/07/my-road-to-ccna.html' title='My Road to the CCNA'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-1936203982869360629</id><published>2011-07-13T14:32:00.000-04:00</published><updated>2011-07-13T20:48:31.803-04:00</updated><title type='text'>Adding First and Last names to Active Directory</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:relyonvml/&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;    &lt;w:usefelayout/&gt;   &lt;/w:Compatibility&gt;   &lt;w:donotoptimizeforbrowser/&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin-top:0in;  mso-para-margin-right:0in;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0in;  mso-pagination:widow-orphan;  font-size:11.0pt;  mso-bidi-font-size:10.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;I know that my first blog being about VB scripting will shock some of you as I am a diehard SharePoint fan, but none the less this was cool. I wrote my first VB script the other day that import over 430 first and last names into Active Directory from a .csv file. It was awesome to see it work after hours or research and testing. I know that most of you are saying, big whoop I do this in my sleep, but for me it was a real eye opener. I hope that this helps someone else in the future. Anyways, here is what I did and what I learned....&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;I needed a quick way to import 430 first and last names into Active Directory. I knew that DSMOD would be the command that I would use to add them, but how to automate this so I didn’t have to do it by hand? VB Script. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Step #1: I need to declare all the variables in the top of the script. I have been told to put them up here is no necessary, just considered good “coding.” Here are the variables that I declared:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;dim&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;swnum&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;dim&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;swUser&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;dim&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;swFirst&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;dim&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;swLast&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;dim&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;i&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Set&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;oShell&lt;span style=&quot;mso-tab-count:2&quot;&gt;             &lt;/span&gt;= CreateObject(“Wscript.shell”)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Set&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;oNet&lt;span style=&quot;mso-tab-count:2&quot;&gt;               &lt;/span&gt;= CreateObject(“Wscript.Network”)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Set&lt;span style=&quot;mso-tab-count: 1&quot;&gt;       &lt;/span&gt;oFSO&lt;span style=&quot;mso-tab-count:2&quot;&gt;               &lt;/span&gt;= CreateObject(“Scripting.FileSystemObject”)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;f = 500&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;g = 0&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;i = 0&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size:7.0pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Step 1(b): In addition to declaring the variable, we need to define the path to the .csv file. This is how I did it:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;BSConfig&lt;span style=&quot;mso-tab-count:2&quot;&gt;           &lt;/span&gt;= “\\ServerUNC\Share\FileName.csv”&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Step 1(c): Now that we have defined the configuration file, we have to declare the variable that will call the configuration file. (confused yet?)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;BSinfo&lt;span style=&quot;mso-tab-count: 3&quot;&gt;                       &lt;/span&gt;= oFSO.OpenTextFile(BSConfig,ForReading,True)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Step #2: I need to write a sub-routine that would open the text file and query the .csv columns and push the values to the variables that I could use in the DSMOD command line. Here is the sub-routine:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Sub getinfo()&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;Do While BSinfo.AtEndOfStream &amp;lt;&amp;gt; True&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.75in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Line = Bsinfo.ReadLine&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;LineArray = Split(Line,“,”,-1,1)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.75in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;i = i + 1&lt;span style=&quot;mso-spacerun:yes&quot;&gt;   &lt;/span&gt;&amp;lt;- This was added to up the count each time to read different lines on the .csv file -&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.75in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.75in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;swnum&lt;span style=&quot;mso-tab-count: 1&quot;&gt;         &lt;/span&gt;= LineArray(0)&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;&amp;lt;- The LineArray(0) are the columns in the .csv files -&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.75in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;swUser&lt;span style=&quot;mso-tab-count: 1&quot;&gt;        &lt;/span&gt;= LineArray(1)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.75in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;swFirst&lt;span style=&quot;mso-tab-count:1&quot;&gt;       &lt;/span&gt;= LineArray(2)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.75in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;swLast&lt;span style=&quot;mso-tab-count: 1&quot;&gt;        &lt;/span&gt;= LineArray(3)&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Exit Do&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Wscript.sleep “5000”&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Loop&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;If i=500 then&lt;span style=&quot;mso-tab-count:2&quot;&gt;             &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;&amp;lt;- This will stop the script at the end. Change the 500 to a number after -&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;Wscript.exit&lt;span style=&quot;mso-spacerun:yes&quot;&gt;          &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;&amp;lt;- the last row in your .csv file -&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;end if&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:45.0pt;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Step #3: I need to write another sub-routine that would execute the DSMOD command. This was the tricky one. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Sub Process ()&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;Do While g&quot;less than&quot;f&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;       &lt;/span&gt;getinfo&lt;span style=&quot;mso-spacerun:yes&quot;&gt;         &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;&amp;lt;- this calls the sub-routine “getinfo” -&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;       &lt;/span&gt;if swUser = “END” then&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;          &lt;/span&gt;exit do&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;       &lt;/span&gt;end if&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto; mso-pagination:widow-orphan lines-together&quot;&gt;&lt;span style=&quot; Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;oshell.run “cmd /c start dsmod user “”CN=” &amp;amp; swUser &amp;amp; “,OU=Users,DC=Microsoft,DC=com”” –fn “ &amp;amp; swFirst &amp;amp; “ –ln “ &amp;amp; swLast&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;if g = 500 then&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;       &lt;/span&gt;wscript.quit&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;end if&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;g = g + 1&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;Loop&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt;    &lt;/span&gt;Wscript.sleep “1000”&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormalCxSpLast&quot; style=&quot;margin-left:.5in;mso-add-space:auto&quot;&gt;&lt;span style=&quot;Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;End Sub&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;text-indent:-.25in;mso-list:l0 level1 lfo1&quot;&gt;&lt;span style=&quot;font-family:Symbol;mso-fareast-font-family:Symbol; mso-bidi-font-family:Symbol;font-size:8.0pt;&quot;  &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;·&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;First, I had to get the EXACT command line with all the right switches for the DSMOD. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-indent:-.25in;mso-list:l0 level1 lfo1&quot;&gt;&lt;span style=&quot;font-family:Symbol;mso-fareast-font-family:Symbol; mso-bidi-font-family:Symbol;font-size:8.0pt;&quot;  &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;·&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Second, I had to use the “CMD start” line to call the CMD Prompt to execute the DSMOD command. This is the “oshell.run” line.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-indent:-.25in;mso-list:l0 level1 lfo1&quot;&gt;&lt;span style=&quot;font-family:Symbol;mso-fareast-font-family:Symbol; mso-bidi-font-family:Symbol;font-size:8.0pt;&quot;  &gt;&lt;span style=&quot;mso-list:Ignore&quot;&gt;·&lt;span style=&quot;font:7.0pt &amp;quot;Times New Roman&amp;quot;&quot;&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Third, I had to insert the variables from the sub-routine “getinfo” into the command line (this is where the rubber meets the road). Look for the variables in the DSMOD command line. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Step #4: I had to call the sub-routine that I wanted to run as the script. This is the part of the whole script that makes it work. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left:.5in&quot;&gt;&lt;span style=&quot; Courier New&amp;quot;font-family:&amp;quot;;font-size:7.0pt;&quot;  &gt;Process&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;&amp;lt;- This will call the sub-routine “Process” -&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:8.0pt;color:red;&quot;&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;Let’s review; I had to declare all my variables (at the top for “good coding”), then I wrote my sub-routines, after that I had the VB script run “process” which kicks off the whole script. Sit back and watch the fireworks. I have posted the entire script in the “Downloads” link below. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:8.0pt;&quot;&gt;This opened a whole new world for me. I am going to attempt to script everything now. &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://skydrive.live.com/?cid=162e6f14e9961a66#&quot;&gt;Download&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/1936203982869360629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/07/adding-first-and-last-names-to-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1936203982869360629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1936203982869360629'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/07/adding-first-and-last-names-to-active.html' title='Adding First and Last names to Active Directory'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/17920304554438870352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-1536098503980470230</id><published>2011-07-06T14:10:00.000-04:00</published><updated>2011-07-06T14:14:40.472-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Frame Relay"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><title type='text'>Frame-Relay lab (point-to-point)</title><content type='html'>&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves&gt;false&lt;/w:TrackMoves&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:enableopentypekerning/&gt;    &lt;w:dontflipmirrorindents/&gt;    &lt;w:overridetablestylehps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;&amp;#45;-&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin-top:0in;  mso-para-margin-right:0in;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0in;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt;I know (err hope) that Frame-Relay is on its way out but I hear that there are still some questions about it on the CCNA exam so….. I have to learn it. I found it to be a little easier to configure than I thought.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;;font-family:Calibri;font-size:100%;color:black;&quot;   &gt;In reading various blogs and “how-to” guides; everyone is suggesting to use sub-interfaces for Frame-Relay configurations. This is not necessary all the time however it makes it a lot easier to troubleshoot. Here is my network diagram&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVusY2lmbDgs1ZyKw82uDmEOcH3OgHDdTvodkxPsrpzCboTdukzuoLHbu-q50j_5EXqjnhVAeMjt-9qmmCkKFwqm8jXhMxErP1HH_Eoj7E5B6IQOGZDKUnVsOWv1cRE4J34QaOEF2Qt4k/s1600/FrameRelay.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 91px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVusY2lmbDgs1ZyKw82uDmEOcH3OgHDdTvodkxPsrpzCboTdukzuoLHbu-q50j_5EXqjnhVAeMjt-9qmmCkKFwqm8jXhMxErP1HH_Eoj7E5B6IQOGZDKUnVsOWv1cRE4J34QaOEF2Qt4k/s320/FrameRelay.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5626303707919867474&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;a href=&quot;https://x3jtpg.blu.livefilestore.com/y1mnNYzxdman2Q_2xqNhdUWPTZZ8riE7Rfr5UKpSzxpipzTpdM7pR0XEwz4XMeK5bf2xN4DBXH0Aq3xattL2nGvw_gaUZz4s3veY5jgS28m9S8vPpQgpXZngTkZMMwLhvk4Re1gK_gA9RCnsvzKlnNAdA/Frame-Lab.JPG?psid&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-hansi-font-family:Calibri;mso-bidi- mso-no-proof:yes;text-decoration:none;text-underline:nonefont-family:Calibri;color:blue;&quot;  &gt;&lt;span style=&quot;mso-ignore:vglayout&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;*Branch S1/0.100 points to DLCI 202 on Port 10 on frame switch&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;*Edge S1/0.100 points to DLCI 101 on Port 1 on frame switch&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt;I started the configuration by setting up the serial interfaces on the routers to use Frame-Relay (Don’t forget to turn on the interface – a.k.a. “no shutdown”):&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Branch#: configure terminal&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Branch(config)#: interface serial1/0&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Branch(config)#: encapsulation frame-relay&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Branch(config)#: no shutdown&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt;Then I move on to creating the sub-interfaces on the routers and assigning an IP address to them:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Branch(config)#: interface serial1/0.100 point-to-point&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Branch(config)#: ip address 10.1.1.2 255.255.255.252&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt;Then I need to set the frame-relay settings on the sub-interface (notice the “ietf” on the end of the command, that is the encapsulation type and since I am configuring this on a per-interface basis I need to include it in the command here as oppose to configuring the whole interface to use “ietf.”).  Since this is the “Branch” router and it connects to port 10 on the frame switch, I need to configure it with DLCI 202. Change this to 101 for the “Edge” router. &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; font-family:&amp;quot;Courier New&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Branch(config)#: frame-relay interface-dcli 202 &lt;b&gt;ietf&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt;That’s it, you’re all done. This is a simple point-to-point configuration. You could also use frame-mapping as well as multi-point configurations (which is really cool). &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height:normal&quot;&gt;&lt;span style=&quot; mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;font-size:100%;color:black;&quot;   &gt;Links to sites that helped me out:&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Cisco: &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;a href=&quot;http://www.cisco.com/en/US/docs/ios/12_1/wan/configuration/guide/wcdfrely.html#wp1003004&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;color:blue;&quot;  &gt;http://www.cisco.com/en/US/docs/ios/12_1/wan/configuration/guide/wcdfrely.html#wp1003004&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom:0in;margin-bottom:.0001pt;line-height: normal&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:100%;color:black;&quot;   &gt;Tech-recipes: &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;a href=&quot;http://www.tech-recipes.com/rx/385/cisco_configure_frame_relay_on_router/&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;color:blue;&quot;  &gt;http://www.tech-recipes.com/rx/385/cisco_configure_frame_relay_on_router/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-Times New Roman&amp;quot;;font-family:&amp;quot;;font-size:12.0pt;color:black;&quot;   &gt; &lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/1536098503980470230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/07/frame-relay-lab-point-to-point.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1536098503980470230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/1536098503980470230'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/07/frame-relay-lab-point-to-point.html' title='Frame-Relay lab (point-to-point)'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVusY2lmbDgs1ZyKw82uDmEOcH3OgHDdTvodkxPsrpzCboTdukzuoLHbu-q50j_5EXqjnhVAeMjt-9qmmCkKFwqm8jXhMxErP1HH_Eoj7E5B6IQOGZDKUnVsOWv1cRE4J34QaOEF2Qt4k/s72-c/FrameRelay.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8157562771085324296.post-6973494007694403117</id><published>2011-06-28T10:51:00.000-04:00</published><updated>2011-06-28T11:00:34.033-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>Changing color of output in Powershell script</title><content type='html'>I found a neat little command today that will change the output color of the text:&lt;br /&gt;&lt;br /&gt;Write-Host -foregroundcolor green &quot;Operation succeeded!&quot;&lt;br /&gt;&lt;br /&gt;This will change the color of the text &quot;Operation succeeded&quot; to bright green on the screen. So that got me thinking on how I could use this and I came up with a couple solutions.&lt;br /&gt;&lt;br /&gt;One situation where this would be handy is a UP/Down script. Say you wrote a script that would check to see if a server was up or down and wrote the output of UP in bright green letters on the screen. Also you could post DOWN in bright red letters. This is a visual cue that would help your sysadmins or helpdesk quickly identify if a server is up or down.&lt;br /&gt;&lt;br /&gt;This also solves another issue that I am facing - hiding the output in a powershell script. I have been looking for ways to hide the output of my commands in powershell script. I found that you can pipe the output to a NULL statement but then you lose the output. I wanted to keep the output however just didn&#39;t want the user to see it on the screen. That is now possible with the &quot;-foregroundcolor black&quot; option. It will put the output from the command as black on the screen  which will effectively hide it, but at the same time allowing me to highlight it and see what the output is if there is a problem.</content><link rel='replies' type='application/atom+xml' href='http://bobausmus.blogspot.com/feeds/6973494007694403117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bobausmus.blogspot.com/2011/06/changing-color-of-output-in-powershell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/6973494007694403117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8157562771085324296/posts/default/6973494007694403117'/><link rel='alternate' type='text/html' href='http://bobausmus.blogspot.com/2011/06/changing-color-of-output-in-powershell.html' title='Changing color of output in Powershell script'/><author><name>Bob Ausmus</name><uri>http://www.blogger.com/profile/05419439901562138015</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>