<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Martin Meddle&#039;s Blog</title>
	<atom:link href="http://martinmeddle.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://martinmeddle.wordpress.com</link>
	<description>Trials and Tribulations of a IT Consultant</description>
	<lastBuildDate>Wed, 21 Dec 2011 17:18:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='martinmeddle.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Martin Meddle&#039;s Blog</title>
		<link>http://martinmeddle.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://martinmeddle.wordpress.com/osd.xml" title="Martin Meddle&#039;s Blog" />
	<atom:link rel='hub' href='http://martinmeddle.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Is Remote Desktop Services Better then Terminal services ?</title>
		<link>http://martinmeddle.wordpress.com/2011/12/21/is-remote-desktop-services-better-then-terminal-services/</link>
		<comments>http://martinmeddle.wordpress.com/2011/12/21/is-remote-desktop-services-better-then-terminal-services/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 16:54:24 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=168</guid>
		<description><![CDATA[Remote Desktop Services for Windows Server 2008 R2 is the latest edition in of Windows remote management services. Server administrators have used Terminal Services for years to access their servers from client workstations and end users have used a desktop variation (Remote Desktop Protocol, RDP) to connect to their work PC’s from home, and vice [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=168&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Remote Desktop Services for Windows Server 2008 R2 is the latest edition in of Windows remote management services. Server administrators have used Terminal Services for years to access their servers from client workstations and end users have used a desktop variation (Remote Desktop Protocol, RDP) to connect to their work PC’s from home, and vice versa.</p>
<p>Licensing has always been the main difference between Terminal Services and RDP. RDP allowed for one end user at a time to connect to another client computer that had remote access enabled. Terminal Services was a server side utility that allows for multiple users to connect to one server, depending on the license allocations.</p>
<p>With Windows 7 client Remote Desktop services are still available and you can configure them as you traditionally have. What has significantly changed are the Server Utilities.</p>
<h2><strong>Server 2008 Terminal Server Enhancements</strong></h2>
<p>Windows Server 2008 delivered a new suite of Terminal Services, including Terminal Services Gatekeeper, Terminal Services Session Broker, Terminal Services Remote Applications and Terminal Services Web Services.</p>
<p>Microsoft had also moved the Terminal Services functionality away from IIS to a new role in its own right. By seperating this service away from IIS  has resulted in producing  a superior set of remote managed services.</p>
<p>For example, by configuring the Gatekeeper and Session Broker Services, remote users who need reliable connections can recover quickly from network failures or disconnects and resume their sessions. Additionally, users that only need access to a specific application, or set off applications, can access the Remote Applications through Web Services and work remotely on an application through a web browser interface.</p>
<h2><strong>Windows Server 2008 R2 Remote Desktop Services Enhancements<br />
</strong></h2>
<p>With <a href="http://www.microsoft.com/en-us/server-cloud/windows-server/default.aspx?WT.srch=1">Windows Server 2008 R2</a> the Terminal Services role service has been re-branded as Remote Desktop Services. All of the Terminal Services functions that Server 2008 provides are included – along with a whole new set of functional tools.</p>
<p>The newer Virtualization services are labeled as Virtual Desktop Interface (VDI), and Microsoft Enterprise Desktop Virtualization (MED-V). They now allow for remote users to access virtual computing environments, instead of the traditional one-to-one mapping for a RDP session to a physical computer.</p>
<p>A fully developed VDI and MED-V solution builds services on top of Microsoft’s System Center Virtual Machine Manager, Systems Center Configuration Manager, Systems Center Operations Manager, and Microsoft Desktop Optimization Pack – MDOP.  Then Remote Desktop Services can be configured to define and manage remote connections to these tools.</p>
<p>If you need assistance with setting up or configuring a Remote Desktop Service or Terminal service environment for your organisation we can help. Get in touch <a href="http://www.bcmit.co.uk">here.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/168/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=168&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/12/21/is-remote-desktop-services-better-then-terminal-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>Mobile Website Redirect Script</title>
		<link>http://martinmeddle.wordpress.com/2011/12/05/mobile-website-redirect-script/</link>
		<comments>http://martinmeddle.wordpress.com/2011/12/05/mobile-website-redirect-script/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 15:39:24 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=159</guid>
		<description><![CDATA[Having recently setup a mobile website to accompany our main corporate site I wanted to find a way of automatically redirecting all mobile traffic to the new site. To do this I added the scripts below shown below. &#60;script type="text/javascript"&#62; &#60;!-- if (screen.width &#60;= 699) { document.location = "mobile.html"; } //--&#62; &#60;/script&#62; If you wanted [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=159&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having recently setup a mobile website to accompany our main corporate site I wanted to find a way of automatically redirecting all mobile traffic to the new site.</p>
<p>To do this I added the scripts below shown below.</p>
<p><code><strong>&lt;script type="text/javascript"&gt;</strong> <strong>&lt;!--</strong> <strong>if (screen.width &lt;= 699) {</strong> <strong>document.location = "mobile.html";</strong> <strong>}</strong> <strong>//--&gt;</strong> <strong>&lt;/script&gt;</strong></code></p>
<p>If you wanted to specifically target Iphone or Ipads then you could use the following</p>
<p><strong><code>&lt;script language=javascript&gt; &lt;!-- if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {    location.replace("http://url-to-send-them/iphone.html"); } --&gt; &lt;/script&gt;</code></strong> <code> </code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=159&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/12/05/mobile-website-redirect-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress Login Trouble</title>
		<link>http://martinmeddle.wordpress.com/2011/12/03/wordpress-login-trouble/</link>
		<comments>http://martinmeddle.wordpress.com/2011/12/03/wordpress-login-trouble/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 12:35:39 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=153</guid>
		<description><![CDATA[WordPress Login Trouble This post is a bit of a follow on from my last one which was about moving a wordpress site from a demo to a production environment.  Sometimes when moving sites from one host to another you may experience difficulties logging in to the dashboard. Below are a number of possible solutions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=153&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="pagebody">
<div>
<div id="bodyContent">
<h2>WordPress Login Trouble</h2>
<p>This post is a bit of a follow on from my last one which was about moving a wordpress site from a demo to a production environment.  Sometimes when moving sites from one host to another you may experience difficulties logging in to the dashboard.</p>
<p>Below are a number of possible solutions to assist you.</p>
<h2>Enable Cookies</h2>
<p>In order to make sure that cookies are enabled for your browser, you need to:</p>
<ol>
<li>Clear your browser cookies.</li>
<li>Clear your browser cache.</li>
</ol>
<p>To see how to clear cookies and caches on various browsers, visit <a title="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=32050&amp;from=8840&amp;rd=1" href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=32050&amp;from=8840&amp;rd=1">Clearing Cache and Cookies</a>.</p>
<h2>WordPress MultiSite Network</h2>
<ul>
<li>Check your wp-config.php file.</li>
<li>Verify the DOMAIN_CURRENT_SITE value.</li>
</ul>
<h2>Disable Plugins</h2>
<p>Some <a title="Plugins" href="http://codex.wordpress.org/Plugins">WordPress Plugins</a> may interfere with the login process. Disable all of your WordPress Plugins, either through the admin panel or by removing them from the <tt>/wp-content/plugins/</tt> folder, so they will not be recognized by the program.</p>
<h2>Deactivate Theme</h2>
<ul>
<li>Rename the active theme folder (in wp-content/themes) by using <a title="FTP Clients" href="http://codex.wordpress.org/FTP_Clients">FTP</a>. Once renamed, WordPress will revert to using the <a title="Glossary" href="http://codex.wordpress.org/Glossary#Twenty_Eleven_theme">WordPress TwentyEleven theme</a>. When finally logged in, change to a different theme.</li>
<li>To find out what caused problem in the theme, upload and run this code when the theme is active:</li>
</ul>
<pre>&lt;? ini_set('display_errors','1'); ini_set('display_startup_errors','1'); error_reporting (E_ALL);include('index.php'); ?&gt;</pre>
<p><a id="New_Login_File" name="New_Login_File"></a></p>
<h2>New Login File</h2>
<p>Sometimes the <tt>wp-login.php</tt> file may have been corrupted or uploaded incorrectly.</p>
<ul>
<li>Delete <tt>wp-login.php</tt> off of your server and upload a new copy from a fresh WordPress download. Remember, overwriting file via <a title="FTP Clients" href="http://codex.wordpress.org/FTP_Clients">FTP</a> can lead to incomplete transfers.</li>
<li>Edit <tt>wp-login.php</tt>as follows:
<ul>
<li>Go to the <tt>case retrievepassword</tt> section, found under this comment:</li>
</ul>
</li>
</ul>
<pre>// redefining user_login ensures we return the right case in the email</pre>
<dl>
<dd>
<dl>
<dd>Replace:</dd>
</dl>
</dd>
</dl>
<pre>$user_login = $user_data["user_login"];</pre>
<dl>
<dd>
<dl>
<dd>With:</dd>
</dl>
</dd>
</dl>
<pre>$user_login = $user_data-&gt;user_login;</pre>
<p><a id="Edit_Users_Table" name="Edit_Users_Table"></a></p>
<h2>Edit Users Table</h2>
<p><a title="WordPress Backups" href="http://codex.wordpress.org/WordPress_Backups#Accessing_phpMyAdmin">Access your site&#8217;s phpMyAdmin</a> and edit the database carefully.</p>
<ul>
<li>Open the WordPress database.</li>
<li>Click on the users table in the left menu (default is <tt>wp_users</tt>, or <tt><em>yourprefix</em>_users </tt> if you defined a different table prefix.)</li>
<li>Click <strong>BROWSE</strong>.</li>
<li>Click on the <strong>EDIT</strong> button next to the admin user.</li>
<li>Delete whatever is in the password field.</li>
<li>Enter your desired password.</li>
<li>Froum the <strong>Function</strong> drop-down list, choose MD5.</li>
<li>Save the info in the database.</li>
<li>Log in to WordPress using &#8220;admin&#8221; and the password you used.</li>
<li>In the case of newer versions of WordPress, the password is double hashed, but as long as you md5 the password, it will complete the hash (it upgrades your password for you).</li>
</ul>
<p><a id="Password_Problems" name="Password_Problems"></a></p>
<h2>Password Problems</h2>
<p>For information on problems logging in due to a wrong or lost password, see <a title="Resetting Your Password" href="http://codex.wordpress.org/Resetting_Your_Password">Resetting Your Password</a>. Remember: the Username and Password fields are <strong>case sensitive</strong>.</p>
<p><a id="Site_URL_Redirecting" name="Site_URL_Redirecting"></a></p>
<h2>Site URL Redirecting</h2>
<p>In certain cases your WordPress address URI may have been reset.</p>
<ul>
<li>Check the <strong>siteurl</strong> value in the <em>wp-options</em> table of your WordPress database. A guide to doing this is available <a title="http://www.tamba2.org.uk/wordpress/site-url/" href="http://www.tamba2.org.uk/wordpress/site-url/">here</a>.</li>
<li>Is it set as <tt>http:/</tt>?</li>
<li>If it is, change <strong>siteurl</strong> to the correct value.</li>
<li>Open <em>wp-login.php</em> in a text-editor and comment or delete the following lines:</li>
</ul>
<pre>// If someone has moved WordPress let's try to detect it
//if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_settings('siteurl') )
 // update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );</pre>
<p>Changed your WordPress address URI and cannot login nor access the database (but still can access the login page) ?</p>
<p><em>wp-login.php</em> can be used to reset the address:</p>
<pre>//FIXME: do comment/remove these hack lines. (once the database is updated)
update_option('siteurl', 'http://your.domain.name/the/path' );
update_option('home', 'http://your.domain.name/the/path' );</pre>
<h2>Subdomains or Subdirectories</h2>
<p>In your <em>wp-config.php</em> try changing from:</p>
<pre>define( 'SUBDOMAIN_INSTALL', true);</pre>
<p>To:</p>
<pre>define( 'SUBDOMAIN_INSTALL', false);</pre>
<h2>Secure HTTPS</h2>
<p>If you are having a problem with secure HTTPS, change the following line in <tt>wp-includes/vars.php</tt> from:</p>
<pre>define('COOKIEPATH', preg_replace('|http://[^/]+|i', '', get_settings('home') . '/' ) );</pre>
<p>To:</p>
<pre>define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) );</pre>
<p>Be sure also to change the URL in OPTIONS to https://.</p>
<h2>Headers Already Sent</h2>
<p>If you get an error about <strong>headers already sent</strong>, see <a title="FAQ Troubleshooting" href="http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F">Solving the Headers Already Being Sent Problem</a> in the <a title="FAQ" href="http://codex.wordpress.org/FAQ">FAQ</a>.</p>
<p>Check Your URL Options</p>
<p>In some situations, your blog can be seen from inside your domain, but not outside. Following the instruction above about changing the <em>wp-options</em> <a title="Glossary" href="http://codex.wordpress.org/Glossary">MySQL</a> table might still result in login failure.</p>
<p>In this event, double-check your <em>wp-options</em> table <strong>siteurl</strong> (WordPress address URL) and <strong>home</strong> (Blog Address URL) values to make sure they reference the <strong>same</strong> base externally available address; i.e., <a title="http://blog.yourdomain.com" href="http://blog.yourdomain.com/">http://blog.yourdomain.com</a>. The standard install may set them to your local (internal) host name, such as <a title="http://servername" href="http://servername/">http://servername</a></p>
<p>Another issue may be if you are redirecting using .htaccess from a non-www url prefix to a www while you have the <em>wp-options</em> table <strong>siteurl</strong> (WordPress address URL) and <strong>home</strong> (Blog Address URL) set with non-www prefix. Consequently this would create an endless loop which you need to avoid. One way is to disable the .htaccess redirection temporarily by placing # before the line or eliminating the entries entirely and trying to Login again. Advanced users may want to adjust adjust the <em>wp-options</em> table <strong>siteurl</strong> (WordPress address URL) and <strong>home</strong> (Blog Address URL) through the database. Notice that this issue can also occur if you are redirecting from www to non-www but have your <em>wp-options</em> table <strong>siteurl</strong> (WordPress address URL) and <strong>home</strong> (Blog Address URL) set with a www url prefix.</p>
<p><a id="Check_your_Firewall" name="Check_your_Firewall"></a></p>
<h2>Check your Firewall</h2>
<p>Some firewalls (e.g., eTrust Personal Firewall) block you from logging in to WordPress. Disable your firewall and try to log in again.</p>
<p><a title="BCM IT Website" href="http://www.bcmit.co.uk">http://www.bcmit.co.uk</a></p>
</div>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=153&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/12/03/wordpress-login-trouble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving your wordpress site between hosts with no downtime</title>
		<link>http://martinmeddle.wordpress.com/2011/11/27/moving-your-wordpress-site-between-hosts-with-no-downtime/</link>
		<comments>http://martinmeddle.wordpress.com/2011/11/27/moving-your-wordpress-site-between-hosts-with-no-downtime/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 15:05:52 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=150</guid>
		<description><![CDATA[When we work with clients on developing there new website we use our own development environment to demo concepts and allow content to be proof read before the site goes live. The steps below go through the basics of moving your wordpress site to the new host Backup the database from the old site and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=150&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When we work with clients on developing there new website we use our own development environment to demo concepts and allow content to be proof read before the site goes live. The steps below go through the basics of moving your wordpress site to the new host</p>
<ol>
<li>Backup the database from the old site and import it to the new site. Ensure you make a note of the database name and the user details..</li>
<li>Change your wp-config.php in the old site to point to the database on the new site. Your old site will now run using database based on the new site and once you change the nameservers new site will have the up to date database. (You may want to check with your new hosting if they allow outside database access first. If not, you can skip this step and transfer the database at the end, when the nameserver change propagated)</li>
<li>Backup your entire WordPress installation from the old site (this will include all your uploads, themes, plugins)</li>
<li>Upload the fiels that make up your wordpress site to the new site</li>
<li>Change wp-config.php on the new site with new database details</li>
<li>Change the nameservers to point to the new site</li>
<li>Now wait for the DNS changes to happen</li>
</ol>
<p>Since nameserver propagation can take up to one day, step 2 allows you to have up to date database at the moment it happens. Downside to this is slower site response in the meantime because site still runs from the old server and the database is on the new. But if you do this out of peak hours  it won&#8217;t be that noticeable and you will not lose any comments or other activity on your site.</p>
<p>&nbsp;</p>
<p><a title="BCM IT Website" href="http://www.bcmit.co.uk">BCM Website</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=150&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/11/27/moving-your-wordpress-site-between-hosts-with-no-downtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows 8 Preview</title>
		<link>http://martinmeddle.wordpress.com/2011/06/16/windows-8-preview/</link>
		<comments>http://martinmeddle.wordpress.com/2011/06/16/windows-8-preview/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 12:42:39 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[windows 8]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=142</guid>
		<description><![CDATA[Earlier this month Microsoft started to announce what we can expect to find in Windows 8. It looks like there is going to be a new UI which looks like is is based on the Windows Phone platform. Have a look for yourself here more information can also be found here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=142&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Earlier this month Microsoft started to announce what we can expect to find in Windows 8. It looks like there is going to be a new UI which looks like is is based on the Windows Phone platform.</p>
<p>Have a look for yourself here<br />
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/p92QfWOw88I?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span></p>
<p>more information can also be found <a href="http://www.microsoft.com/presspass/features/2011/jun11/06-01corporatenews.aspx" target="_blank">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=142&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/06/16/windows-8-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring your Android OS Mobile to work with BPOS &amp; Exchange</title>
		<link>http://martinmeddle.wordpress.com/2011/06/07/configuring-your-android-os-mobile-to-work-with-bpos-exchange/</link>
		<comments>http://martinmeddle.wordpress.com/2011/06/07/configuring-your-android-os-mobile-to-work-with-bpos-exchange/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 15:39:51 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ANDROID]]></category>
		<category><![CDATA[BPOS]]></category>
		<category><![CDATA[CLOUD]]></category>
		<category><![CDATA[EXCHANGE]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=138</guid>
		<description><![CDATA[Having recently migrated a clients exchange solution to the Microsoft Cloud. I thought I would docuemnt how I went about setting up there HTC Wildfires to access emial on the move. As you would expect there isnt a whole lot of literature on this so here goes 1)  Fom the Home screen  choose Menu &#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=138&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having recently migrated a clients exchange solution to the Microsoft Cloud. I thought I would docuemnt how I went about setting up there HTC Wildfires to access emial on the move.</p>
<p>As you would expect there isnt a whole lot of literature on this so here goes</p>
<p>1)  Fom the Home screen  choose Menu &gt; Settings &gt; Accounts &amp; Sync</p>
<p>2)Choose the option &#8220;Add Account&#8221;</p>
<p>3) Choose option &#8220;Exchange ActiveSync&#8221;</p>
<p>4) If given the choice opt to add settings manually and enter like listed below</p>
<p><strong>Email Address:</strong> enter full email addres eg <em><a href="mailto:firstname.surname@domain.com">firstname.surname@domain.com</a></em></p>
<p><strong>Server Name:</strong> enter the following for the UK &amp; europe <strong>red002.mail.emea.microsoftonline.com</strong></p>
<p><strong>Domain: </strong>Leave this Blank</p>
<p><strong>Username:</strong> This is your email address</p>
<p><strong>Password:</strong> This is your account password</p>
<p>ensure that you tick the checkbox for <strong>&#8220;This server requires an encrypted SSL Connection&#8221;</strong></p>
<p>Press Next and once the connection is established choose to synchronize Contacts, Calendar and Mail.</p>
<p>5. Modify the Account Sync settings as required. From the Home screen select <em>Menu &gt; Settings &gt; Accounts &amp; sync</em> and choose the ActiveSync account just added. I recommend that you enable  <strong><em>Auto-sync</em></strong> and changing the sync schedule if you wish.</p>
<p>This is all you need to do in order to receive push email on your Android phone. In addition the rest of your email, contacts and calendar appointments will be synchronized between everything that uses your Exchange account for and any changes in one will be reflected in the others. For<br />
example:</p>
<ul>
<li>Send an email from your phone it will show up in the Sent items folder on Outlook</li>
<li>Add an appointment to your calendar in Outlook it will appear on your phone’s calendar and you will get a reminder on your phone</li>
<li>Receive a phone call and create a new contact on your phone from<br />
their number.</li>
</ul>
<p>Hope you find this helpful</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=138&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/06/07/configuring-your-android-os-mobile-to-work-with-bpos-exchange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>Re-size images quickly in windows 7</title>
		<link>http://martinmeddle.wordpress.com/2011/06/03/re-size-images-quickly-in-windows-7/</link>
		<comments>http://martinmeddle.wordpress.com/2011/06/03/re-size-images-quickly-in-windows-7/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 12:07:06 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=134</guid>
		<description><![CDATA[For all those people like me who miss little utilities like the windows xp power toys image resizer, I am glad to report I have found a alternative for windows 7 users. You can download it from here. It is available in both 32 &#38; 64 bit versions and will save you hours of messing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=134&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For all those people like me who miss little utilities like the <a href="http://www.microsoft.com/windowsxp/downloads/powertoys/default.mspx">windows xp power toys</a> image resizer, I am glad to report I have found a alternative for windows 7 users. You can download it from <a href="http://imageresizer.codeplex.com/">here</a>.</p>
<p>It is available in both 32 &amp; 64 bit versions and will save you hours of messing about in graphics applications when all you really need to do is re size the image. its is as simple as right click on a image in windows explorer and resize.<img class="size-full wp-image-135 alignleft" title="image resizer" src="http://martinmeddle.files.wordpress.com/2011/06/shortcutmenu.png?w=490" alt=""   /></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=134&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/06/03/re-size-images-quickly-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>

		<media:content url="http://martinmeddle.files.wordpress.com/2011/06/shortcutmenu.png" medium="image">
			<media:title type="html">image resizer</media:title>
		</media:content>
	</item>
		<item>
		<title>10 Signs you need the Cloud</title>
		<link>http://martinmeddle.wordpress.com/2011/05/27/10-signs-you-need-the-cloud/</link>
		<comments>http://martinmeddle.wordpress.com/2011/05/27/10-signs-you-need-the-cloud/#comments</comments>
		<pubDate>Fri, 27 May 2011 15:36:45 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=131</guid>
		<description><![CDATA[This post first appeared on Intel&#8217;s IT Galaxy blog earlier this month. Check it out &#8211; lot&#8217;s of good content there. Cloud computing, data centre 3.0 &#8211; whatever you call it, the cloud is changing the way we do business, work, live our lives, and generally interact with data and services. But the weight of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=131&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post first appeared on Intel&#8217;s <a href="http://itcommunity.intel.co.uk/community/uk/blog/2011/05">IT Galaxy blog</a> earlier this month. Check it out &#8211; lot&#8217;s of good content there.</p>
<p>Cloud computing, data centre 3.0 &#8211; whatever you call it, the cloud is changing the way we do business, work, live our lives, and generally interact with data and services. But the weight of inertia is often on the first step &#8211; how can a company make the initial moves into the cloud? Here&#8217;s 10 simple signs that could mean it&#8217;s time you took a look at the cloud.</p>
<p>1) Your software licensing is a mess. You don&#8217;t know which PCs or users have licenses for which packages. And you are constantly having to delete licenses from user profiles in order to free up more versions of the software.</p>
<p>2) Your server workload fluctuates wildly and sometimes unpredictably.</p>
<p>3) Users are constantly reporting frustrations with a slow network, access to the database etc</p>
<p>4) You are many iterations behind on the latest versions of crucial applications that underpin your business.</p>
<p>5) IT tells you that you need to take the server offline in order to install upgrades, but your business can&#8217;t afford the downtime</p>
<p>6) IT costs are spiraling</p>
<p>7) Your workforce is frustrated &#8211; they want to have a more mobile productive working pattern but your IT constraints means their locked to your legacy desktops.</p>
<p>8) You&#8217;re increasingly concerned about your server&#8217;s green credentials.</p>
<p>9) Your business growth is unpredictable &#8211; you need flexibility but are worried fixed costs will constrain you.</p>
<p>10) You want more flexibility &#8211; in applications, storage and services.</p>
<p>If one or more of the above are affecting you and your business then get in touch now and see how we can help you and your business move to the cloud and give you the edge over your competitors.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=131&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/05/27/10-signs-you-need-the-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>Automating Tasks in Outlook with Powershell</title>
		<link>http://martinmeddle.wordpress.com/2011/03/02/automating-tasks-in-outlook-with-powershell/</link>
		<comments>http://martinmeddle.wordpress.com/2011/03/02/automating-tasks-in-outlook-with-powershell/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 23:15:43 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=128</guid>
		<description><![CDATA[One of the great things about PowerShell is the easy COM access it gives you, although sometimes it&#8217;s easy to forget.  Here are a few examples that may help give some ideas.  You can automate Outlook from tons of other languages as well, I&#8217;m just trying to get across how quick and easy it is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=128&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the great things about PowerShell is the easy COM  access it gives you, although sometimes it&#8217;s easy to forget.  Here are a  few examples that may help give some ideas.  You can automate  Outlook from tons of other languages as well, I&#8217;m just trying to get  across how quick and easy it is using PowerShell.</p>
<p><span style="text-decoration:underline;">Emptying your Deleted Items folder</span></p>
<p>$deletedItems = $outlook.Session.GetDefaultFolder(3) # == olFolderDeletedItems<br />
$deletedItems.Items | %{ $_.delete() }</p>
<p><span style="text-decoration:underline;">Create an appointment for tomorrow</span></p>
<p>$calendar = $outlook.Session.GetDefaultFolder(9) # == olFolderCalendar<br />
$appt = $calendar.Items.Add(1) # == olAppointmentItem<br />
$appt.Start = [datetime]::now + [timespan]::fromdays(1)<br />
$appt.Subject = &#8220;Tomorrows Accounts Meeting&#8221;<br />
$appt.Location = &#8220;My office&#8221;<br />
$appt.Save()</p>
<p>&nbsp;</p>
<p><span style="text-decoration:underline;">Look at the subjects of the first 5 emails you sent</span></p>
<p>$sentMail = $outlook.Session.GetDefaultFolder(5) # == olFolderSentMail<br />
$sentMail.Items | select -first 5 TaskSubject</p>
<p><span style="text-decoration:underline;">Adding a contact</span></p>
<p>$contacts = $outlook.Session.GetDefaultFolder(10) # == olFolderContacts<br />
$newcontact = $contacts.Items.Add()<br />
$newcontact.FullName = &#8220;James Bond&#8221;<br />
$newcontact.JobTitle = &#8220;Secret Agent&#8221;<br />
$newcontact.CompanyName = &#8220;International Exports&#8221;<br />
$newcontact.Save()</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=128&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/03/02/automating-tasks-in-outlook-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Websites Using Powershell.</title>
		<link>http://martinmeddle.wordpress.com/2011/01/31/creating-websites-using-powershell/</link>
		<comments>http://martinmeddle.wordpress.com/2011/01/31/creating-websites-using-powershell/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 20:08:49 +0000</pubDate>
		<dc:creator>Martin Meddle</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://martinmeddle.wordpress.com/?p=124</guid>
		<description><![CDATA[In this post I am hoping to show the steps involved to create Web-Sites, Web Applications, Virtual Directories and Application Pools using PowerShell. The IIS PowerShell namespace consists of items like Web-Sites, Apps, Virtual Directories and Application Pools. Creating new namespace items and managing them is very easy using the built-in PowerShell cmdlets. Creating Web-Sites If [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=124&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post I am hoping to show the steps involved to create Web-Sites, Web Applications, Virtual Directories and Application Pools using PowerShell.</p>
<p>The IIS PowerShell namespace consists of items like Web-Sites, Apps,  Virtual Directories and Application Pools. Creating new namespace items  and managing them is very easy using the built-in PowerShell cmdlets.</p>
<h2>Creating Web-Sites</h2>
<p>If you are familiar with PowerShell you know that the New-Item  cmdlet is used to create new items in the various PowerShell namespaces.  The command &#8220;New-Item c:\TestDirectory&#8221; creates a new filesystem  directory for example (most people use the &#8220;MD&#8221; or &#8220;MKDIR&#8221; alias for  New-Item however). New-Item is also used to create new Web-Sites within  the IIS 7.0 PowerShell namespace.</p>
<h3>Parameters</h3>
<p>Specifying the name of the directory is the only argument needed when  you create a new file system directory. Unfortunately this is not  enough when you create a Web-Site. Additional parameters like the file  system path and network bindings are needed to create a Web-Site. Here  is the command to create a new Web-Site followed by a dir command:</p>
<p>PS IIS:\Sites&gt; New-Item iis:\Sites\TestSite -bindings  @{protocol=&#8221;http&#8221;;bindingInformation=&#8221;:80:TestSite&#8221;} -physicalPath  c:\test</p>
<p>PS IIS:\Sites&gt; <strong>dir</strong></p>
<p>Name             ID   State      Physical Path                  Bindings<br />
&#8212;-             &#8211;   &#8212;&#8211;      &#8212;&#8212;&#8212;&#8212;-                  &#8212;&#8212;&#8211;<br />
Default Web Site 1    Started    f:\inetpub\wwwroot             http *:80:<br />
TestSite         2    Started    c:\test                        http :80:TestSite </p>
<p>&lt;bindings&gt;<br />
&lt;binding protocol=&#8221;http&#8221; bindingInformation=&#8221;:80:TestSite&#8221; /&gt;<br />
&lt;/bindings&gt;Now here is the reason why we use a hash table: IIS configuration is completely extensible  with additional sections and attributes. You can imagine  that somebody extending the &lt;binding&gt; element with additional  attributes. Key value pairs within a hash table provide the flexibility  to incorporate these new attributes without having to completely rewrite  the IIS PowerShell Snap-in.</p>
<p>Granted, the syntax is a bit complex. We are thinking about wrapping  some typical tasks like creating sites with additional functions or  scripts in a later Tech Preview.</p>
<h3>Deleting Sites</h3>
<p>Here is how you delete the site you just created.</p>
<p>PS IIS:\ &gt;Remove-Item IIS:\Sites\TestSite</p>
<h2>Creating Web Applications</h2>
<p>Creating Web Applications is easier than creating sites. Here we go:</p>
<p>PS IIS:\&gt; New-Item &#8216;IIS:\Sites\Default Web Site\DemoApp&#8217; -physicalPath c:\test -type Application Name                     ApplicationPool          EnabledProtocols         PhysicalPath<br />
&#8212;-                     &#8212;&#8212;&#8212;&#8212;&#8212;          &#8212;&#8212;&#8212;&#8212;&#8212;-         &#8212;&#8212;&#8212;&#8212;<br />
DemoApp                  DefaultAppPool           http                     c:\testThe only parameter you have to specify is the type  (-type) because underneath a Web-Site you might want to create  an Applications or a Virtual Directories. By specifying the -type  parameter you tell the IIS Snap-in to create an application.</p>
<p>To delete the application you can also use Remove-Item.</p>
<h2>Creating Virtual Directories</h2>
<p>To create a Virtual Directory you also use the  New-Item cmdlet. Let&#8217;s create a Virtual Directory underneath the  &#8216;Default Web Site&#8217; but and a second one underneath the Web Application  we created in the previous step.</p>
<p> PS IIS:\&gt; New-Item &#8216;IIS:\Sites\Default Web  Site\DemoVirtualDir1&#8242; -type VirtualDirectory -physicalPath  c:\test\virtualDirectory1</p>
<p>Name                                              PhysicalPath<br />
&#8212;-                                              &#8212;&#8212;&#8212;&#8212;<br />
DemoVirtualDir1                                   c:\test\virtualDirectory1<br />
PS IIS:\&gt; New-Item &#8216;IIS:\Sites\Default Web  Site\DemoApp\DemoVirtualDir2&#8242; -type VirtualDirectory -physicalPath  c:\test\virtualDirectory2</p>
<p>Name                                              PhysicalPath<br />
&#8212;-                                              &#8212;&#8212;&#8212;&#8212;<br />
DemoVirtualDir2                                   c:\test\virtualDirectory2</p>
<h2>Creating Application Pools</h2>
<p>But it gets even simpler. Creating a new AppPool only requires the name to be specified.</p>
<p> PS IIS:\&gt; new-item AppPools\DemoAppPool</p>
<p>Name                     State<br />
&#8212;-                     &#8212;&#8211;<br />
DemoAppPool              {}</p>
<p>Simple, wasn&#8217;t it? Now let&#8217;s put this together to an end-to-end scenario.</p>
<h2>Putting it all Together</h2>
<p>In the following end-to-end scenario we will execute the following step:</p>
<ol>
<li>
<div>Create a set of new file system directories for the  sites, web applications and virtual directories we will create a little  later.</div>
</li>
<li>
<div>Copy some very simple web content into the newly created directories.</div>
</li>
<li>
<div>Create new Application Pool</div>
</li>
<li>
<div>Create a new site, a new application and two new virtual directories and assign them to newly created Application Pool.</div>
</li>
<li>
<div>Request the web content via the web browser.</div>
</li>
</ol>
<h3>Step 1: Create New Directories</h3>
<p>We use the New-Item cmdlet to create four new file  system directories. Execute the following commands (use &#8216;md&#8217; instead of  New-Item if you don&#8217;t want to specify the -type parameter):</p>
<p> New-Item C:\DemoSite -type Directory</p>
<p>New-Item C:\DemoSite\DemoApp -type Directory</p>
<p>New-Item C:\DemoSite\DemoVirtualDir1 -type Directory</p>
<p>New-Item C:\DemoSite\DemoVirtualDir2 -type Directory</p>
<h3>Step 2: Copy Content</h3>
<p>Now let&#8217;s write some simple html content to these directories:</p>
<p> Set-Content C:\DemoSite\Default.htm &#8220;DemoSite Default Page&#8221;</p>
<p>Set-Content C:\DemoSite\DemoApp\Default.htm &#8220;DemoSite\DemoApp Default Page&#8221;</p>
<p>Set-Content C:\DemoSite\DemoVirtualDir1\Default.htm &#8220;DemoSite\DemoVirtualDir1 Default Page&#8221;</p>
<p>Set-Content C:\DemoSite\DemoVirtualDir2\Default.htm &#8220;DemoSite\DemoApp\DemoVirtualDir2 Default Page&#8221;</p>
<h3>Step 3: Create New Application Pool</h3>
<p>Create the new Application Pool &#8216;DemoAppPool&#8217; for the new site if you deleted the one we created in the previous sample.</p>
<p>New-Item IIS:\AppPools\DemoAppPool</p>
<h3>Step 4: Create New Sites, Web Applications and Virtual Directories and Assign to Application Pool</h3>
<p>Here comes the beef. We create DemoSite, DemoApp and  two Virtual Directories &#8211; DemoVirtualDir1 is directly underneath  DemoSite and DemoVirtualDir2 is underneath DemoApp. We are assigning  DemoSite and DemoApp to DemoAppPool created in the previous step.  DemoSite is assigned to port 8080 to not conflict with the &#8216;Default Web  Site&#8217;</p>
<p> New-Item IIS:\Sites\DemoSite -physicalPath C:\DemoSite -bindings @{protocol=&#8221;http&#8221;;bindingInformation=&#8221;:8080:&#8221;}</p>
<p>Set-ItemProperty IIS:\Sites\DemoSite -name applicationPool -value DemoAppPool</p>
<p>New-Item IIS:\Sites\DemoSite\DemoApp -physicalPath C:\DemoSite\DemoApp -type Application</p>
<p>Set-ItemProperty IIS:\sites\DemoSite\DemoApp -name applicationPool -value DemoAppPool</p>
<p>New-Item IIS:\Sites\DemoSite\DemoVirtualDir1 -physicalPath C:\DemoSite\DemoVirtualDir1 -type VirtualDirectory</p>
<p>New-Item IIS:\Sites\DemoSite\DemoApp\DemoVirtualDir2 -physicalPath C:\DemoSite\DemoVirtualDir2 -type VirtualDirectory</p>
<p>Voila. All that&#8217;s left is to request the web content.</p>
<h3>Step 5: Request the Web Content</h3>
<p>You can of course open the browser and enter <a href="http://localhost:8080/">http://localhost:8080/</a> and all the other URLs. But its a PowerShell walkthrough and we&#8217;ll use PowerShell to do it by using the .NET WebClient classes:</p>
<p> $webclient = New-Object Net.WebClient</p>
<p>$webclient.DownloadString(&#8220;http://localhost:8080/&#8221;);</p>
<p>$webclient.DownloadString(&#8220;http://localhost:8080/DemoApp&#8221;);</p>
<p>$webclient.DownloadString(&#8220;http://localhost:8080/DemoVirtualDir1&#8243;);</p>
<p>$webclient.DownloadString(&#8220;http://localhost:8080/DemoApp/DemoVirtualDir2&#8243;);</p>
<p>If you feeling adventurous you can also use Internet Explorer object itself:</p>
<p> $ie = new-object -com InternetExplorer.Application</p>
<p>$ie.Visible = $true</p>
<p>$ie.Navigate(&#8220;http://localhost:8080/&#8221;);</p>
<h2>Summary</h2>
<p>In this walkthrough you learned how to create  Web-Sites, Web Applications, Virtual Directories and Application Pools  with PowerShell. Additional PowerShell features were used to build a  functional end-to-end scenario.</p>
<p>Happy Coding</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/martinmeddle.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/martinmeddle.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/martinmeddle.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/martinmeddle.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/martinmeddle.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/martinmeddle.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/martinmeddle.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/martinmeddle.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/martinmeddle.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/martinmeddle.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/martinmeddle.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/martinmeddle.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/martinmeddle.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/martinmeddle.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=martinmeddle.wordpress.com&amp;blog=11869999&amp;post=124&amp;subd=martinmeddle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://martinmeddle.wordpress.com/2011/01/31/creating-websites-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/495bfe7fd6b00d3e37faba6aa59398ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mmeddle</media:title>
		</media:content>
	</item>
	</channel>
</rss>
