<?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>msunified.net</title>
	<atom:link href="http://msunified.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://msunified.net</link>
	<description>Technical blog about Exchange, OCS and Lync by Ståle Hansen</description>
	<lastBuildDate>Sun, 03 Jun 2012 18:42:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='msunified.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/87139ddc4ba9c9960cf07f9364dfc9f4?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>msunified.net</title>
		<link>http://msunified.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://msunified.net/osd.xml" title="msunified.net" />
	<atom:link rel='hub' href='http://msunified.net/?pushpress=hub'/>
		<item>
		<title>Lync Server 2010 Monitoring reports and why you always should deploy them</title>
		<link>http://msunified.net/2012/05/29/lync-server-2010-monitoring-reports-and-why-you-always-should-deploy-them/</link>
		<comments>http://msunified.net/2012/05/29/lync-server-2010-monitoring-reports-and-why-you-always-should-deploy-them/#comments</comments>
		<pubDate>Tue, 29 May 2012 21:46:37 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Degradation MOS]]></category>
		<category><![CDATA[Lync Server 2010 Monitoring Reports]]></category>
		<category><![CDATA[Monitoring Reports]]></category>
		<category><![CDATA[Network MOS]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3272</guid>
		<description><![CDATA[There is actually a lot of good documentation on Lync Server Monitoring and Monitoring reports. If you got the time you could really drill down in to understanding and getting the most out the reports from the different sources. I want this post to highlight some of the main features with the monitoring reports and give [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3272&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is actually a lot of good documentation on Lync Server Monitoring and Monitoring reports. If you got the time you could really drill down in to understanding and getting the most out the reports from the different sources. I want this post to highlight some of the main features with the monitoring reports and give a quick introduction and a overveiw of what to expect.</p>
<h1>Why should you deploy Monitoring server at all?</h1>
<p>If you have installed Lync Server 2010 Monitoring Server, your system will automatically collect a wealth of information about all the communication take place in your organization. The data collected by Monitoring Server falls into one of two categories:</p>
<ul>
<li><strong>Call detail records (CDR),</strong> which includes information such as who made a call (or initiated a conference), who that person called, and the duration of the call</li>
<li><strong>Quality of Experience (QoE),</strong> which reports standard telecommunications metrics (such as jitter, packet loss, and round-trip times) that can be used to help administrators assess the quality of a call and to troubleshoot any problems that might have lessened the quality of a call</li>
</ul>
<h1>How to deploy Monitor Server and Reports</h1>
<ul>
<li>See this article on how to deploy the monitoring server and reports: <a href="http://blogs.technet.com/b/nexthop/archive/2011/06/27/deployment-details-for-lync-monitoring-reports.aspx">http://blogs.technet.com/b/nexthop/archive/2011/06/27/deployment-details-for-lync-monitoring-reports.aspx</a></li>
<li><code></code>One Monitoring server can be associated with multiple pools</li>
<li>A single Monitoring server can capture data for 250,000 users</li>
<li>Based on the Lync Server user model
<ul>
<li>the CDR database grows 31.5 KB per user per day</li>
<li>the QoE database grows 28 KB per user per day</li>
</ul>
</li>
<li>Calculate the monitoring database size using the following formula: <code>DB size = (DB growth per user per day) * (Number of users) * (Number of days)</code></li>
</ul>
<h1>When to use the Monitoring Reports?</h1>
<p>If you are serious about succeeding with a Lync Server deployment and want to maintain and at the same time document overall usage and acceptance within the organization you should deploy a Lync monitoring server. The reports are best used when you want information about</p>
<ul>
<li>Usage trends &#8211; see how the deployment is used by the users and is the key reporting tool to measure success of adoption in the organization</li>
<li>Conversation quality – see trends on how the network is scaled in terms meeting expected voice quality</li>
<li>Reliability – Is the solution reliable? Look for unexpected call failures and see if you can find a weak link in you deployment</li>
</ul>
<p>You can find the link to your monitoring reports from the Lync Control Panel, Home tab-&gt;Top Actions</p>
<h1>What to look for?</h1>
<p>Now this I think is the key part of the monitoring reports. Lync Server 2010 monitoring reports introduced color coding of bad values directly in to the reports. Yellow meaning it was not that good and red meaning bad or epic failure. You will see different terms when going through the reports, and these are fairly typical when looking at a VoIP system. Lync Server 2010 is a network based VOIP solution that depends heavily on network quality and scalability. Overall usage is therefore also of interest in terms of knowing if a certain wan link is overloaded.</p>
<h1>Mean Opinion Score and Metrics</h1>
<p>Mean Opinion Scores (MOS) are algorithm to determine the perceived quality of a call that was complete. The call is rated from 1 to 5 where 5 is the best quality. That being said you can not compare scores across different codecs because they have different max values. See below table:</p>
<table>
<tbody>
<tr>
<th>Scenario</th>
<th>Codec</th>
<th>Max NMOS</th>
</tr>
<tr>
<td>PC-PC call</td>
<td>RTAudio WB</td>
<td>4.10</td>
</tr>
<tr>
<td>Conference call</td>
<td>Siren</td>
<td>3.72</td>
</tr>
<tr>
<td>PC-PSTN call</td>
<td>RTAudio NB*</td>
<td>2.95</td>
</tr>
<tr>
<td>PC-PSTN call</td>
<td>Siren*</td>
<td>3.72</td>
</tr>
</tbody>
</table>
<p>* The codec used in PC-PSTN can either be Siren or RTAudio NB depending on the configuration of the Mediation Server</p>
<p>Now here is the <strong>important part: </strong>Because the maximum Network MOS varies depending on the scenario (because different codecs are used), it is usually more interesting to look at the average <strong>degradation of the Network MOS</strong> during the call. The average degradation can be broken down into how much is due to network jitter and how much is due to packet loss. For very small degradations, the cause of the degradation may not be available.</p>
<p><strong>Degradation in Network MOS </strong>is the Average amount MOS degradation experienced during a call. A degradation over 0.5 may indicate a poor call.</p>
<h3>What may cause a degrading network MOS?</h3>
<ul>
<li>Congestion
<ul>
<li>High Jitter, must not exceed <strong>30ms</strong></li>
</ul>
</li>
<li>Lack of bandwidth
<ul>
<li>High packet loss, must not exceed<strong> 10%</strong></li>
<li>Resulting in high concealed audio sample that is a technique used to smooth out the abrupt transition that would usually be caused by dropped network packets
<ul>
<li>Must not exceed<strong> 7%</strong></li>
</ul>
</li>
</ul>
</li>
<li>Wireless congestion
<ul>
<li>High Jitter, must not exceed<strong> 30ms</strong></li>
</ul>
</li>
<li>Interference
<ul>
<li>High round trip time, must not exceed <strong>150ms</strong></li>
</ul>
</li>
<li>Overloaded media server
<ul>
<li>Make sure the server has the resources it needs</li>
</ul>
</li>
</ul>
<p>High degradation results in distorted or lost audio</p>
<p>Read more about MOS values here: <a href="http://technet.microsoft.com/en-us/library/bb894481(v=office.12).aspx">http://technet.microsoft.com/en-us/library/bb894481(v=office.12).aspx</a></p>
<h1>Monitoring reports of interest</h1>
<p>The cool thing about the monitoring reports is that they are intertwined with each other. You may start out looking at trends seeing how the system is utilized and end up looking at diagnostics reports of failed calls. A lot of the fields are clickable and will lead you to other reports and help you dig down to the report you are interested in.</p>
<h3>Usage Reports</h3>
<p>There is a lot of reports on Overall Usage and Trends. You must find the report for the modality you are interested in to see if you users are Lyncing the right way. Some examples are Conference Summary Report, Peer-to-Peer Activity Summary Report and User Registration Report. They all give some nice data views of the adoption in the organization.</p>
<h3>Conversation Quality</h3>
<p>The main reports that I recommend looking into is</p>
<ul>
<li>Media Quality Summary Report
<ul>
<li>Show all users related activity relating to audio and video</li>
</ul>
</li>
<li>Server Performance Report
<ul>
<li>Show all audio and video activity involving servers like conferencing and PSTN</li>
</ul>
</li>
</ul>
<p>These are quite similar reports and I look for <strong>poor call percentage</strong> in conferences over a period in time giving you a trending overview. I single out conferences because this is what have biggest impact on Quality of Experience by the users just because there usually are more than two users in a conference.</p>
<p>Poor call percentage is the percentage of calls being made that <strong>classifies as poor calls</strong>. What defines a poor call? A majority of these calls have a <strong>Degradation in MOS</strong> value higher than 0,5.</p>
<h3>Reliability</h3>
<p>There is a really great video showing you how you can use the Monitoring Server Reports for looking for unexpected failures of audio calls created by the Lync team. I recommend watching it.</p>
<p><a href="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" target="_blank"><strong>System-wide Troubleshooting: Lync Call Connectivity</strong></a> - This video shows how to use the Call Diagnostic Summary Report of Monitoring Server Reports to analyze system-wide call activity in order to identify and resolve potential Lync call connectivity problems.</p>
<h1>Closing notes</h1>
<p>It is possible to spend a lot of time with the monitoring reports. They could be used for adoption analysis of the deployment or for seeing trends in quality as well as troubleshoot unexpected failures. Most of the reports are self-explanatory but an overall understanding is important. Hope this article may help you get started with using the Lync Server 2010 Monitoring Reports and if you have not implemented them, now is a good time.</p>
<h1>References</h1>
<p>Using Monitoring Server Reports: <a href="http://technet.microsoft.com/en-us/library/gg558662.aspx">http://technet.microsoft.com/en-us/library/gg558662.aspx<br />
</a>Work Smart Guide for Monitoring Server Reports: <a href="http://go.microsoft.com/fwlink/?LinkID=213232">http://go.microsoft.com/fwlink/?LinkID=213232</a><br />
Getting Started with Monitoring in Lync Server 2010: <a href="http://go.microsoft.com/fwlink/?LinkId=219000">http://go.microsoft.com/fwlink/?LinkId=219000</a><br />
Understanding the Monitoring Server Reports: <a href="http://go.microsoft.com/fwlink/?LinkId=219001">http://go.microsoft.com/fwlink/?LinkId=219001</a><br />
Using Monitoring Server Reports: <a href="http://go.microsoft.com/fwlink/?LinkId=219003">http://go.microsoft.com/fwlink/?LinkId=219003</a><br />
Monitoring and Troubleshooting Lync Calls: <a href="http://blogs.technet.com/b/nexthop/archive/2011/10/10/monitoring-and-troubleshooting-lync-call-videos.aspx">http://blogs.technet.com/b/nexthop/archive/2011/10/10/monitoring-and-troubleshooting-lync-call-videos.aspx<br />
</a>Custom Reports: Call Detail Recording (CDR) Database Schema: <a href="http://go.microsoft.com/fwlink/?LinkId=205479">http://go.microsoft.com/fwlink/?LinkId=205479</a><br />
Custom Reports: Quality of Experience (QoE) Database Schema: <a href="http://go.microsoft.com/fwlink/?LinkId=209915">http://go.microsoft.com/fwlink/?LinkId=209915</a><br />
Mean Opinion Score and Metrics: <a href="http://technet.microsoft.com/en-us/library/bb894481(v=office.12).aspx">http://technet.microsoft.com/en-us/library/bb894481(v=office.12).aspx</a></p>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a> Tagged: <a href='http://msunified.net/tag/degradation-mos/'>Degradation MOS</a>, <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/tag/lync-server-2010-monitoring-reports/'>Lync Server 2010 Monitoring Reports</a>, <a href='http://msunified.net/tag/monitoring-reports/'>Monitoring Reports</a>, <a href='http://msunified.net/tag/network-mos/'>Network MOS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3272&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/05/29/lync-server-2010-monitoring-reports-and-why-you-always-should-deploy-them/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
<enclosure url="http://content3.catalog.video.msn.com/e2/ds/03bfbee4-8205-49cc-aecb-b3528d767fc8.wmv" length="0" type="video/asf" />
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>
	</item>
		<item>
		<title>Lync Features and how to configure them moving to TechNet Wiki</title>
		<link>http://msunified.net/2012/04/29/lync-features-and-how-to-configure-them-moving-to-technet-wiki/</link>
		<comments>http://msunified.net/2012/04/29/lync-features-and-how-to-configure-them-moving-to-technet-wiki/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 21:04:28 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Lync wiki]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3256</guid>
		<description><![CDATA[The Lync Community has produced a lot of great articles about Lync Server 2010 features and how to configure them. Since the Lync Server went RTM I have noted down good blog posts that explains the Lync technology or tell us how to configure it in this post: http://msunified.net/2010/11/22/lync-server-2010-features-and-how-to-configure-them/ It has been one the most [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3256&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.technet.com/b/nexthop/p/blog_world.aspx" target="_blank">The Lync Community </a>has produced a lot of great articles about Lync Server 2010 features and how to configure them. Since the Lync Server went RTM I have noted down good blog posts that explains the Lync technology or tell us how to configure it in this post: <a href="http://msunified.net/2010/11/22/lync-server-2010-features-and-how-to-configure-them/">http://msunified.net/2010/11/22/lync-server-2010-features-and-how-to-configure-them/</a></p>
<p>It has been one the most popular posts on msunified.net. I now feel it is more suited that it is moved to the <a href="http://social.technet.microsoft.com/wiki/contents/articles/5295.wiki-lync-server-portal.aspx" target="_blank">Lync TechNet Wiki </a>so that everyone can add their blog posts to this list. I am hoping everyone will use it actively so that when you write a blog post or see a great article that should be there that you will add it there yourself. I will monitor the wiki to ensure the quality of the content posted so we don&#8217;t get spammers and such adding articles that should not be there.</p>
<p><a href="http://social.technet.microsoft.com/wiki/contents/articles/10119.wiki-lync-server-2010-features-and-how-to-configure-them.aspx"><img class="alignnone size-full wp-image-3258" title="Wiki: Lync Server 2010 Features and How to Configure Them" src="http://stalehansen.files.wordpress.com/2012/04/wiki.png" alt="" width="657" height="522" /></a></p>
<h1>How to add a post</h1>
<ul>
<li>Start with navigating to the article
<ul>
<li>Found at <a href="http://social.technet.microsoft.com/wiki/contents/articles/10119.wiki-lync-server-2010-features-and-how-to-configure-them.aspx">http://social.technet.microsoft.com/wiki/contents/articles/10119.wiki-lync-server-2010-features-and-how-to-configure-them.aspx</a></li>
</ul>
</li>
<li>Hit sign-in at the top right corner</li>
<li>After you have signed in with your live ID you are able to edit the article</li>
<li>Click the edit tab, and you will get a word editor</li>
<li>Add the post you want to add</li>
<li>Add the post with title and full link
<ul>
<li>Use the full link because it will give the best search rating for the blog post on search engines</li>
</ul>
</li>
<li>If you can add a comment on what you edited it would be appreciated</li>
<li>Click save at the bottom of the page and you have contributed to the community</li>
</ul>
<p>It will be fun to see how the community will respond to this kind of wiki and how the site will evolve in time.</p>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a> Tagged: <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/tag/lync-wiki/'>Lync wiki</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3256&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/04/29/lync-features-and-how-to-configure-them-moving-to-technet-wiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2012/04/wiki.png" medium="image">
			<media:title type="html">Wiki: Lync Server 2010 Features and How to Configure Them</media:title>
		</media:content>
	</item>
		<item>
		<title>What is CSContactImporter and how can it be used</title>
		<link>http://msunified.net/2012/04/24/what-is-cscontactimporter-and-how-can-it-be-used/</link>
		<comments>http://msunified.net/2012/04/24/what-is-cscontactimporter-and-how-can-it-be-used/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 20:44:16 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[CSContactImport]]></category>
		<category><![CDATA[dbimpexp.exe]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3230</guid>
		<description><![CDATA[CSContactImporter was released 12.04.2012 and can be downloaded here: http://www.microsoft.com/download/en/details.aspx?id=29558 At first i thought it was a PowerShell script to add contacts to a users contact list since the name starts with CS. After downloading and installing it I found out it was a program that enables you to do this from a GUI. What [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3230&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CSContactImporter was released 12.04.2012 and can be downloaded here: <a href="http://www.microsoft.com/download/en/details.aspx?id=29558">http://www.microsoft.com/download/en/details.aspx?id=29558</a></p>
<p>At first i thought it was a PowerShell script to add contacts to a users contact list since the name starts with CS. After downloading and installing it I found out it was a program that enables you to do this from a GUI.</p>
<h1>What does it do?</h1>
<ul>
<li>It lets you import contacts into Lync\OCS from
<ul>
<li>AOL Instant Messenger (blt export, version 2)</li>
<li>Windows Live (csv export)
<ul>
<li>Cannot import groups</li>
<li>Because some WLM contacts may not have msn domain the contacts may be imported wrong and not working</li>
<li>Example: sh@msunified.net needs to be in the format sh(msunified.net)@msn.com in Lync, when its not imported like this it will fail so beware</li>
</ul>
</li>
<li>YAHOO Messenger (Yahoo csv export)
<ul>
<li>Cannot import groups</li>
</ul>
</li>
<li>Plain Text
<ul>
<li>One line per contact, optionally add comma and group name</li>
<li>Example: sh@msunified.net,Sales</li>
<li>For distribution groups, enter the group email and then _dg_ as the group name</li>
<li>Example: accounting@contoso.com,_dg_</li>
</ul>
</li>
</ul>
</li>
<li>The contacts can be imported to a single user or a group of users using the batch option</li>
<li>You need to use dbimpexp.exe to export all contacts or indivdual contacts from the Lync SQL contact store
<ul>
<li>The tool is a Lync native tool found under <em>C:\Program Files\Common Files\Microsoft Lync Server 2010\Support</em></li>
</ul>
</li>
<li>After you have exported your users you can use the CSContactImporter to append the contacts to the users list</li>
<li>Then you need to use dbimpexp.exe to import the users contacts to the Lync SQL contact store again</li>
</ul>
<h1>What does it look like?</h1>
<p><img class="size-full wp-image-3231 alignnone" style="border:0 currentColor;" title="CSCI1" src="http://stalehansen.files.wordpress.com/2012/04/csci1.jpg" alt="" width="590" height="242" /></p>
<p><img style="border:0 currentColor;" title="csim2" src="http://stalehansen.files.wordpress.com/2012/04/csim2.png?w=589&h=241" alt="" width="589" height="241" /></p>
<h1>Using it in a scenario</h1>
<p>To me the batch import is the most interesting scenario. Being able to prepopulate a Lync users contact list with its closest peers in the office or his og her virtual coworkers. The ability to add a default group to all contact lists with telepresence rooms or IT support seems like a usable scenario. Espcially when its the first time users start using Lync, I bet the new users spends their first time in Lync trying to find their coworkers.</p>
<p>To populate a few users with their closest coworkers in a group</p>
<ul>
<li>You need to export all users contact list from the Lync contact database, even though the contact lists is empty
<ul>
<li>For Standard Edition run the command: <em>dbimpexp.exe /hrxmlfile:&#8221;c:\TempCSCI\users.xml&#8221;</em></li>
<li>For Enterprise Edition run the command: <em>dbimpexp.exe /hrxmlfile:&#8221;c:\TempCSCI\users.xml&#8221; /sqldatabase:&#8221;sql server hostname&#8221;\&#8221;instance name&#8221;</em></li>
<li>It is not possbile to export groups of users using this tool, only one or all</li>
</ul>
</li>
<li>Create the contacts you want imported into the users contact lists in a txt
<ul>
<li>sh@msunified.net,Sales</li>
<li>vf@msunified.net,Sales</li>
<li>me@msunified.net,Sales</li>
<li>Where sales is the group name, if a group exists from before it will update this group if you check &#8221;Carry over groups&#8221;</li>
</ul>
</li>
<li>If you just want to add a distribution group instead use the following syntax
<ul>
<li>sales@msunified.net,_dg_</li>
<li>Personally I don&#8217;t like using distribution groups because sometimes the group expansion is not always that snappy and not all clients support them</li>
</ul>
</li>
<li>You need to create one file per user with the content above and the filename must match the SIP address of the user they will be imported into
<ul>
<li>sh@msunified.net.txt</li>
</ul>
</li>
<li>Make sure all the files are stored in the same folder</li>
<li>Populate CSContactImporter as shown below and hit Generate
<ul>
<li>The importer will only alter the users specified in the txt files and no other users</li>
</ul>
</li>
</ul>
<p><img class="alignnone size-full wp-image-3236" style="border:0 currentColor;" title="csim3" src="http://stalehansen.files.wordpress.com/2012/04/csim3.png" alt="" width="590" height="241" /></p>
<ul>
<li>A log file will be written to the same folder and you can open it to see if any users failed to import</li>
<li>Now you need to use dbimpexp.exe to import the new contact lists
<ul>
<li>For Standard Edition run the command: <em>dbimpexp.exe /import /hrxmlfile:&#8221;c:\TempCSCI\users_merged.xml&#8221; /restype:all</em></li>
<li>For Enterprise Edition run the command: <em>dbimpexp.exe /import /hrxmlfile:&#8221;c:\TempCSCI\users_merged.xml&#8221; /sqldatabase:&#8221;sql server hostname&#8221;\&#8221;instance name&#8221; /restype:all</em></li>
</ul>
</li>
<li>After the import is finished, the users need to log out of Lync and then in again to see the new groups and contacts
<ul>
<li>Remember that all changes users have done to their contact lists between you export and import will be lost, make sure to do this in low traffic periods</li>
</ul>
</li>
</ul>
<p><img class="alignnone size-full wp-image-3238" style="border:0 currentColor;" title="CSIM4" src="http://stalehansen.files.wordpress.com/2012/04/csim4.png" alt="" width="382" height="169" /></p>
<h1>Conclusion</h1>
<p>The tool works and it is now possible to import contacts form other IM solutions or predefening contacts based on AD groups or office location before users log on using this tool. If you have lots of users a lot of these steps may be automated using PowerShell, like finding the users you want to have in your group, creating the txt files and dbimpexp export\import. The only manual thing here is the tool itself. I am sure a cool script to handle this will be written as the community will get more hands-on.</p>
<p>You may also want to try out <a href="http://www.expta.com/2011/01/introducing-lyncaddcontacts.html">LyncAddContacts.vbs – VBS Script to add Groups to multiple contacts</a> created by MVP Jeff Guillet. The main difference between CSImportContact and LyncAddContacts:</p>
<ul>
<li>CSImportContacts can new users and groups based on text files or import from another IM program and is a GUI</li>
<li>LyncAddContacts needs to have a defined dummy user with only the groups or users you want to import and is a VBS script</li>
</ul>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a> Tagged: <a href='http://msunified.net/tag/cscontactimport/'>CSContactImport</a>, <a href='http://msunified.net/tag/dbimpexp-exe/'>dbimpexp.exe</a>, <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3230&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/04/24/what-is-cscontactimporter-and-how-can-it-be-used/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2012/04/csci1.jpg" medium="image">
			<media:title type="html">CSCI1</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2012/04/csim2.png" medium="image">
			<media:title type="html">csim2</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2012/04/csim3.png" medium="image">
			<media:title type="html">csim3</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2012/04/csim4.png" medium="image">
			<media:title type="html">CSIM4</media:title>
		</media:content>
	</item>
		<item>
		<title>Todays Lesson Learned – Lync and Exchange UM integration when the UM server is in another subdomain</title>
		<link>http://msunified.net/2012/04/24/todays-lesson-learned-lync-and-exchange-um-integration-when-the-um-server-is-in-another-subdomain/</link>
		<comments>http://msunified.net/2012/04/24/todays-lesson-learned-lync-and-exchange-um-integration-when-the-um-server-is-in-another-subdomain/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 23:08:34 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Exchange UM]]></category>
		<category><![CDATA[ExchUcUtil.ps1]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3221</guid>
		<description><![CDATA[This is a follow-up post in a series called Todays Lesson Learned started by fellow Lync MVP Tommy Clarke with this post: Todays lesson learned–Exchange 2010 upgrade with Active Sync and MobileIron and my follow up post on: Todays Lesson Learned – Lync Server 2010 and ST node for OpsMgr 2007 R2 It is a blog series noting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3221&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a follow-up post in a series called Todays Lesson Learned started by fellow Lync<a href="http://www.ultimate-communications.com/about/" target="_blank"> MVP Tommy Clarke </a>with this post: <a href="http://www.ultimate-communications.com/2012/02/todays-lesson-learnedexchange-2010-upgrade-with-active-sync-and-mobileiron/" target="_blank">Todays lesson learned–Exchange 2010 upgrade with Active Sync and MobileIron</a> and my follow up post on: <a title="Permanent link to Todays Lesson Learned – Lync Server 2010 and ST node for OpsMgr 2007 R2" href="http://msunified.net/2012/02/15/todays-lesson-learned-lync-server-2010-and-st-node-for-opsmgr-2007-r2/" rel="bookmark">Todays Lesson Learned – Lync Server 2010 and ST node for OpsMgr 2007 R2</a> It is a blog series noting down “learn from my mistakes” and “gotchas that can stop an entire project” type of problems with learning by doing and learning the hard way.</p>
<p>I was doing an Exchange UM integration with Lync. Everything worked fine and I was following fellow MVP blog article by Jeff Schertz: <a href="http://blog.schertz.name/2010/11/lync-and-exchange-um-integration/">http://blog.schertz.name/2010/11/lync-and-exchange-um-integration/</a></p>
<h1>The Problem</h1>
<ul>
<li>When I got to the point where I was going to run the Exchange script <strong>exchucutil.ps1</strong> on the Exchange UM server I got the following error</li>
</ul>
<p><em>Using Global Catalog: GC://&#8221;Different subdomain&#8221;</em></p>
<p><em>The UM server wasn&#8217;t able to read the Communications Server pool objects. Verify that Communications Server is deployed in this Active Directory forest and you&#8217;re a member of the RTCUniversalServerReadOnlyGroup group or have sufficient rights to read this Active Directory container object.Additional information:Group RTCUniversalServerAdmins couldn&#8217;t be found.</em></p>
<ul>
<li>Checking the web for possible solutions I came over this blog post for UM integration with OCS back in the days: <a href="http://etcuc.blogspot.com/2009/02/exchucutil.html">http://etcuc.blogspot.com/2009/02/exchucutil.html</a></li>
</ul>
<h1>Probable Cause</h1>
<ul>
<li>The cause of this was that Exchange Schema extension was done in another subdomain.</li>
<li>When the Get-Ucpools.ps1 script triggered it could not find the Lync security groups to access the Lync pool configuration.</li>
</ul>
<h1>The Solution</h1>
<ul>
<li>As the blog depicts the solution was to edit the Get-Ucpools.ps1 script that is used by the ExchUcUtil.ps1 script
<ul>
<li>Make a copy of the original script before editing</li>
<li>Remember to open NotePad &#8220;as administrator&#8221;, else you can not save the script</li>
</ul>
</li>
<li>Comment out the original global catalog discovery line
<ul>
<li><em><strong>#</strong>$entry.psbase.Path = &#8220;GC://&#8221; + $globalCatalog</em></li>
<li><em>$entry.psbase.Path = <strong>&#8220;GC://MYGCin.Domain.com&#8221;</strong></em></li>
</ul>
</li>
<li>Add a local domain controller that is also a global catalog
<ul>
<li>To determine what domain controller is global catalog check this TechNet article: <a href="http://technet.microsoft.com/en-us/library/cc786686(v=ws.10).aspx">http://technet.microsoft.com/en-us/library/cc786686(v=ws.10).aspx</a></li>
</ul>
</li>
<li>Save the script</li>
<li>Rerun ExchUcUtil.ps1</li>
</ul>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a> Tagged: <a href='http://msunified.net/tag/exchange-um/'>Exchange UM</a>, <a href='http://msunified.net/tag/exchucutil-ps1/'>ExchUcUtil.ps1</a>, <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3221&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/04/24/todays-lesson-learned-lync-and-exchange-um-integration-when-the-um-server-is-in-another-subdomain/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>
	</item>
		<item>
		<title>Awarded Microsoft Most Valuable Professional (MVP)</title>
		<link>http://msunified.net/2012/04/01/awarded-microsoft-most-valuable-professional/</link>
		<comments>http://msunified.net/2012/04/01/awarded-microsoft-most-valuable-professional/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 15:40:39 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[UCC]]></category>
		<category><![CDATA[Lync MVP]]></category>
		<category><![CDATA[MVP]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3203</guid>
		<description><![CDATA[On April 1st last year I was awarded the Microsoft MVP Award for my contributions in the Lync community. The MVP Award is valid for 1 year, and is based on the contributions for the past year. On April 1st this year I was re-awarded for my 2nd year as an MVP: Dear Ståle Hansen, Congratulations! [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3203&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="https://mvp.support.microsoft.com/profile/Hansen1"><img class="alignnone size-full wp-image-2266" style="border:0 currentColor;" title="MVPs" src="http://stalehansen.files.wordpress.com/2011/04/mvps.png" alt="" width="616" height="135" /></a><br />
On April 1st last year <a href="http://msunified.net/2011/04/01/awarded-lync-microsoft-most-valuable-professional-mvp/">I was awarded</a> the Microsoft MVP Award for my contributions in the Lync community. The MVP Award is valid for 1 year, and is based on the contributions for the past year. On April 1st this year I was re-awarded for my 2nd year as an MVP:</p>
<blockquote><p><em>Dear Ståle Hansen,</em> <em> Congratulations! We are pleased to present you with the 2012 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Lync technical communities during the past year.</em></p></blockquote>
<p>I feel very honored to be part of this outstanding community and I want to mention the MVP Summit as a highlight of the experience. With all the cool things happening around Lync, Office and Windows 8 I look forward to contribute to the community the coming year as well.</p>
<p><strong>Resources</strong></p>
<p><a href="http://mvp.support.microsoft.com/gp/aboutmvp">About the MVP Award Program</a><br />
<a href="https://mvp.support.microsoft.com/communities/mvp.aspx?product=1&amp;competency=Lync">Lync MVP Awardees</a><br />
<a href="http://www.mvps.org/">MVPs.org community site</a><br />
<a href="https://mvp.support.microsoft.com/default.aspx?scid=fh;EN-US;mvpfaqs">Microsoft MVP FAQ</a></p>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/category/ucc/'>UCC</a> Tagged: <a href='http://msunified.net/tag/lync-mvp/'>Lync MVP</a>, <a href='http://msunified.net/tag/mvp/'>MVP</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3203&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/04/01/awarded-microsoft-most-valuable-professional/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2011/04/mvps.png" medium="image">
			<media:title type="html">MVPs</media:title>
		</media:content>
	</item>
		<item>
		<title>Featured on NextHop blog Series: Interview with a Lync Pro</title>
		<link>http://msunified.net/2012/03/23/feattured-on-nexthop-blog-series-interview-with-a-lync-pro/</link>
		<comments>http://msunified.net/2012/03/23/feattured-on-nexthop-blog-series-interview-with-a-lync-pro/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 15:32:00 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[UCC]]></category>
		<category><![CDATA[Interview with a Lync PRO]]></category>
		<category><![CDATA[Lync]]></category>
		<category><![CDATA[NextHop]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3192</guid>
		<description><![CDATA[I had the honour of being interviewed by Justin Morris who writes the blog series Interview with a Lync Pro hosted at the Lync NextHop blog. It is really cool be featured in such a way and recognized as a Lync Pro by the community together with the people I myself turn to for expert [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3192&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had the honour of being interviewed by <a href="http://www.justin-morris.net/category/interview-with-a-uc-pro/" target="_blank">Justin Morris </a>who writes the blog series Interview with a Lync Pro hosted at the Lync <a href="http://blogs.technet.com/b/nexthop/archive/2012/03/23/interview-with-a-lync-pro-st-229-le-hansen.aspx" target="_blank">NextHop</a> blog. It is really cool be featured in such a way and recognized as a Lync Pro by the community together with the people I myself turn to for expert knowledge. Head over to <a href="http://blogs.technet.com/b/nexthop/archive/2012/03/23/interview-with-a-lync-pro-st-229-le-hansen.aspx" target="_blank">NextHop</a> to read the entire interview and also make sure to read the interview of the other Lync Pro&#8217;s as well: <a href="http://blogs.technet.com/b/nexthop/archive/2012/03/23/interview-with-a-lync-pro-st-229-le-hansen.aspx">http://blogs.technet.com/b/nexthop/archive/2012/03/23/interview-with-a-lync-pro-st-229-le-hansen.aspx</a></p>
<p><a href="http://blogs.technet.com/b/nexthop/archive/2012/03/23/interview-with-a-lync-pro-st-229-le-hansen.aspx"><img class="size-full wp-image-3193 alignnone" style="border:0 currentColor;" title="NextHop" src="http://stalehansen.files.wordpress.com/2012/03/screen-shot-2012-02-27-at-09_26_38.png" alt="" width="626" height="140" /></a></p>
<div><em>NextHop is the Microsoft Lync Server team’s customer response channel—a new medium to rapidly make the information you need available to you, when you need it. NextHop provides pertinent, short-format, technical articles between major releases of the product and associated product documentation (technical library content, Resource Kit book, whitepapers, and tools). </em></div>
<div></div>
<div><em>NextHop highlights the knowledge of experts in the Lync Server community, bringing you information from internal and external experts, such as the Lync Server engineering team and our Most Valuable Professional (MVP) community. In addition to publishing great content by contributing authors, NextHop keeps a pulse on the community. The Lync Server Blog Roll and @DrRez Twitter feed highlight the activities of other sites and blogs focused on Communications Server. NextHop provides pointers to a wealth of information about Lync Server. Our plan is to support, encourage, and evangelize all the great content that is being written about Lync Server.</em></div>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/category/ucc/'>UCC</a> Tagged: <a href='http://msunified.net/tag/interview-with-a-lync-pro/'>Interview with a Lync PRO</a>, <a href='http://msunified.net/tag/lync/'>Lync</a>, <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/tag/nexthop/'>NextHop</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3192&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/03/23/feattured-on-nexthop-blog-series-interview-with-a-lync-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2012/03/screen-shot-2012-02-27-at-09_26_38.png" medium="image">
			<media:title type="html">NextHop</media:title>
		</media:content>
	</item>
		<item>
		<title>Todays Lesson Learned &#8211; Lync Server 2010 and ST node for OpsMgr 2007 R2</title>
		<link>http://msunified.net/2012/02/15/todays-lesson-learned-lync-server-2010-and-st-node-for-opsmgr-2007-r2/</link>
		<comments>http://msunified.net/2012/02/15/todays-lesson-learned-lync-server-2010-and-st-node-for-opsmgr-2007-r2/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 20:51:02 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Operations Manager 2007 R2]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[Synthetic Transactions]]></category>
		<category><![CDATA[System Center]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3167</guid>
		<description><![CDATA[This is a follow-up post in a series called Todays Lesson Learned started by fellow Lync MVP Tommy Clarke with this post: Todays lesson learned–Exchange 2010 upgrade with Active Sync and MobileIron It is a blog series noting down &#8220;learn from my mistakes&#8221; and &#8220;gotchas that can stop an entire project&#8221; type of problems with learning [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3167&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a follow-up post in a series called Todays Lesson Learned started by fellow Lync<a href="http://www.ultimate-communications.com/about/" target="_blank"> MVP Tommy Clarke </a>with this post: <a href="http://www.ultimate-communications.com/2012/02/todays-lesson-learnedexchange-2010-upgrade-with-active-sync-and-mobileiron/" target="_blank">Todays lesson learned–Exchange 2010 upgrade with Active Sync and MobileIron</a> It is a blog series noting down &#8220;learn from my mistakes&#8221; and &#8220;gotchas that can stop an entire project&#8221; type of problems with learning by doing and learning the hard way.</p>
<p>Lately I have been working with Lync Server 2010 and using System Center Operations Manager 2007 R2 (OpsMgr) for the best possible monitoring and troubleshooting environment for a customer. Everything got set up correct and the integration seemed to look ok. Except that Synthetic Transactions did not work.</p>
<h1>Background</h1>
<p>Synthetic Transactions can be run from PowerShell in any Lync deployment. They are &#8220;test-cs&#8221; cmdlets and enables you to test features serverside with actual users. If you run <em>(get-command &#8220;test-cs*&#8221;).count</em> from Lync Server Management Shell you will see that there are 36 test cmdlets ranging from testing the ability to log on (Test-CsRegistration) to testing Audio Video conferencing (Test-CsAvConference).</p>
<p>OpsMgr continuously run Synthetic Transactions (ST) against the Lync environment to make sure everything is working. In a best practice environment you should deploy a dedicated server to run the ST&#8217;s from. This is because they may generate heavy load on you production servers. OpsMgr runs a PowerShell script that access the node remotely and runs the test cmdlets</p>
<p>For more information on how to deploy Lync Server 2010 Management Pack for System Center Operations Manager 2007 R2, download and read the documentation here: <a href="http://www.microsoft.com/download/en/details.aspx?id=12375">http://www.microsoft.com/download/en/details.aspx?id=12375</a></p>
<h1>Symptoms</h1>
<p>After OpsMgr was deployed we noticed the following symptoms</p>
<ul>
<li>Some of the ST&#8217;s did not work failing with a &#8220;This operation has timed out&#8221; message</li>
<li>The ones that did not work was
<ul>
<li>AV conferencing</li>
<li>Instant Messaging Conferencing</li>
<li>Instant Messaging P2P</li>
<li>Presence</li>
<li>P2P AV</li>
</ul>
</li>
<li>The rest of them seemed to work</li>
<li>Logging on the ST Node we ran the test cmdlets manually and all of them worked
<ul>
<li>Telling us that the users configured to run the cmdlets worked with the CsHealthMonitoringConfiguration</li>
<li>We did not have the problem depicted in this forum post: <a href="http://social.technet.microsoft.com/Forums/en-US/ocsmonitoring/thread/81d1b976-ca07-41e8-9ede-6c600f5c2e33/">http://social.technet.microsoft.com/Forums/en-US/ocsmonitoring/thread/81d1b976-ca07-41e8-9ede-6c600f5c2e33/</a></li>
</ul>
</li>
<li>So the problem was that it worked locally, but not remotely from OpsMgr and no other indications or errors where thrown</li>
</ul>
<h1>Resolution</h1>
<p>I figured it had to be a configuration problem somewhere and went through all of the configuration on the Node from start to end using this blog post: <a href="http://www.vnext.be/2011/03/06/scom-opsmgr-lync-2010-management-pack-deploying-synthetic-transactions-sts/">http://www.vnext.be/2011/03/06/scom-opsmgr-lync-2010-management-pack-deploying-synthetic-transactions-sts/</a> It hit me when I saw the cmdlet for configuring CsTrustedApplication that we defined a port this application would access.</p>
<p>New-CsTrustedApplication -ApplicationId -TrustedApplicationPoolFqdn -Port <strong>&lt;PortNumber&gt;</strong> -Verbose</p>
<p>Checking the local Windows Firewall on the server I found that an exception for that port had not been created, and it dawned on me that they need to be created manually. Adding the exception for the port on the server and recalculating the ST health on OpsMgr solved to problem this time, saving the day and made me able to roll out Lync to that customer.</p>
<h1>Conclusion</h1>
<p>Always remember when creating Trusted Applications you need to <strong>manually</strong> create a firewall rule allowing inbound traffic to that specific port.</p>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a> Tagged: <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/tag/operations-manager-2007-r2/'>Operations Manager 2007 R2</a>, <a href='http://msunified.net/tag/opsmgr/'>OpsMgr</a>, <a href='http://msunified.net/tag/synthetic-transactions/'>Synthetic Transactions</a>, <a href='http://msunified.net/tag/system-center/'>System Center</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3167&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/02/15/todays-lesson-learned-lync-server-2010-and-st-node-for-opsmgr-2007-r2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>
	</item>
		<item>
		<title>Lync Server and PowerShell &#8211; My favourite features, oneliners and scripts</title>
		<link>http://msunified.net/2012/01/18/lync-server-and-powershell-my-favourite-features-oneliners-and-scripts/</link>
		<comments>http://msunified.net/2012/01/18/lync-server-and-powershell-my-favourite-features-oneliners-and-scripts/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 09:12:37 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3129</guid>
		<description><![CDATA[I was preparing to speak at Microsoft Technology User Group (MTUG) here in Norway at the PowerShell Script Club. My session for the night was going to be Lync Server Management Shell. First I thought I was not going to prepare anything and wing the whole session. The more I thought about it, winging any session that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3129&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was preparing to speak at <a href="http://mtug.no/nb-no/forside.aspx" target="_blank">Microsoft Technology User Group (MTUG)</a> here in Norway at the PowerShell Script Club. My session for the night was going to be Lync Server Management Shell. First I thought I was not going to prepare anything and wing the whole session. The more I thought about it, winging any session that I am going to give in front of an audience is seldom a good idea. So I thought, ok make a blog post instead. I will here add my favourite features, oneliners and scripts that I have found working with Lync Server. I will update this blogpost as I remember and find new features, oneliners and scripts. Please let me know of your best PowerShell tricks in Lync.</p>
<pre>Last updated 17.01.2012</pre>
<h1>Connecting</h1>
<p>In addition to log on the Lync Server and open Lync Server Management Shell you can also access and work with Lync through remote PowerShell which came available in V2. Here is what you need to connect. The url could be your external webservices url as well</p>
<p><pre class="brush: powershell;">
$session = New-PSSession -ConnectionUri https://lync-admin.contoso.local/OcsPowershell -Credential (Get-Credential)
Import-PSSession -Session $session
</pre></p>
<h1>Finding cmdlets</h1>
<p>There are several ways to find cmdlets in Lync. If you like the graphical representation like a mind map there is some good ones created by <a href="http://lyncdup.com/tom-arbuthnot/" target="_blank">MVP Tom Arbuthnot </a></p>
<ul>
<li><a href="http://lyncdup.com/Lync2010PowerShellCmdletsbyVerbMindmap.swf" target="_blank">Lync 2010 PowerShell Commandlets by Verb</a></li>
<li><a href="http://lyncdup.com/Lync2010PowerShellcmdletsbyCategoryMindmap.swf" target="_blank">Lync 2010 PowerShell Commandlets by Category</a></li>
</ul>
<p>In PowerShell there is some cmdlets available as well when finding what is available</p>
<p><pre class="brush: powershell;">
#Get all cmdlets for Lync that contains -Cs
Get-Command *-Cs* -CommandType cmdlet -Module Lync
#Get all cmdlets that contains user
Get-Command *user* -CommandType cmdlet -Module Lync

#When you find the cmdlet you want to use find the syntax on how to use it
Get-Help Get-CsUser -Examples
#Use -Online to open the TechNet website for that cmdlet
Get-Help Get-CsUser -Online

#Looking for a specific setting to set and don't know which cmdlet that can modify it use the below code
$params = Get-Command -CommandType Cmdlet *-Cs* | % { $n = $_.Name ; $_.Parameters.Values | % { Add-Member -in $_ noteproperty CmdletName $n; $_ } }
$params | where { $_.Name -like &quot;*meeting*&quot; } | select Name,CmdletName
#This is cool, found the trick over at http://blogs.technet.com/b/csps/archive/2010/06/14/howtofindsetting.aspx
</pre></p>
<h1>Cmdlets</h1>
<p>There are some cmdlets I use more than others and find useful. Let me know what is your most used cmdlets.</p>
<p><pre class="brush: powershell;">
#List a lot of the topology information, here you can sort to find URLs, ports and servernames configured
Get-CsService

#List all pools in your topology, useful for finding Front End pool name, when you forget it
Get-CsPool

#The only policy that is not available in Lync Control Panel, lot of nice features can be configured here
Get-CsClientPolicy

#Update the AddressBook files
Update-CsAddressBook

#List the CMS replication status for each Lync Server
Get-CsManagementStoreReplicationStatus
</pre></p>
<h1>Oneliners</h1>
<p>The most used oneliners that I use</p>
<p><pre class="brush: powershell;">
#Find what Lync Services are running
Get-CsWindowsService -ExcludeActivityLevel | ft Name, Status
#Start any stopped services
Get-CsWindowsService -ExcludeActivityLevel | where {$_.Status -like &quot;Stopped&quot;} | Start-CsWindowsService

#Find all users that are enabled for Lync and have a LineUri, sort them by LineUri, display displayname and LineUri
Get-CsUser -Filter {LineURI -ne $Null} | sort -Property LineURI | ft DisplayName,LineURI

#Quickly find and open the share folder for the Lync pool
Invoke-Item(Get-CsService -FileStore | Select-Object -ExpandProperty UncPath)
</pre></p>
<h1>Scripts</h1>
<p>There are a lot of scripts that is created and expand on Lync Server PowerShell functionality and and some that simplifies working with Lync as well as monitors the solution. Below are some of my favourite scripts. Please let me know of other epic scripts out there.</p>
<p><a href="http://msunified.net/lyncdownloads/script-set-lync2010windows2008r2features-ps1/" target="_blank">Set-Lync2010Features.ps1</a></p>
<p style="padding-left:30px;">A script to install prerequisites on Server 2008 R2 before you start install Lync Server on the OS.  You can download the resource kit tools, Silverlitght and other tools easily. You even have som post deployment options in the script as well. This script is highly recommended and I use it in every deployment.</p>
<p><a href="http://msunified.net/lyncdownloads/script-list-unusednumbers-ps1/">List-UnusedNumbers.ps1</a></p>
<p style="padding-left:30px;">A scripts that read unassigned numbers and depends on you having put you entire number serie there. It will find all numbers assigned to users, devices and features in Lync and find what numbers are available in any given unassigned numbers series. This is a script that saves you the pain of managing available numbers in an excel sheet.</p>
<p><a href="http://msunified.net/lyncdownloads/script-set-globalvoicerouting-ps1/">Set-GlobalVoiceRouting.ps1</a></p>
<p style="padding-left:30px;">This script is for demo or initial deployments only. It is created for norwegian rules and genereates an easy way to dial out through one gateway and has the usual normalization rules for Norway. To edit the script and find the nomralization rules for your country see the <a href="http://www.lyncoptimizer.com/" target="_blank">Dialing Rule Optimizer</a>.</p>
<p><a href="http://msunified.net/lyncdownloads/script-reset-userpolicies-ps1/">Reset-UserPolicies.ps1</a></p>
<p style="padding-left:30px;">This script is used in an OCS to Lync migration scenario. It will reset all policies to $Null so that they use Global or Pool level policies for External access, Voice Policy and so on. The reason for this is that all users should use what you define for Lync and not what you inherit from OCS.</p>
<p><a href="http://www.ehloworld.com/269" target="_blank">Get-CsConnections.ps1</a></p>
<p style="padding-left:30px;">This script lists user connections, client versions and the distribution of users in a load balanced scenario</p>
<p><a title="Permanent Link to Monitoring OCS and Lync Peak Call Capacity" href="http://www.confusedamused.com/notebook/monitoring-ocs-and-lync-peak-call-capacity/" rel="bookmark">Monitoring OCS and Lync Peak Call Capacity</a></p>
<p style="padding-left:30px;">Script to monitor how many concurrent calls a particular OCS or Lync Mediation Server is handling. The script grabs the counters for inboud and outbound calls, parses their values, adds them together, and dumps the output into a CSV file. A good tool to find how many concurrent calls you have on your deployment</p>
<p><a href="http://marjuss.wordpress.com/2011/12/16/lync-corporate-photo-update-script/" target="_blank">Update-AdPhoto.ps1 </a></p>
<p style="padding-left:30px;">A script that enables you to import AD photos from file and store it in the thumbnailPhoto attribute. It is a central feature in Lync to show a photo of users</p>
<p><a href="http://www.codesalot.com/2012/adding-external-contacts-to-the-lync-addressbook/" target="_blank">New-SipContact.ps1</a></p>
<p style="padding-left:30px;">A script to enable users to search for external contacts and Video Conferencing endpoints from Lync. It creates a contact in AD and adds the SIP address to the msRTCSIP-PrimaryUserAddress so it will be synced to the addressbook in Lync.</p>
<h1>Scripting Tips</h1>
<p>There is a lot of techniques used for scripting. The best script tips I know of I will list here.</p>
<h4>Use Write-Debug</h4>
<p>Lets you easilly define debug lines that can test variables and logic in you script that is good to use when developing the script but that not need to be there when it is used in production. When you want to debug the script you change the $DebugPreference from &#8216;SilentlyContinue&#8217; to &#8216;Continue&#8217;. Then all Write-Debug lines will be displayed.</p>
<p><pre class="brush: powershell;">
$DebugPreference = 'Continue'

$var = Read-Host &quot;Enter a computer name&quot;
Write-Debug “’$var’ contains $var“

$DebugPreference = 'SilentlyContinue'
</pre></p>
<h4>Use Functions</h4>
<p>Functions are scripts in scripts. If it is certain things you need to do more than once in you script, make it a function with an input and output. I have also seen functions being used to organize your script in a better way to make it easier and more ordered to view.</p>
<p><pre class="brush: powershell;">
Function Do-Something ($computername,$domainname) {
	# function code goes here
}
</pre></p>
<h1>Resources</h1>
<p>The Official Lync PowerShell Blog: <a href="http://blogs.technet.com/b/csps/p/categories.aspx">http://blogs.technet.com/b/csps/p/categories.aspx</a><br />
The Official Lync PowerShell Blog Cmdlet Descriptions: <a href="http://blogs.technet.com/b/csps/archive/2010/07/16/refallcmdlets.aspx">http://blogs.technet.com/b/csps/archive/2010/07/16/refallcmdlets.aspx</a><br />
MVP Pat Richard&#8217;s Blog: <a href="http://www.ehloworld.com/category/powershell">http://www.ehloworld.com/category/powershell</a></p>
<br />Filed under: <a href='http://msunified.net/category/lync-server-2010/'>Lync Server 2010</a> Tagged: <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/tag/powershell/'>PowerShell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3129/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3129&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/01/18/lync-server-and-powershell-my-favourite-features-oneliners-and-scripts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>
	</item>
		<item>
		<title>Slides and videos from my Lync sessions on NIC2012 are now available</title>
		<link>http://msunified.net/2012/01/16/slides-and-videos-from-my-lync-sessions-on-nic2012-is-now-available/</link>
		<comments>http://msunified.net/2012/01/16/slides-and-videos-from-my-lync-sessions-on-nic2012-is-now-available/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 20:14:02 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[UCC]]></category>
		<category><![CDATA[Integrations]]></category>
		<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3115</guid>
		<description><![CDATA[This year Nordic Infrastructure Conference (NIC) arranged for the first time. I am really honored to be considered to speak at an international conference and together with so many great speakers that I look up to. Speakers like Brian Komar, Johan Arwidmark, Martin Lidholm, Olav Tvedt, Thomas Lee and many others attended and I enjoyed their [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3115&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This year Nordic Infrastructure Conference (NIC) arranged for the first time. I am really honored to be considered to speak at an international conference and together with so many great speakers that I look up to. Speakers like Brian Komar, Johan Arwidmark, Martin Lidholm, Olav Tvedt, Thomas Lee and many others attended and I enjoyed their sessions. See list of speakers here: <a href="http://www.nic2012.com/nic2012_agenda/speakers">http://www.nic2012.com/nic2012_agenda/speakers</a>. My sessions where about Lync Server 2010 troubleshooting and integrations. I enjoyed speaking there even though my spoken english is not the best, I think I got the points accross :) View the videos from NIC: <a href="http://www.nic2012.com/nic2012_agenda">http://www.nic2012.com/nic2012_agenda</a></p>
<h3>Lync Server 2010 Troubleshooting</h3>
<p>The goal of this session is to help you understand what troubleshooting tools that are at your disposal and will show them in an actual scenario. When troubleshooting a solution as Lync Server 2010 it is smart to know how things work as well. Therefore this session will also touch upon how the Lync SIP server works and what the Lync Edge server actually is.</p>
<p>View the <a href="http://vimeo.com/nicconf/review/35054174/e8052746d3" target="_blank">video </a>and download the <a href="http://stalehansen.files.wordpress.com/2012/01/niclynctroubleshooting.pdf">slides</a></p>
<h3>Lync Server 2010 Integrations</h3>
<p>This session will take a look at all the differente integrations with Lync Server 2010 and how they play out. Expect to get a good overview of the possibilities available to enhance the experience of Lync. This session will not contain that many demos but will focus on pros and cons with the different types of integrations.</p>
<p>View the <a href="http://vimeo.com/nicconf/review/35054425/9c199838d0" target="_blank">video</a> and download the <a href="http://stalehansen.files.wordpress.com/2012/01/niclyncintegrations.pdf">slides</a></p>
<p>Also take a look at the other Lync sessions by Martin Lidholm</p>
<ul>
<li><a href="http://vimeo.com/nicconf/review/35053883/bdd2e3c943">Telephony with Lync on the Nordic market</a></li>
<li><a href="http://vimeo.com/nicconf/review/35054430/5ec041aa2b">Lync Server 2010 Mobile Clients</a></li>
</ul>
<p>I also did a Flash Talk at the Microsoft Booth demonstrating how to roll out Custom Presence States using Set-CsClientPolicy and also how to set it in registry</p>
<span style="text-align:center; display: block;"><a href="http://msunified.net/2012/01/16/slides-and-videos-from-my-lync-sessions-on-nic2012-is-now-available/"><img src="http://img.youtube.com/vi/Pd3bp_HyZhM/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://msunified.net/category/ucc/'>UCC</a> Tagged: <a href='http://msunified.net/tag/integrations/'>Integrations</a>, <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/tag/troubleshooting/'>troubleshooting</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3115&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/01/16/slides-and-videos-from-my-lync-sessions-on-nic2012-is-now-available/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtual Technical Solution Professional (V-TSP) at Microsoft Norway</title>
		<link>http://msunified.net/2012/01/02/virtual-technical-solution-professional-v-tsp-at-microsoft-norway/</link>
		<comments>http://msunified.net/2012/01/02/virtual-technical-solution-professional-v-tsp-at-microsoft-norway/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 20:44:10 +0000</pubDate>
		<dc:creator>Ståle Hansen</dc:creator>
				<category><![CDATA[UCC]]></category>
		<category><![CDATA[Lync]]></category>
		<category><![CDATA[Lync Server 2010]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://msunified.net/?p=3083</guid>
		<description><![CDATA[In january 2012 I became a Virtual Technical Solution Professional (V-TSP) at Microsoft Norway. Virtual means that I am still employed by Atea but work closely with the local Microsoft team. My role as a V-TSP is to provide technology overviews, proofs-of-concept, technical demonstrations, and technology assessments for Microsoft customers. The V-TSP program demands that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3083&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-3086" style="border:0 currentColor;" title="Microsoft_Logo" src="http://stalehansen.files.wordpress.com/2012/01/microsoft_logo1.png" alt="" width="200" height="47" />In january 2012 I became a Virtual Technical Solution Professional (V-TSP) at Microsoft Norway. Virtual means that I am still employed by Atea but work closely with the local Microsoft team.</p>
<p>My role as a V-TSP is to provide technology overviews, proofs-of-concept, technical demonstrations, and technology assessments for Microsoft customers. The V-TSP program demands that the partner have the gold competency and that the provided resource is highly skilled and certified within the area of expertise.</p>
<p>I am really looking forward to work even more closely with Microsoft and make sure their customers implement Microsoft Lync and the Unfied Communications proftfolio to the fullest by combining the broad best-of-breed UC technologies from Atea together with Microsoft.</p>
<p><strong>Here is some information I found regarding the V-TSP program</strong></p>
<p>The Microsoft Virtual Technology Specialist Program (V-TSP) is a select group chosen from the elite in Microsoft’s partner community, whose focus is to augment Microsoft’s internal Technology Specialist team. Their primary role is to communicate the value of Microsoft Solutions to customers and to provide architectural guidance for Enterprise Integration solutions. The Microsoft V-TSP program was designed to create a deeper relationship with Microsoft Partners, the Product Teams at Microsoft Corporate, and Regional Microsoft Offices, in order to provide highly skilled solution specialists to Microsoft customers. It is designed to enable a high performance team of partner-based resources to deliver pre-sale activities and resources to empower customers and help them meet their solution and integration needs.</p>
<p>V-TSPs are chosen by Microsoft because of their superior architectural, development, consulting, and customer interfacing skills. Microsoft utilizes these type of individuals in partnership with the Microsoft regional Offices, in pre-sales efforts to secure Microsoft solution opportunities. This includes meeting with Microsoft customers, participating in customer visits with Microsoft representatives, as well as, participating in broad reach events like presenting training and seminars to Microsoft customers.</p>
<p>Microsoft V-TSPs have direct access to online resources and documentation and resources that are usually solely reserved for the Microsoft internal teams. They also have early access to extensive information about all new Microsoft product releases, which benefit Atea and Microsoft customers.</p>
<br />Filed under: <a href='http://msunified.net/category/ucc/'>UCC</a> Tagged: <a href='http://msunified.net/tag/lync/'>Lync</a>, <a href='http://msunified.net/tag/lync-server-2010/'>Lync Server 2010</a>, <a href='http://msunified.net/tag/microsoft/'>Microsoft</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stalehansen.wordpress.com/3083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stalehansen.wordpress.com/3083/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stalehansen.wordpress.com/3083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stalehansen.wordpress.com/3083/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stalehansen.wordpress.com/3083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stalehansen.wordpress.com/3083/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stalehansen.wordpress.com/3083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stalehansen.wordpress.com/3083/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stalehansen.wordpress.com/3083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stalehansen.wordpress.com/3083/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stalehansen.wordpress.com/3083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stalehansen.wordpress.com/3083/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stalehansen.wordpress.com/3083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stalehansen.wordpress.com/3083/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msunified.net&#038;blog=7420011&#038;post=3083&#038;subd=stalehansen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msunified.net/2012/01/02/virtual-technical-solution-professional-v-tsp-at-microsoft-norway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/961ad6f4a2b1289352341cb9964f2f36?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Ståle Hansen</media:title>
		</media:content>

		<media:content url="http://stalehansen.files.wordpress.com/2012/01/microsoft_logo1.png" medium="image">
			<media:title type="html">Microsoft_Logo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
