<?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-5990927967834772621</id><updated>2026-06-30T11:35:31.291-07:00</updated><title type='text'>Lanos Business Communications IT blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5990927967834772621.post-808158758237704170</id><published>2013-01-02T08:54:00.001-08:00</published><updated>2013-01-02T09:00:35.372-08:00</updated><title type='text'>How to integrate OpenSIS with Joomla LDAP authentication</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Whilst working with OpenSIS and Joomla for school intranets I have figured out a way to seamlessly integrate LDAP authentication in Joomla with OpenSIS.&lt;br /&gt;
&lt;br /&gt;
Here is how it works:&lt;br /&gt;
&lt;br /&gt;
A user which is logged in to Joomla can be automatically logged in to Opensis to see his /hers information.&lt;br /&gt;
&lt;br /&gt;
This way you protect your users from password faigue and having to maintain several different username /password databases.&lt;br /&gt;
&lt;br /&gt;
The integration automatically distinguishes between teacher / student / parent accounts.&lt;br /&gt;
&lt;br /&gt;
OpenSIS want couple of thousand dollars for proper LDAP integration.&lt;br /&gt;
I am happy to help you for US $200.&lt;br /&gt;
&lt;br /&gt;
To save on integration time, make sure of the following:&lt;br /&gt;
1. Working Joomla installation&lt;br /&gt;
2. Properly configured LDAP authentication within Joomla&lt;br /&gt;
&lt;br /&gt;
If you don&#39;t use LDAP it may still work, after I give you the integration technique and necessary files.&lt;br /&gt;
&lt;br /&gt;
If you&#39;re interested - drop me a line alexander AT lanos DOT co DOT uk&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/808158758237704170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2013/01/how-to-integrate-opensis-with-joomla.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/808158758237704170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/808158758237704170'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2013/01/how-to-integrate-opensis-with-joomla.html' title='How to integrate OpenSIS with Joomla LDAP authentication'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5990927967834772621.post-446373618466382199</id><published>2012-09-08T13:07:00.001-07:00</published><updated>2012-09-08T13:07:24.360-07:00</updated><title type='text'>PHP Script How to split domain from e-mail</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
function getDomainFromEmail($email)&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
// Get the data after the @ sign&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
$domain = substr(strrchr($email, &quot;@&quot;), 1);&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
return $domain;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
// Example&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
$email = &#39;the_username_here@&lt;a href=&quot;http://yahoo.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;yahoo.com&lt;/span&gt;&lt;/a&gt;&#39;;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
$domain = getDomainFromEmail($email);&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
echo $domain; // yahoo.com&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
?&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/446373618466382199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/php-script-how-to-split-domain-from-e.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/446373618466382199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/446373618466382199'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/php-script-how-to-split-domain-from-e.html' title='PHP Script How to split domain from e-mail'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-4227167236138025275</id><published>2012-09-08T13:06:00.004-07:00</published><updated>2012-09-08T13:06:14.957-07:00</updated><title type='text'>How to add a UPN suffix with VBScript VBS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&#39;----------Script configuration&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Const ADS_PROPERTY_APPEND=3&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
strNewSuffix=&quot;&lt;a href=&quot;http://test.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;test.com&lt;/span&gt;&lt;/a&gt;&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
strDomain=&quot;domain&lt;a href=&quot;http://domain.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;.com&lt;/span&gt;&lt;/a&gt;&quot; &amp;nbsp; &amp;nbsp;&#39;This must be the domain you&#39;re working with. If it is single domain - this is its name here&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&#39;----------End Script configuration&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
set objRootDSE =GetObject(&quot;LDAP://&quot;&amp;amp;strDomain &amp;amp; &quot;/RootDSE&quot;)&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
set objPartitions=GetObject(&quot;LDAP://cn=Partitions,&quot;&amp;amp; _&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRootDSE.Get(&quot;ConfigurationNamingContext&quot;))&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
objPartitions.PutEx ADS_PROPERTY_APPEND, &quot;uPNSuffixes&quot;, Array(strNewSuffix)&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
objPartitions.SetInfo&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/4227167236138025275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-add-upn-suffix-with-vbscript-vbs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4227167236138025275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4227167236138025275'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-add-upn-suffix-with-vbscript-vbs.html' title='How to add a UPN suffix with VBScript VBS'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-6535903856318190115</id><published>2012-09-08T13:04:00.002-07:00</published><updated>2012-09-08T13:04:25.507-07:00</updated><title type='text'>How to setup NTP time sync in Windows Server 2008</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
The good news is: When configured correctly, you can use the Windows Time (W32Time) service as an SNTP/NTP server for both windows and non-windows SNTP/NTP clients.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Here&#39;s how to do it:&lt;/div&gt;
&lt;ol class=&quot;ol1&quot;&gt;
&lt;li class=&quot;li2&quot;&gt;Click &lt;b&gt;Start&lt;/b&gt;, click &lt;b&gt;Run&lt;/b&gt;, type regedit, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;Locate and then click the following registry entry:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;In the right pane, right-click &lt;b&gt;AnnounceFlags&lt;/b&gt;, and then click &lt;b&gt;Modify&lt;/b&gt;.&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;In the &lt;b&gt;Edit DWORD Value&lt;/b&gt; dialog box, under &lt;b&gt;Value data&lt;/b&gt;, type 5, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;Enable NTPServer.&lt;/li&gt;
&lt;ol class=&quot;ol1&quot;&gt;
&lt;li class=&quot;li2&quot;&gt;Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Services\W32Time\TimeProviders\NtpServer\&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;In the right pane, right-click &lt;b&gt;Enabled&lt;/b&gt;, and then click &lt;b&gt;Modify&lt;/b&gt;.&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;In the &lt;b&gt;Edit DWORD Value&lt;/b&gt; dialog box, type 1 under &lt;b&gt;Value data&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;li class=&quot;li2&quot;&gt;Exit Registry Editor.&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;At the command prompt, type the following command to restart the Windows Time service, and then press ENTER:&lt;b&gt;net stop w32time &amp;amp;&amp;amp; net start w32time&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;p1&quot;&gt;
This should get you setup with minimal registry hack impact.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;Tips&lt;/b&gt;&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li2&quot;&gt;Make sure W32Time is set to Automatic startup mode.&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;Make sure UDP 123 is allowed through your firewall.&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;Use this &lt;b&gt;InternetTime&lt;/b&gt; program to help you debug connectivity to your SNTP/NTP server.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/6535903856318190115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-setup-ntp-time-sync-in-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6535903856318190115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6535903856318190115'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-setup-ntp-time-sync-in-windows.html' title='How to setup NTP time sync in Windows Server 2008'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-8547779241858532562</id><published>2012-09-08T13:03:00.002-07:00</published><updated>2012-09-08T13:03:39.828-07:00</updated><title type='text'>Windows 7 RDP how to hide remotely logged on users</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Once you are logged into one of these editions of Windows 7, type &quot;&lt;kbd&gt;secpol.msc&lt;/kbd&gt;&quot; into the start menu&#39;s search field and click on the first result, or type it into the Run dialog and hit&amp;nbsp;&lt;kbd&gt;Enter&lt;/kbd&gt;.&lt;br /&gt;&lt;img alt=&quot;Launch the Local Security Policy snap-in editor in Windows 7&quot; class=&quot;en-media&quot; height=&quot;57&quot; name=&quot;7f6af302-196b-4a5f-9969-42ef06b66726&quot; src=&quot;https://www.evernote.com/shard/s161/sh/36ac949b-9ae4-46f1-bf95-a8061e8ea31f/fba32700228331cc57d377b5b4e6b4db/res/7f6af302-196b-4a5f-9969-42ef06b66726.png&quot; width=&quot;152&quot; /&gt;&lt;/li&gt;
&lt;li&gt;This launches the &quot;&lt;strong&gt;Local Security Policy&lt;/strong&gt;&quot; editor / snap-in; double-click on &quot;&lt;strong&gt;Local Policies&lt;/strong&gt;&quot; to expand it, and select &quot;&lt;strong&gt;Security Options&lt;/strong&gt;&quot;. Then, scroll down until you find the entry labeled &quot;&lt;strong&gt;Interactive logon: Do not display last user name&lt;/strong&gt;&quot;, and double-click on it.&lt;br /&gt;&lt;br /&gt;This is a simple dialog which offers only two settings, &quot;&lt;strong&gt;Disabled&lt;/strong&gt;&quot; being checked by default. Select &quot;&lt;strong&gt;Enabled&lt;/strong&gt;&quot;, and click on the &quot;&lt;strong&gt;OK&lt;/strong&gt;&quot; button to apply the new setting (takes effect immediately).&lt;br /&gt;&lt;img alt=&quot;Hide usernames on Windows 7 logon screen&quot; class=&quot;en-media&quot; height=&quot;92&quot; name=&quot;165e85ce-9d56-4a17-9644-9a4cc6983472&quot; src=&quot;https://www.evernote.com/shard/s161/sh/36ac949b-9ae4-46f1-bf95-a8061e8ea31f/fba32700228331cc57d377b5b4e6b4db/res/165e85ce-9d56-4a17-9644-9a4cc6983472.png&quot; title=&quot;&quot; width=&quot;350&quot; /&gt;&lt;/li&gt;
&lt;li&gt;You can now test how the modified Windows 7 logon screen looks: hold down the&amp;nbsp;&lt;kbd&gt;Windows logo&lt;/kbd&gt;&amp;nbsp;key and press &quot;&lt;kbd&gt;L&lt;/kbd&gt;&quot; (as in Lock). Then, click on the &quot;&lt;strong&gt;Switch user&lt;/strong&gt;&quot; button to see all other users, and all you&#39;ll see are two blank text fields for username and password, respectively.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
Hide usernames on logon screen using the registry&lt;/h3&gt;
If you have Windows 7 Home Premium / Basic or Windows 7 starter, here&#39;s how to enable the same setting using the registry. Type &quot;&lt;kbd&gt;regedit&lt;/kbd&gt;&quot; in the start menu&#39;s search field, and click on the first result. Once the registry editor has opened, go to the following node (double-click on each to expand it).&lt;br /&gt;&lt;br /&gt;&lt;code style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(204, 204, 204); display: block; padding: 4px 0px 2px; text-align: center;&quot;&gt;HKEY_LOCAL_MACHINE &amp;gt; SOFTWARE &amp;gt; Microsoft &amp;gt; Windows &amp;gt; CurrentVersion &amp;gt; Policies &amp;gt; System&lt;/code&gt;&lt;br /&gt;
Edit the &quot;&lt;kbd&gt;DontDisplayLastUserName&lt;/kbd&gt;&quot; DWORD (create it if needed), and change its value to &quot;&lt;code&gt;1&lt;/code&gt;&quot; to enable the feature, or &quot;&lt;code&gt;0&lt;/code&gt;&quot; to disable it. The new setting also takes effect right away.&lt;br /&gt;
&lt;img alt=&quot;Disable usernames on Windows 7 welcome screen through registry&quot; class=&quot;en-media&quot; height=&quot;36&quot; name=&quot;c073cd4f-7893-4f1c-afdf-3925e2740207&quot; src=&quot;https://www.evernote.com/shard/s161/sh/36ac949b-9ae4-46f1-bf95-a8061e8ea31f/fba32700228331cc57d377b5b4e6b4db/res/c073cd4f-7893-4f1c-afdf-3925e2740207.png&quot; width=&quot;397&quot; /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/8547779241858532562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/windows-7-rdp-how-to-hide-remotely.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/8547779241858532562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/8547779241858532562'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/windows-7-rdp-how-to-hide-remotely.html' title='Windows 7 RDP how to hide remotely logged on users'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-5915362457158613220</id><published>2012-09-08T13:02:00.001-07:00</published><updated>2012-09-08T13:02:39.337-07:00</updated><title type='text'>Windows 7 where is All users Dekstop and Start Menu folder</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
All users desktop:&lt;br /&gt;
C:\Users\Public\Desktop\&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
All users start menu:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
C:\ProgramData\Microsoft\Windows\Start Menu\&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/5915362457158613220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/windows-7-where-is-all-users-dekstop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5915362457158613220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5915362457158613220'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/windows-7-where-is-all-users-dekstop.html' title='Windows 7 where is All users Dekstop and Start Menu folder'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-4721090889293492320</id><published>2012-09-08T13:01:00.002-07:00</published><updated>2012-09-08T13:01:19.954-07:00</updated><title type='text'>How to install DropBox for all users in Windows 7 64-bit</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
when you install DropBox using “run as administrator” the program gets installed to the administrator profile and wouldn’t be available for other users on the system.&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
Follow below steps to make the application available for all users on the system:&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol class=&quot;ol1&quot;&gt;
&lt;li class=&quot;li5&quot;&gt;Copy the DropBox install folder “C:\Users\Administrator\AppData\LocalLow\Dropbox” to “C:\Program Files (x86)\DropBox” folder&lt;/li&gt;
&lt;li class=&quot;li5&quot;&gt;Create a shortcut in “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\DropBox” folder to &quot;C:\Program Files (x86)\DropBox\bin\Dropbox.exe&quot;&lt;/li&gt;
&lt;li class=&quot;li5&quot;&gt;Copy the Shortcut to C:\Users\Public\Desktop folder as well to make it available to all users on their desktop&lt;/li&gt;
&lt;li class=&quot;li5&quot;&gt;when users launch the app they will be prompted to reconfigure app where they can specify their custom dropbox folder location&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/4721090889293492320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-install-dropbox-for-all-users-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4721090889293492320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4721090889293492320'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-install-dropbox-for-all-users-in.html' title='How to install DropBox for all users in Windows 7 64-bit'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-317325280997549140</id><published>2012-09-08T13:00:00.003-07:00</published><updated>2012-09-08T13:00:38.227-07:00</updated><title type='text'>How to import users into Active Directory AD from CSV</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
In Windows Server 2008 Launch Powershell&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;import-module activedirectory&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Check the modules installed:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;Get-Module -ListAvailable&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
import-csv names.csv | new-aduser&lt;/div&gt;
&lt;div class=&quot;p7&quot;&gt;
import-csv -delim &quot;;&quot; -path &quot;C:\import.csv&quot;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p6&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p8&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
$users = import-csv -delim &quot;;&quot; -path &quot;C:\import.csv&quot;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
foreach($user in $users)&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $pass = $user.Password&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $nom = $user.SamAccountName&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $prenom = $user.SamAccountName&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $displayname = $nom&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $login = $user.SamAccountName&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $ou = &quot;OU=30 mins,OU=2GB,DC=winopad,DC=com&quot;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $mail = $user.eMail&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; New-ADUser -name $displayname -surname $nom -givenname $prenom -displayname $displayname -samaccountname $login -accountpassword (convertto-securestring $pass -asplaintext -force) -Path $ou -EmailAddress $mail -enabled $true &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
$users = import-csv -delim &quot;;&quot; -path &quot;C:\test\UsersToBeCreated.csv&quot;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
foreach($user in $users)&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $pass = &quot;Password2011&quot;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $nom = $user.Surname&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $prenom = $user.GivenName&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $displayname = $prenom+&quot; &quot;+$nom&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $login = $user.SamAccountName&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $ou = &quot;OU=&quot; + $user.OU +&quot;,OU=UTILISATEURS,DC=domain,DC=local&quot;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $description = $user.Description&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $fonction = $user.Fonction&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $mail = $user.Mail&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $drive = $user.Share&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $directory = $user.DirectoryShare+$login&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; $phone = $user.PhoneNumber&lt;/div&gt;
&lt;div class=&quot;p9&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; New-ADUser -name $displayname -surname $nom -givenname $prenom -displayname $displayname -samaccountname $login -accountpassword (convertto-securestring $pass -asplaintext -force) -Path $ou -description $description -title $fonction -EmailAddress $mail -HomeDrive $drive -HomeDirectory $directory -OfficePhone $phone -enabled $true &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
}&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/317325280997549140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-import-users-into-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/317325280997549140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/317325280997549140'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-import-users-into-active.html' title='How to import users into Active Directory AD from CSV'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-5428610770281531853</id><published>2012-09-08T12:58:00.000-07:00</published><updated>2013-01-02T09:02:56.141-08:00</updated><title type='text'>Useful list of MS Exchange 2010/SP1 commands hosted mode</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-SendConnector -Name &#39;To Internet&#39; -Usage &#39;Custom&#39; -AddressSpaces &#39;SMTP:*;1&#39; -IsScopedConnector $false -DNSRoutingEnabled $true -UseExternalDNSServersEnabled $false -SourceTransportServers &#39;domain.co.uk&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
set-sendconnector “To Internet” –fqdn domain.co.uk&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-ExchangeCertificate -DomainName domain.co.uk | Enable-ExchangeCertificate -Services SMTP&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector -PermissionGroups &#39;AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers&#39; -Identity &#39;WEBHOST\Default WEBHOST&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-ReceiveConnector &quot;Default *&quot; | Set-ReceiveConnector -PermissionGroups:AnonymousUsers,ExchangeUsers,ExchangeServers&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-ReceiveConnector &quot;Default *&quot; &amp;nbsp;| Format-list&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector “WEBHOST\Default WEBHOST” -MaxMessageSize 40Mb&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector “WEBHOST\Client WEBHOST” -MaxMessageSize 40Mb&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Increase sending size to 100 MB for all send connectors&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
get-sendconnector &quot;*&quot; | Set-Sendconnector -MaxMessageSize 100mb&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-RoleGroupMember &quot;Organization Management&quot; -Member administrator&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-AcceptedDomain -Name &quot;MyDomain&quot; -DomainName domain.com -DomainType InternalRelay&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-AcceptedDomain -Identity &quot;Domain\Org&quot; -DomainType Authoritative&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-AcceptedDomain -Organization &quot;organization&quot; -Name &quot;COmpany&quot; -DomainName domain.co.uk -DomainType Authoritative&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-SendConnector -Name &quot;domain.com Send Connector&quot; -Internet -AddressSpace domain.com -DNSRoutingEnabled $false -SmartHosts 78.78.78.78 -SmartHostAuthMechanism &quot;None&quot; -MaxMessageSize 20MB&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-SendConnector -Name &quot;organization Send Connector&quot; -Internet -AddressSpace organization.co.uk -DNSRoutingEnabled $false -SmartHosts 78.129.227.77 -SmartHostAuthMechanism &#39;None&#39; -MaxMessageSize 20MB&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Relay&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-ReceiveConnector -Name &quot;Webhosting&quot; -Usage Custom -PermissionGroups AnonymousUsers -Bindings 79.79.79.79:25 -RemoteIpRanges 78.78.78.78&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-ReceiveConnector -Name Webhosting -usage Custom -Bindings &#39;79.79.79.79:25&#39; -fqdn domain.co.uk -RemoteIPRanges 79.79.79.79 -server WEBHOST -permissiongroups ExchangeServers -AuthMechanism &#39;TLS, ExternalAuthoritative&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-ReceiveConnector -Name &quot;Company&quot; -usage Custom -Bindings &#39;79.79.79.79:25&#39; -fqdn domain.co.uk -RemoteIPRanges 78.129.227.142 -server WEBHOST -permissiongroups ExchangeServers -AuthMechanism &#39;TLS, ExternalAuthoritative&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-ReceiveConnector &quot;WEBHOST\Company&quot; | Add-ADPermission -User &quot;NT AUTHORITY\ANONYMOUS LOGON&quot; -ExtendedRights &quot;ms-Exch-SMTP-Accept-Any-Recipient&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Internal domains relay&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-SendConnector -Name &quot;organization&quot; -Usage &quot;Custom&quot; -AddressSpaces &quot;SMTP:organization.co.uk;1&quot; -IsScopedConnector $false -SmartHosts 79.79.79.79 -DNSRoutingEnabled $false -SmartHostAuthMechanism &quot;None&quot; -UseExternalDNSServersEnabled $false -SourceTransportServers &quot;domain.co.uk&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;(this above must be configured for every hosted domain on the server)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Set product key&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ExchangeServer -Identity WEBHOST -ProductKey X8JBR-24DFV-444OY-WX8H2-K2FCC&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Working with Send connectors&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-SendConnector &quot;domain.com Send Connector&quot; | Format-List&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-SendConnector &quot;domain.com Send Connector&quot; -SmartHosts 78.78.78.78&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-SendConnector &quot;domain.com Send Connector&quot; -MaxMessageSize 40Mb&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Remove-SendConnector &quot;domain.com Send Connector&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-MailboxPermission &quot;John Doe&quot; -User &quot;Joe Public&quot; -AccessRights FullAccess&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;(add permissions)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Anti Spam (copy paste should work)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name &quot;BarracudaCentral&quot; -LookupDomain &quot;b.barracudacentral.org&quot; -BitMaskMatch 127.0.0.2&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-IPBlockListProvider &quot;BarracudaCentral&quot; -RejectionResponse &quot;Message Rejected by Barracuda Central.&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name bl.spamcop.net -LookupDomain bl.spamcop.net -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://www.spamcop.net/w3m?action=checkblock&amp;amp;ip={0} for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name dnsbl.sorbs.net -LookupDomain dnsbl.sorbs.net -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://www.au.sorbs.net/lookup.shtml for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://www.spamhaus.org/query/bl?ip={0} for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name cbl.abuseat.org -LookupDomain cbl.abuseat.org -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://cbl.abuseat.org/lookup.cgi?ip={0} for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name b.barracudacentral.org -LookupDomain b.barracudacentral.org -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://barracudacentral.org/lookups/ip-reputation for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name spam.dnsbl.sorbs.net -LookupDomain spam.dnsbl.sorbs.net -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://www.au.sorbs.net/lookup.shtml for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name spam.rbl.msrbl.net -LookupDomain spam.rbl.msrbl.net -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://www.msrbl.com/check?ip={0} for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name bl.spamcannibal.org -LookupDomain bl.spamcannibal.org -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://spamcannibal.org/cannibal.cgi for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-IPBlockListProvider -Name psbl.surriel.com -LookupDomain psbl.surriel.com -Enabled $True -RejectionResponse &quot;{1} has blocked your IP address ({0}) using the list &#39;{2}&#39;. Please see http://psbl.surriel.com/listing?ip={0} for further information. This organization has no control over this RBL (Realtime Block List).&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-IPBlockListConfig -Enabled $true&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
set-transportserver &quot;WEBHOST&quot; -antispamagentsenabled $true&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;End of Antispam commands&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Increase max message size&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-TransportConfig -MaxReceiveSize 40MB -MaxSendSize 40MB&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Enable SMTP logging&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector “WEBHOST\Default WEBHOST” -ProtocolLoggingLevel verbose&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-SenderReputationConfig -SenderBlockingEnabled $true -OpenProxyDetectionEnabled $true&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;(change default accepted domain)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-EmailAddressPolicy def* | Set-EmailAddressPolicy -EnabledEmailAddressTemplates &#39;SMTP:@organization.local&#39;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;(create new accepteddomain)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-AcceptedDomain -Name &quot;Local&quot; -DomainName organization.local -DomainType InternalRelay&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;(make it default)&amp;nbsp; &amp;nbsp; &lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-AcceptedDomain -Identity &quot;Local&quot; -DomainType Authoritative -MakeDefault $true &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Change default email address&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-AcceptedDomain -Name “organization”-DomainName organization.co.uk -DomainType Authoritative -Organization &quot;organization&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-AcceptedDomain -Identity &quot;organization\organization&quot; -DomainType Authoritative -MakeDefault $true&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-EmailAddressPolicy -Name “@organization.co.uk”-IncludedRecipients MailboxUsers -Organization &quot;organization&quot; -Priority 1 -EnabledEmailAddressTemplates “SMTP:@organization.co.uk”&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Update-EmailAddressPolicy -Identity “organization\@organization.co.uk”&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-Mailbox john@organization.com –EmailAddresses SMTP:john@organization.co.uk&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-Mailbox -identity &quot;company\test@test.com&quot; -emailaddresspolicyenabled $false –EmailAddresses SMTP:test1@test.com&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;SMTP via 587 remove sending delay&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector &quot;WEBHOST\Client WEBHOST&quot; -MaxAcknowledgementDelay 0&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-AcceptedDomain -Identity &quot;organization\organization&quot; -DomainType InternalRelay&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-AcceptedDomain -Organization &quot;Company&quot; -Name &quot;Gmail&quot; -DomainName gmail.com -DomainType Authoritative&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-Mailbox user@domain.com –EmailAddresses SMTP:user@gmail.com&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Set mailbox access permissions&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-Mailbox &quot;organization\Company Support&quot; -EmailAddressPolicyEnabled $false&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-Mailbox &quot;organization\Company Support&quot; –EmailAddresses SMTP:support@free-vps.co.uk&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-MailboxPermission &quot;organization\Company Support&quot; -User &quot;john Doe&quot; -AccessRights FullAccess&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Add-ADPermission &quot;Company Support&quot; -User &quot;john Doe&quot; -Extendedrights &quot;Send As&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;(set global mailbox quotas)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-MailboxDatabase -Identity &quot;Mailbox Database 1513447900&quot; -IssueWarningQuota 4GB -ProhibitSendQuota 5GB -ProhibitSendReceiveQuota 5GB -QuotaNotificationSchedule &quot;Sun.2:00-Sun.3:00&quot;,&quot;Wed.2:00-Wed.3:00&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;get all mailbox sizes in a nice layout&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-MailboxStatistics -database “Mailbox Database 1513447900” | Select DisplayName, LastLoggedOnUserAccount, ItemCount, TotalItemSize, LastLogonTime, LastLogoffTime | Sort-Object TotalItemSize –Descending | Format-Table&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector &quot;WEBHOST\Client WEBHOST&quot; -MaxAcknowledgementDelay 0&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-AcceptedDomain -Identity &quot;organization\organization&quot; -DomainType InternalRelay&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-AcceptedDomain -Organization &quot;Company&quot; -Name &quot;Gmail&quot; -DomainName gmail.com -DomainType Authoritative&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-Mailbox user@domain.com –EmailAddresses SMTP:user@gmail.com&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Enable IMAP and POP3&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-service msExchangeIMAP4 -startuptype automatic&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Start-service msExchangeIMAP4&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-service msExchangePOP3 -startuptype automatic&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Start-service -service msExchangePOP3&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Publish settings to OWA&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-POPSettings -ExternalConnectionSettings &quot;domain.co.uk:110:tls&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-IMAPSettings -ExternalConnectionSettings &quot;domain.co.uk:143:tls&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector -Identity &quot;WEBHOST\Client WEBHOST&quot; -AdvertiseClientSettings:$true&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Enable RPC over HTTP&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Enable-OutlookAnywhere -Server &#39;domain.co.uk&#39; -ExternalHostname &#39;domain.co.uk&#39; -DefaultAuthenticationMethod &#39;NTLM&#39; -SSLOffloading $false&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;View/amend organization quotas&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-RecipientEnforcementProvisioningPolicy -Organization Company| fl&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-RecipientEnforcementProvisioningPolicy -Identity “Company\Recipient Quota Policy” -MailboxCountQuota 10 -MailUserCountQuota 10&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;List all accepted domains for all hosted organizations&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
get-accepteddomain *\*&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Enable and assign SSL certificate to the following services. Usually IIS is also in the list&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Enable-ExchangeCertificate -Server &#39;WEBHOST&#39; -Services &#39;IMAP, POP, SMTP&#39; -Thumbprint &#39;8FB34D1B40EFF76A663BA3D0123EC41F1795D794&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Enable-ExchangeCertificate -Server &#39;WEBHOST&#39; -Services &#39;IMAP, POP, SMTP&#39; -Thumbprint &#39;1CD841B8E6AD573A9CF607C0BB2E02C8E115C615&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-ExchangeCertificate [-Thumbprint &lt;string&gt;] [-DomainController &lt;fqdn&gt;] [-DomainName &lt;multivaluedproperty&gt;] [-Server &lt;serveridparameter&gt;]&lt;/serveridparameter&gt;&lt;/multivaluedproperty&gt;&lt;/fqdn&gt;&lt;/string&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Restart POP and IMAP services after certificate application&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
net stop MSExchangePOP3&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
net start MSExchangePOP3&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
net stop MSExchangeIMAP4&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
net start MSExchangeIMAP4&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Create new unathenticated relay via server&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
New-ReceiveConnector -Name Webserver -Usage Custom -PermissionGroups AnonymousUsers -Bindings 0.0.0.0:25 -RemoteIpRanges 78.78.78.78&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Get-ReceiveConnector Webserver | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “Ms-Exch-SMTP-Accept-Any-Recipient”&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ReceiveConnector Webserver -MaxMessageSize 40MB&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;if cannot logon to EMC due to red message. Usually iisreset helps.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
set-transportconfig -MaxReceiveSize 100MB -MaxSendSize 100MB&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Enable Out Of Office for external recipients&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-RemoteDomain -AllowedOOFType &#39;External&#39; -Identity &#39;Default&#39;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Setting external URLs for various services&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-OWAVirtualDirectory –Identity &quot;WEBHOST\owa (Default Web Site)&quot; -ExternalURL https://domain.co.uk/OWA&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-OABVirtualDirectory –Identity &quot;WEBHOST\OAB (Default Web Site)&quot; &amp;nbsp;-ExternalURL https://domain.co.uk/OAB&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-WebServicesVirtualDirectory –Identity &quot;WEBHOST\EWS (Default Web Site)&quot; -ExternalURL https://domain.co.uk/ews/exchange.asmx&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ActiveSyncVirtualDirectory –Identity &quot;WEBHOST\Microsoft-Server-ActiveSync (Default Web Site)&quot; -ExternalURL https://domain.co.uk/Microsoft-Server-ActiveSync&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Set-ECPVirtualDirectory –Identity &quot;WEBHOST\ECP (Default Web Site)&quot; -ExternalURL https://domain.co.uk/ECP&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Useful links:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
http://technet.microsoft.com/en-us/library/bb123545.aspx&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
http://www.allspammedup.com/2010/11/exchange-2010ip-blocklist-providers-in-exchange-2010/&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
http://jacobddixon.wordpress.com/2011/03/06/exchange-2010-sp1-multi-tenant-step-3-of-3/&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
http://mhlavaty.wordpress.com/2011/08/31/how-to-change-recipient-quota-policy-on-exchange-2010-hosted-mode/#comment-6&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/5428610770281531853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/useful-list-of-ms-exchange-2010sp1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5428610770281531853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5428610770281531853'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/useful-list-of-ms-exchange-2010sp1.html' title='Useful list of MS Exchange 2010/SP1 commands hosted mode'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-6869449501292122876</id><published>2012-09-08T12:43:00.001-07:00</published><updated>2012-09-08T12:43:48.316-07:00</updated><title type='text'>How to upgrade/Downgrade Windows 7 installation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
Go to&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
HKLM/Software/Microsoft/Windows NT/CurrentVersion&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
change EditionID to be Professional&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
and Product name to be Windows 7 Professional&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Then install Windows and click upgrade.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/6869449501292122876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-upgradedowngrade-windows-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6869449501292122876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6869449501292122876'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-upgradedowngrade-windows-7.html' title='How to upgrade/Downgrade Windows 7 installation'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-1670847592693215894</id><published>2012-09-08T12:41:00.001-07:00</published><updated>2012-09-08T12:41:31.445-07:00</updated><title type='text'>How to Sync Shared Gmail calendar with iPhone</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
Android phones will sync your email, contacts, and all of your calendars by just singing into your Gmail account. If you have an iPhone however, you will miss out on contact syncing if you set up your account as a Gmail account.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;en-media&quot; height=&quot;256&quot; name=&quot;fe72c593-b2ec-42ce-9da2-5fafdde32e6d&quot; src=&quot;https://www.evernote.com/shard/s161/sh/f44f1368-1999-4a62-a246-df9293d4d639/6e80a0054cf189860dcbc7b362ceba72/res/fe72c593-b2ec-42ce-9da2-5fafdde32e6d.png&quot; style=&quot;border: 0px; display: inline; margin-left: -2px;&quot; title=&quot;gmail-sync-settings&quot; width=&quot;352&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
There is another option. You can set up your Gmail account as an Exchange account and be able to sync your email, contacts, and calendar, but by default it will only sync your primary calendar.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;en-media&quot; height=&quot;254&quot; name=&quot;9c66ddf4-387b-4868-9cff-924f35539f3d&quot; src=&quot;https://www.evernote.com/shard/s161/sh/f44f1368-1999-4a62-a246-df9293d4d639/6e80a0054cf189860dcbc7b362ceba72/res/9c66ddf4-387b-4868-9cff-924f35539f3d.png&quot; style=&quot;border: 0px; display: inline; margin-left: -2px;&quot; title=&quot;exchange-sync-settings&quot; width=&quot;352&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
To add additional calendars you need to open your Safari browser on your iPhone and go to&amp;nbsp;&lt;a href=&quot;http://m.google.com/sync&quot; id=&quot;&quot; target=&quot;_blank&quot;&gt;http://m.google.com/sync&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;en-media&quot; height=&quot;512&quot; name=&quot;9779af44-4ff6-4ba7-874b-60d962d80705&quot; src=&quot;https://www.evernote.com/shard/s161/sh/f44f1368-1999-4a62-a246-df9293d4d639/6e80a0054cf189860dcbc7b362ceba72/res/9779af44-4ff6-4ba7-874b-60d962d80705.png&quot; style=&quot;border: 0px; display: inline; margin-left: -2px;&quot; title=&quot;mobile-sync&quot; width=&quot;352&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
Sign in with your Google account and then select which phone you want to change your sync settings on.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;en-media&quot; height=&quot;512&quot; name=&quot;d7e8958a-a8a2-4431-bc5c-d3a54ef5a048&quot; src=&quot;https://www.evernote.com/shard/s161/sh/f44f1368-1999-4a62-a246-df9293d4d639/6e80a0054cf189860dcbc7b362ceba72/res/d7e8958a-a8a2-4431-bc5c-d3a54ef5a048.png&quot; style=&quot;border: 0px; display: inline; margin-left: -2px;&quot; title=&quot;sync-device-selection&quot; width=&quot;352&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
Select which calendars you would like sync with your phone.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;en-media&quot; height=&quot;512&quot; name=&quot;c0ee9f00-0436-4b5f-a256-5720fe2ff38f&quot; src=&quot;https://www.evernote.com/shard/s161/sh/f44f1368-1999-4a62-a246-df9293d4d639/6e80a0054cf189860dcbc7b362ceba72/res/c0ee9f00-0436-4b5f-a256-5720fe2ff38f.png&quot; style=&quot;border: 0px; display: inline; margin-left: -2px;&quot; title=&quot;sync-calendar-selection&quot; width=&quot;352&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
Open your calendar app and open calendars in the top left corner. You should now see multiple calendars listed under your account instead of just the primary one you had before.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
If you don’t, hit the refresh button in the bottom left corner or just give it 5-10 minutes to pull in your new calendars. If the calendars still do not show up, go to your settings app and remove your Gmail account and then add it again.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;en-media&quot; height=&quot;512&quot; name=&quot;6bd249df-004e-4b0f-b30d-b90f687e03dd&quot; src=&quot;https://www.evernote.com/shard/s161/sh/f44f1368-1999-4a62-a246-df9293d4d639/6e80a0054cf189860dcbc7b362ceba72/res/6bd249df-004e-4b0f-b30d-b90f687e03dd.png&quot; style=&quot;border: 0px; display: inline; margin-left: -2px;&quot; title=&quot;calendar-select&quot; width=&quot;352&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding: 0px;&quot;&gt;
Once you see your shared calendars, check the ones you want to view by default in the calendar app and you are all set.&lt;/div&gt;
&lt;span style=&quot;color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px;&quot;&gt;If you have problems with the&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px;&quot;&gt;&lt;a href=&quot;http://m.google.com/sync&quot; id=&quot;&quot; target=&quot;_blank&quot;&gt;m.google.com/sync&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px;&quot;&gt;web page not forwarding properly from your mobile browser you can also go to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px;&quot;&gt;&lt;a href=&quot;https://www.google.com/calendar/iphoneselect&quot; id=&quot;&quot; target=&quot;_blank&quot;&gt;https://www.google.com/calendar/iphoneselect&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #333333; font-family: Verdana; font-size: 14px; line-height: 17px;&quot;&gt;from your computer’s browser to turn on and off calenders for your iPhone. This will bypass the device selection but may work for non-iOS devices connected to Gmail via Exchange.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/1670847592693215894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-sync-shared-gmail-calendar-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/1670847592693215894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/1670847592693215894'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-sync-shared-gmail-calendar-with.html' title='How to Sync Shared Gmail calendar with iPhone'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-4495426556945728176</id><published>2012-09-08T12:38:00.000-07:00</published><updated>2012-09-08T12:38:07.830-07:00</updated><title type='text'>PHP 5.3 and IIS, XAMPP, Apache - slow loading</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
To fix this it is as easy as changing your database connection from using a hostname (such as localhost or &lt;a href=&quot;http://server.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;server.com&lt;/span&gt;&lt;/a&gt;), and instead using an IP address (such as 127.0.0.1 or 192.168.1.2). After a quick restart of IIS to make sure the changes get applied page loads are back down where I expect them to be.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
change configuration of mysql files to be 127.0.0.1 instead of localhost&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Hi guys, my problem was a name resolution issue all because I had the skip-name-resolve in my my.ini in the wrong spot. It was in [mysql] when in fact it should be in [mysqld]. Fixed my own problem in the end but not without a bit of debugging first..&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/4495426556945728176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/php-53-and-iis-xampp-apache-slow-loading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4495426556945728176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4495426556945728176'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/php-53-and-iis-xampp-apache-slow-loading.html' title='PHP 5.3 and IIS, XAMPP, Apache - slow loading'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-1482498937426575016</id><published>2012-09-08T12:37:00.002-07:00</published><updated>2013-01-02T09:05:10.152-08:00</updated><title type='text'>Joomla JsmallFIb userbound parameter</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
{jsmallfib [USERBOUND] abspath(c:\user files)} will get you to c:\user files\username where username is the logon name of the person logged in (e.g. jsmith)&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/1482498937426575016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/joomla-jsmallfib-userbound-parameter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/1482498937426575016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/1482498937426575016'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/joomla-jsmallfib-userbound-parameter.html' title='Joomla JsmallFIb userbound parameter'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-5193705158792397936</id><published>2012-09-08T12:35:00.002-07:00</published><updated>2012-09-08T12:35:34.880-07:00</updated><title type='text'>XAMPP Apache PHP how to increase upload limit</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;/span&gt;







&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;How can you increase the PHP upload limit?&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
This can be done with the php.ini file. Here is how you do it:&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Create a file under public_html and name it php.ini (if you do not have one yet.) Put the following in it:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
upload_max_filesize = 5M&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
post_max_size = 5M&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Replace the&amp;nbsp;&lt;b&gt;5&lt;/b&gt;&amp;nbsp;with&amp;nbsp;&lt;b&gt;20&lt;/b&gt;&amp;nbsp;or less. If you are letting other people upload, a size cap protects your storage space from abuse/overuse.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;You will then need to add this line to a .htaccess file:&lt;/b&gt;&amp;nbsp;(Please replace &quot;yourusername&quot; with your cpanel user name an add to the end of the comand line the folder(s) to the location of the php.ini file - Also there is a space between path and /home)&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
suPHP_ConfigPath /home/Yourusername/public_html&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Now your PHP upload limit should be increased.&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/5193705158792397936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/xampp-apache-php-how-to-increase-upload.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5193705158792397936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5193705158792397936'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/xampp-apache-php-how-to-increase-upload.html' title='XAMPP Apache PHP how to increase upload limit'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5990927967834772621.post-4965239674707864704</id><published>2012-09-08T12:34:00.001-07:00</published><updated>2012-09-08T12:34:05.401-07:00</updated><title type='text'>VMWare ESXi how to import a HDD from another ESXi foreign disk</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;esxcfg-volume -l &amp;nbsp;- &lt;/b&gt;list volumes, find UUID&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
VMFS3 UUID/label:&amp;nbsp;&amp;nbsp;4dd52c33-b742ddde-cdc1-001e670402c1/SBS-Datastore&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Can mount:&amp;nbsp;&amp;nbsp;Yes&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Can resignature:&amp;nbsp;&amp;nbsp;Yes&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Extent name:&amp;nbsp;&amp;nbsp;naa.6003005700ed60001666bf1f70936030:1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; range: 0 - 476671 (MB)&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;esxcfg-volume -M 4dd52c33-b742ddde-cdc1-001e670402c1&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
You need to tell it to detect the existing datastore:&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
esxcfg-advcfg -s 1 /LVM/EnableResignature&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
esxcfg-advcfg -s 0 /LVM/DisallowSnapshotLun&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Scan the volume:&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
esxcfg-rescan vmhba0 &amp;amp;&amp;amp; esxcfg-rescan vmhba1&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
vmhba0 and vmhba1 are the volumes on your system.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Then login with the vi client:&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Configuration -&amp;gt;Storage&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Select Rescan&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Which will scan for:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
New storage adapters.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Scan for new VMFS volumes.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Click Refresh&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Then go back to the summary and change the name of datastore from&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
snap-blah&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
To:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
datastore1 or whatever name you want.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Then turn the resignature option off.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
esxcfg-advcfg -s 0 /LVM/EnableResignature&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
esxcfg-advcfg -s 1 /LVM/DisallowSnapshotLun&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
We create a 5 GB volume to install esxi on, so we can reinstall esxi without affecting the existing datastore(s).&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/4965239674707864704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/vmware-esxi-how-to-import-hdd-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4965239674707864704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/4965239674707864704'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/vmware-esxi-how-to-import-hdd-from.html' title='VMWare ESXi how to import a HDD from another ESXi foreign disk'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-6681623947142750446</id><published>2012-09-08T12:32:00.002-07:00</published><updated>2012-09-08T12:32:10.505-07:00</updated><title type='text'>VMWare Virtual machine only shows 4 CPUs instead of 8</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Setting the number of cores per CPU in a virtual machine&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;Purpose&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
This article provides information on setting number of cores per CPU in a virtual machine.&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;Resolution&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Some operating system SKUs are hard-limited to run on a fixed number of CPUs. For example, Windows Server 2003 Standard Edition is limited to run on up to 4 CPUs. If you install this&amp;nbsp;operating system&amp;nbsp;on an 8-socket physical box, it&amp;nbsp;runs on only 4 of the CPUs. The&amp;nbsp;operating system&amp;nbsp;takes advantage of multi-core CPUs so if your CPUs are dual core, Windows Server&amp;nbsp;2003&amp;nbsp;SE&amp;nbsp;runs on up to 8 cores, and if you have quad-core CPUs, it&amp;nbsp;runs on up to 16 cores, and so on.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Virtual CPUs (vCPU) in VMware virtual machines appear to the&amp;nbsp;operating system&amp;nbsp;as single core CPUs. So, just like in the example above, if you create a&amp;nbsp;virtual machine&amp;nbsp;with 8 vCPUs (which you can do with vSphere) the&amp;nbsp;operating system&amp;nbsp;sees 8 single core CPUs. If the&amp;nbsp;operating system&amp;nbsp;is Windows&amp;nbsp;2003&amp;nbsp;SE (limited to 4 CPUs) it&amp;nbsp;only runs on 4 vCPUs.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;Note&lt;/b&gt;: Remember that 1 vCPU maps onto a physical &lt;i&gt;core&lt;/i&gt; not a physical CPU, so the&amp;nbsp;virtual machine&amp;nbsp;is actually getting to run on 4 cores.&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Considering that 1 vCPU&amp;nbsp;is equal to 1 CPU&amp;nbsp;is an assumption for the sake of simplification, since vCPUs are scheduled on logical CPUs which are hardware execution contexts. These tasks can&amp;nbsp;take a while&amp;nbsp;in the case of a single core CPU,&amp;nbsp;CPUs that have only&amp;nbsp;1 thread per core, or could be just a thread in the case of a CPU that has hyperthreading.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Consider this scenario:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
In the physical world&amp;nbsp;you can run Windows 2003&amp;nbsp;SE on up to 8 cores (using&amp;nbsp;a 2-socket quad-core box) but in a&amp;nbsp;virtual machine&amp;nbsp;they can only run on 4 cores because VMware tells the&amp;nbsp;operating system&amp;nbsp;that each CPU has only 1 core per socket.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
VMware now has a setting which provides you control over the number of cores per CPU in a virtual machine.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
This&amp;nbsp;new&amp;nbsp;setting, which you can add to the&amp;nbsp;virtual machine configuration (&lt;span class=&quot;s1&quot;&gt;.vmx&lt;/span&gt;) file,&amp;nbsp;lets you set the number of cores per virtual socket in the virtual machine.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
To implement this feature:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
1.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Power off the virtual machine.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
2.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Right-click on the&amp;nbsp;virtual machine&amp;nbsp;and&amp;nbsp;click &lt;b&gt;Edit Settings&lt;/b&gt;.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
3.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Click &lt;b&gt;Hardware&lt;/b&gt; and select &lt;b&gt;CPUs&lt;/b&gt;.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
4.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Choose the number of virtual processors.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
5.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Click&amp;nbsp;the &lt;b&gt;Options&lt;/b&gt; tab.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
6.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Click General, in the Advanced options section.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
7.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Click &lt;b&gt;Configuration Parameters&lt;/b&gt;.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
8.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Include&amp;nbsp;&lt;b&gt;cpuid.coresPerSocket&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; column.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
9.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Enter a value (try 2, 4, or 8) in the &lt;b&gt;Value&lt;/b&gt; column.&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;Note&lt;/b&gt;: Ensure that the number of vCPUs is divisible by the number of&amp;nbsp; &lt;span class=&quot;s1&quot;&gt;cpuid.coresPerSocket&lt;/span&gt; in the virtual machine.&amp;nbsp;That is, when you divide the number of vCPUs by&amp;nbsp;the number of &lt;span class=&quot;s1&quot;&gt;cpuid.coresPerSocket&lt;/span&gt;, it must return an integer value. For example,&amp;nbsp;if your virtual machine&amp;nbsp;is created with 8 vCPUs, coresPerSocket&lt;span class=&quot;s4&quot;&gt;&amp;nbsp;&lt;/span&gt;can only be 1, 2, 4, or 8.&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
The&amp;nbsp;virtual machine&amp;nbsp;now appears to the&amp;nbsp;operating system&amp;nbsp;as having multi-core CPUs with the number of cores per CPU given by the value that you provided in step 9.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
10.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&lt;/span&gt; Click &lt;b&gt;OK&lt;/b&gt;.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
11.&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&lt;/span&gt; Power on the virtual machine.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
For example:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Create an 8 vCPU&amp;nbsp;virtual machine&amp;nbsp;and set&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;cpuid.coresPerSocket = 2&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;.&lt;/span&gt; Window Server 2003&amp;nbsp;SE running in this virtual machine&amp;nbsp;now uses all 8 vCPUs. Under the covers, Windows sees 4 dual-core CPUs. The&amp;nbsp;virtual machine&amp;nbsp;is actually running on 8 physical cores.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;Note&lt;/b&gt;:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s6&quot;&gt;·&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Only values of 1, 2, 4, 8 for the&lt;span class=&quot;s5&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;cpuid.coresPerSocket&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;&amp;nbsp;&lt;/span&gt;are supported for the multi-core vCPU feature in ESX 4.x.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s6&quot;&gt;·&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; In ESX 4.0, if multi-core vCPU is used, hot-plug vCPU is &lt;i&gt;not&lt;/i&gt; permitted, even if it is available in the UI.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s6&quot;&gt;·&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; Only HV 7 virtual machines support the multi-core vCPU feature.&lt;span class=&quot;s3&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;Important&lt;/b&gt;: When using&lt;span class=&quot;s5&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;cpuid.coresPerSocket&lt;/span&gt;, you should always ensure that you are in compliance with the requirements of your&amp;nbsp;operating system&amp;nbsp;EULA&amp;nbsp;(Regarding the number of physical CPUs on which the&amp;nbsp;operating system&amp;nbsp;is actually running).&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p6&quot;&gt;
&lt;span class=&quot;s7&quot;&gt;Pasted from &amp;lt;&lt;a href=&quot;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1010184&quot;&gt;&lt;span class=&quot;s8&quot;&gt;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1010184&lt;/span&gt;&lt;/a&gt;]]]]&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/6681623947142750446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/vmware-virtual-machine-only-shows-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6681623947142750446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6681623947142750446'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/vmware-virtual-machine-only-shows-4.html' title='VMWare Virtual machine only shows 4 CPUs instead of 8'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-8533483159437552489</id><published>2012-09-08T12:30:00.003-07:00</published><updated>2012-09-08T12:30:17.500-07:00</updated><title type='text'>MySQL How to change column Order</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
ALTER TABLE `students` MODIFY COLUMN `first_name` varchar(50) AFTER `last_name`&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/8533483159437552489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-how-to-change-column-order_8.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/8533483159437552489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/8533483159437552489'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-how-to-change-column-order_8.html' title='MySQL How to change column Order'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-1039093097634203424</id><published>2012-09-08T12:30:00.001-07:00</published><updated>2012-09-08T12:30:09.341-07:00</updated><title type='text'>MySQL How to change column Order</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
ALTER TABLE `students` MODIFY COLUMN `first_name` varchar(50) AFTER `last_name`&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/1039093097634203424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-how-to-change-column-order.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/1039093097634203424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/1039093097634203424'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-how-to-change-column-order.html' title='MySQL How to change column Order'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-446709773622621560</id><published>2012-09-08T12:29:00.002-07:00</published><updated>2012-09-08T12:29:49.055-07:00</updated><title type='text'>MySQL how to turn off Strict mode</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
Open your &quot;my.ini&quot; file within the MySQL installation directory, and look for the text &quot;sql-mode&quot;.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Find:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Code:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
# Set the SQL mode to strict&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
sql-mode=&quot;STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Replace with:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Code:&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
# Set the SQL mode to strict&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
sql-mode=&quot;NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION&quot;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Or, you can run an SQL query within your database management tool, such as phpMyAdmin:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Code:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;b&gt;SET @@global.sql_mode= &#39;&#39;;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/446709773622621560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-how-to-turn-off-strict-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/446709773622621560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/446709773622621560'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-how-to-turn-off-strict-mode.html' title='MySQL how to turn off Strict mode'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-3535720928388208111</id><published>2012-09-08T12:28:00.001-07:00</published><updated>2012-09-08T12:28:12.419-07:00</updated><title type='text'>MySQL XAMPP How to Export Stored Procedures and triggers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
MySQL 5 has introduced some new interesting features, like&amp;nbsp;&lt;a href=&quot;http://dev.mysql.com/tech-resources/articles/mysql-storedprocedures.html&quot;&gt;&lt;span class=&quot;s1&quot;&gt;stored procedures&lt;/span&gt;&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;http://dev.mysql.com/tech-resources/articles/mysql-triggers.html&quot;&gt;&lt;span class=&quot;s1&quot;&gt;triggers&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
I will show in this small post how we can backup and restore these components using&lt;b&gt;mysqldump&lt;/b&gt;.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
mysqldump will backup&amp;nbsp;&lt;i&gt;by default&lt;/i&gt;&amp;nbsp;all the&amp;nbsp;&lt;b&gt;triggers&amp;nbsp;&lt;/b&gt;but&amp;nbsp;&lt;b&gt;NOT&amp;nbsp;&lt;/b&gt;the&amp;nbsp;&lt;b&gt;stored procedures/functions&lt;/b&gt;. There are 2 mysqldump parameters that control this behavior:&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;–routines – FALSE by default&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;–triggers – TRUE by default&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;p1&quot;&gt;
This means that if you want to include in an existing backup script also the triggers and stored procedures you only need to add the&amp;nbsp;&lt;b&gt;–routines&amp;nbsp;&lt;/b&gt;command line parameter:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
mysqldump &lt;other mysqldump=&quot;mysqldump&quot; options=&quot;options&quot;&gt; --routines &amp;gt; outputfile.sql&amp;nbsp;&lt;/other&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Let’s assume we want to backup&amp;nbsp;&lt;b&gt;ONLY the stored procedures and triggers&lt;/b&gt;&amp;nbsp;and not the mysql tables and data (this can be useful to import these in another db/server that has already the data but not the stored procedures and/or triggers), then we should run something like:&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt &lt;database&gt; &amp;gt; outputfile.sql&lt;/database&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;
and this will save only the procedures/functions/triggers of the &lt;database&gt;. If you need to import them to another db/server you will have to run something like:&lt;/database&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
mysql &lt;database&gt; &amp;lt; outputfile.sql&lt;/database&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
Working example:&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
Works on XAMPP:&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p6&quot;&gt;
&lt;b&gt;mysqldump --user root --password=p1ssw0rd --routines --no-create-info --no-data --no-create-db --skip-opt mydatabase &amp;gt; c:\mydatabase_procs.sql&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p7&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p7&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p6&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p8&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/3535720928388208111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-xampp-how-to-export-stored.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/3535720928388208111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/3535720928388208111'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mysql-xampp-how-to-export-stored.html' title='MySQL XAMPP How to Export Stored Procedures and triggers'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-3707331359284652882</id><published>2012-09-08T12:25:00.000-07:00</published><updated>2012-09-08T12:25:04.513-07:00</updated><title type='text'>How to upgrade MacBook Air to Mac OSX Lion</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
A few things to keep in mind.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
1.&amp;nbsp; Reinstalling Lion will not reinstall iLife. You will have to redownload iMovie, iPhoto, and Garage band from the App store.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Fist method: installing Lion from the net&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
1.&amp;nbsp; Turn on your computer, holding the option key+power key.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
2. Let go of the power key while maintaining hold on the option key.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
3. Use your cursor to select your network under &quot;choose your network&quot;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
4. Select recovery hd&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
5. Select reinstall Mac osx&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
6. Wait for the download and installation process. This should take about 45min to 9 hours. This time variation really depends on your network speed.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Second method: installing from an Apple Lion USB drive or a Self made InstallESD.dmg USB drive&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
1.&amp;nbsp; Turn on your computer, holding the option key+power key.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
2. Let go of the power key while maintaining hold on the option key.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
3.&amp;nbsp; Select the Lion recovery USB or your self made InstallESD.dmg USB disk which should appear on your right most option.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
4. Select reinstall Mac osx&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
5 wait for about 30mins to 1 hour.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/3707331359284652882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-upgrade-macbook-air-to-mac-osx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/3707331359284652882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/3707331359284652882'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-upgrade-macbook-air-to-mac-osx.html' title='How to upgrade MacBook Air to Mac OSX Lion'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-5082850107155696309</id><published>2012-09-08T12:23:00.002-07:00</published><updated>2012-09-08T12:23:29.330-07:00</updated><title type='text'>MacBook Mac OSX startup commands</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
During boot if you press:&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;C&lt;/b&gt; You start from a bootable CD such as your install DVD in the drive.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;D&lt;/b&gt; Perform an Apple Hard ware test if you have your install DVD in the drive.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;N&lt;/b&gt; Boot from a network compatible server. Only useful if you have the server.&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;T&lt;/b&gt; Start up in Target Disk mode. You can usually connect to another Mac through Firewire and do lots of funky things. Gone out of fashion and not used as much.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Option&lt;/b&gt; Start up using the Start Up Manager. Here you can pick which drive you want to boot from. Known to people who use BootCamp. You can also boot from a CD which is the same as press C.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Option&lt;/b&gt; then &lt;b&gt;N&lt;/b&gt; Similar to the item above, except you get given the choice of booting from a network disk.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Option + N&lt;/b&gt; Boot from the first network boot image.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Command + V&lt;/b&gt; Boot up in Verbose mode, where you see lots of text whizzing by which is not a lot of use to you. I have written about this command &lt;a href=&quot;http://www.mactricksandtips.com/2008/06/view-boot-up-text-on-your-mac.html&quot;&gt;&lt;span class=&quot;s1&quot;&gt;here&lt;/span&gt;&lt;/a&gt;. It will also show Verbose output on shut down.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Command + S&lt;/b&gt; Single User Mode. This is where you can run a lot of high level tasks as a single user. Probably not for newbies. You could probably break your computer very quickly in Single User mode. More about it &lt;a href=&quot;http://en.wikipedia.org/wiki/Single_user_mode&quot;&gt;&lt;span class=&quot;s1&quot;&gt;here&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Shift&lt;/b&gt; Start up in safe mode. Very useful if you have a problem and need an environment where you don’t want unnecessary things loaded. A good bet if you get Kernel panics during boot.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Option + Command + P + R&lt;/b&gt; Reset NVRAM. Although you will probably never need to reset this RAM it contents some useful stuff that can become corrupted. If you are having really bad problems this may be a good lead to follow. More information on Apple’s &lt;a href=&quot;http://support.apple.com/kb/HT1379&quot;&gt;&lt;span class=&quot;s1&quot;&gt;website&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Hold &lt;b&gt;Eject&lt;/b&gt; or &lt;b&gt;F12&lt;/b&gt; or &lt;b&gt;Mouse&lt;/b&gt; Eject anything that is in the disk drive. One to follow on from yesterdays &lt;a href=&quot;http://www.mactricksandtips.com/2009/01/ejecting-dvds-cds-from-your-mac.html&quot;&gt;&lt;span class=&quot;s1&quot;&gt;topic&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
I think that is just about it. I couldn’t find any more that worked with Mac OS X. If you have any more please leave a comment below. Its useful to have a list in case you ever need to use them.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/5082850107155696309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/macbook-mac-osx-startup-commands.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5082850107155696309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5082850107155696309'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/macbook-mac-osx-startup-commands.html' title='MacBook Mac OSX startup commands'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-6592625200149990431</id><published>2012-09-08T12:21:00.002-07:00</published><updated>2012-09-08T12:21:11.708-07:00</updated><title type='text'>How to Record Internal System Audio on Mac OSX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;a href=&quot;http://masonsklut.com/record-audio-on-your-mac-with-audacity/&quot;&gt;&lt;b&gt;Record Audio On Your Mac With Audacity&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
Have you ever not found a song you wanted on iTunes? Annoying, right? For me, I typically find my music on&amp;nbsp;&lt;a href=&quot;http://sadsteve.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;SadSteve&lt;/span&gt;&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;YouTube&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(yes — YouTube). A while ago,&amp;nbsp;&lt;a href=&quot;http://www.macheist.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;MacHeist&lt;/span&gt;&lt;/a&gt;&amp;nbsp;hosted a mission which included some handy applications, such as&amp;nbsp;&lt;a href=&quot;http://www.ambrosiasw.com/utilities/wiretap/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;WireTap Pro&lt;/span&gt;&lt;/a&gt;. At first, I had no reason to use this application, then I discovered its amazing capabilities for recording line-in audio (e.g. YouTube music videos). Unfortunately,&amp;nbsp;&lt;a href=&quot;http://www.ambrosiasw.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;Ambrosia Software&lt;/span&gt;&lt;/a&gt;&amp;nbsp;feels that it’s necessary to make&amp;nbsp;&lt;a href=&quot;http://www.ambrosiasw.com/utilities/wiretap/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;WireTap Pro&lt;/span&gt;&lt;/a&gt;&amp;nbsp;ridiculously expensive ($69). I believe it’s important to make money as a software developer, but that’s just insane. Due to the fact, many of you reading this tutorial either did not win the mission on&amp;nbsp;&lt;a href=&quot;http://www.macheist.com/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;MacHeist&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(two years ago) or you don’t want to spend $69 on&amp;nbsp;&lt;a href=&quot;http://www.ambrosiasw.com/utilities/wiretap/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;WireTap Pro&lt;/span&gt;&lt;/a&gt;, I’m going to show you how to record (streaming) audio for free, with&amp;nbsp;&lt;a href=&quot;http://audacity.sourceforge.net/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;Audacity&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;ol class=&quot;ol1&quot;&gt;
&lt;li class=&quot;li4&quot;&gt;Download&amp;nbsp;&lt;a href=&quot;http://audacity.sourceforge.net/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;Audacity&lt;/span&gt;&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.cycling74.com/downloads/soundflower&quot;&gt;&lt;span class=&quot;s1&quot;&gt;Soundflower&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(special audio plugin, free), and&amp;nbsp;&lt;a href=&quot;http://lame.sourceforge.net/&quot;&gt;&lt;span class=&quot;s1&quot;&gt;LAME MP3 Encoder&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(exports MP3).&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Open up Soundflower in /Applications/Soundflower/Soundflowerbed.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Click the Soundflower icon in the menubar.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Make sure under Soundflower (2ch) “Built-in Output” is selected.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Open up the Sound preference pane in System Preferences.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;In both the Output and Input sections, select Soundflower (2ch).&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Open up Audacity, and go to Preferences.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;In the Devices section, set Soundflower (2ch) as the Recording Device and 2 (Stereo) as the Recording Channels.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Leave “Built-in Output” as the Playback device.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;In Audacity Preferences, go to the Libraries section.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Click the Locate button next to MP3 Library.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;The location should be “/usr/local/lib/audacity/libmp3lame.dylib”. Click Browse, then click Open to load it.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Click OK. You may need to quit and re-open Audacity for the MP3 library to work.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Finally, the moment you’ve been waiting for…&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Go to YouTube and type in the name of the&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/watch?v=AtzIWPeun7c&quot;&gt;&lt;span class=&quot;s1&quot;&gt;song&lt;/span&gt;&lt;/a&gt;&amp;nbsp;you want. Select the music video for the song.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Click the record button in Audacity (red circle button) and start recording the song from the YouTube music video.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;When the song is over, click the stop button (yellow square button) in Audacity.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Go to File &amp;gt; Export.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Type in the song information (title, year, genre, artist).&amp;nbsp;Click OK.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;In the Save As window, type in the song title as the filename. Change the Format to MP3 Files.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Click Options if you want to adjust the MP3 settings. Then click Save.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Import the song file into your iTunes library.&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;Done.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/6592625200149990431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-record-internal-system-audio-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6592625200149990431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/6592625200149990431'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-record-internal-system-audio-on.html' title='How to Record Internal System Audio on Mac OSX'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-3443754778001325689</id><published>2012-09-08T12:20:00.002-07:00</published><updated>2012-09-08T12:20:28.313-07:00</updated><title type='text'>Mac OSX how to show routing table</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&quot;netstat -nr&quot; will display the routing tables.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
The &#39;-r&#39; displays the routing tables,&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
and the &#39;-n&#39; flag makes sure the display show numerical addresses instead of trying to resolve host/network/port names.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/3443754778001325689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mac-osx-how-to-show-routing-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/3443754778001325689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/3443754778001325689'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/mac-osx-how-to-show-routing-table.html' title='Mac OSX how to show routing table'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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-5990927967834772621.post-5810904685226040069</id><published>2012-09-08T12:19:00.002-07:00</published><updated>2012-09-08T12:19:50.384-07:00</updated><title type='text'>How to flush DNS cache on Mac OSX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
I primarily work with web servers, and I use &lt;span class=&quot;s1&quot;&gt;lookupd -flushcache&lt;/span&gt; all of the time to clear my DNS cache.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
This morning was moving some websites around using my newly-upgraded Mac, and I went to flush my DNS cache with &lt;span class=&quot;s1&quot;&gt;lookupd&lt;/span&gt; and I got a &lt;span class=&quot;s1&quot;&gt;command not found&lt;/span&gt; error. It seems that &lt;span class=&quot;s1&quot;&gt;lookupd&lt;/span&gt; has been removed in 10.5 and replaced with &lt;span class=&quot;s1&quot;&gt;dscacheutil&lt;/span&gt;.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
So now I can flush my DNS cache with &lt;span class=&quot;s1&quot;&gt;dscacheutil -flushcache&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alex-lanos.blogspot.com/feeds/5810904685226040069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-flush-dns-cache-on-mac-osx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5810904685226040069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5990927967834772621/posts/default/5810904685226040069'/><link rel='alternate' type='text/html' href='http://alex-lanos.blogspot.com/2012/09/how-to-flush-dns-cache-on-mac-osx.html' title='How to flush DNS cache on Mac OSX'/><author><name>Alex</name><uri>http://www.blogger.com/profile/04160581072246099786</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>