<?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>Ucirl&#039;s Blog</title>
	<atom:link href="http://ucirl.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ucirl.wordpress.com</link>
	<description>All things Microsoft... :)</description>
	<lastBuildDate>Sun, 26 Jun 2011 22:42:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ucirl.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ucirl&#039;s Blog</title>
		<link>http://ucirl.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ucirl.wordpress.com/osd.xml" title="Ucirl&#039;s Blog" />
	<atom:link rel='hub' href='http://ucirl.wordpress.com/?pushpress=hub'/>
		<item>
		<title>New blog</title>
		<link>http://ucirl.wordpress.com/2011/06/26/new-blog/</link>
		<comments>http://ucirl.wordpress.com/2011/06/26/new-blog/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 22:42:31 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/26/new-blog/</guid>
		<description><![CDATA[Hi all I am now blogging over here http://blogs.technet.com/b/parallel_universe_-_ms_tech_blog Thanks for reading<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=360&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi all I am now blogging over here</p>
<p>http://blogs.technet.com/b/parallel_universe_-_ms_tech_blog</p>
<p>Thanks for reading <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/360/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=360&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/26/new-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>
	</item>
		<item>
		<title>Troubleshooting KMS</title>
		<link>http://ucirl.wordpress.com/2011/06/22/troubleshooting-kms/</link>
		<comments>http://ucirl.wordpress.com/2011/06/22/troubleshooting-kms/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 10:56:01 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[KMS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/22/troubleshooting-kms/</guid>
		<description><![CDATA[Troubleshooting KMS I had an interesting situation today around troubleshooting KMS and trying to figure out what was happening. I was told the server was not working at all and could not be probed from the likes the VAMT (volume activation tool) from Microsoft Corporation. Here is the steps I took to help me determine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=355&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Troubleshooting KMS</p>
<p>I had an interesting situation today around troubleshooting KMS and trying to figure out what was happening. I was told the server was not working at all and could not be probed from the likes the VAMT (volume activation tool) from Microsoft Corporation. Here is the steps I took to help me determine the root cause of the KMS failures.</p>
<p>1. Logged on to server and did a quick check on the health. This involved looking at the ip configuration, the event viewer and the task manager.</p>
<p>I did notice something funny with the ip configuration but nothing that would be directly related to KMS health. Event viewer was client and task manager showed nothing out of the ordinary</p>
<p>2. Next step was to see if KMS was indeed running and listening on the box in question</p>
<p>I opened a command from and issues a netstat –an |more. This command displays the connections listening on the box and one of the first entries in the list was TCP 1688 listening on All addresses. Which means it is ok and discounts my ip configuration issue in step 1</p>
<p>3. Next we looked at the DNS records and check the srv record by using the following command from a command prompt nslookup –type srv _vlmsc._tcp</p>
<p>This returned the correct server name and port.</p>
<p>4. Next we checked the licensing information on the KMS server to ensure it actually has something to hand out to clients. To do this I ran slmgr /dli from a command prompt and a screen pop up display license information and general statistics was shown. I saw no licenses installed. This is obviously a big problem!</p>
<p>5. I completed one final check, I am aware there was no license problems but I needed to know that if there was licenses could a client actually connect to port 1688 on the KMS. I logged onto a client and from a command prompt ran telnet servername 1688 and hit return. The connection was refused and highlighted a second problem to me. Since I already knew the server was listening on this port locally on the box I knew it was probably that windows firewall was activated. I checked the server configuration and the firewall was indeed turned on and the rule for KMS was disabled. I enabled the rule and reconnected successfully.</p>
<p>Following up I obtained license keys and installed them onto the KMS server.</p>
<p>From a client I ran again from the command prompt SLMGR –dlv to see if it would successfully contact the KMS server and it did</p>
<p>Problem solved!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/355/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=355&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/22/troubleshooting-kms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell For Baselining Lync Revision 1.0</title>
		<link>http://ucirl.wordpress.com/2011/06/18/powershell-for-baselining-lync-revision-1-0/</link>
		<comments>http://ucirl.wordpress.com/2011/06/18/powershell-for-baselining-lync-revision-1-0/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 11:18:40 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Lync 2010]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Baseline]]></category>
		<category><![CDATA[Lync]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/18/powershell-for-baselining-lync-revision-1-0/</guid>
		<description><![CDATA[So as you can guess i am on a journey about learning powershell and i am trying to do things which might be useful. This is a straight forward piece of script to help you baseline you lync installation. My next edits to this script will output to files for comparison later and also i [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=354&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So as you can guess i am on a journey about learning powershell and i am trying to do things which might be useful.</p>
<p>This is a straight forward piece of script to help you baseline you lync installation.</p>
<p>My next edits to this script will output to files for comparison later and also i am going to section things into functions and also create a little menu system but here it the bones of a working script as it is… enjoy!</p>
<p>&nbsp;</p>
<p>write-host &#8220;Welcome to the resource utilization baseline test&#8221; -Foregroundcolor Green -Backgroundcolor Black<br />
write-host &#8220;Please confirm how long you want these tests to run for&#8221; -Foregroundcolor Green -Backgroundcolor Black<br />
write-host &#8220;For exampe you may want to sample every 1 second for a max samples of 1000&#8243; -Foregroundcolor Green -Backgroundcolor Black<br />
write-host &#8220;This will give you 1000seconds of samples&#8230; you may want this longer&#8221; -Foregroundcolor Green -Backgroundcolor Black<br />
write-host &#8220;depending on the environmnet&#8221; -Foregroundcolor Green -Backgroundcolor Black<br />
write-host &#8220;Comments and Suggestions to johm@microsoft.com or on Twitter: @mccabej&#8221; -foregroundcolor Yellow -backgrouncolor red<br />
write-host &#8220;Please be kind i am still learning powershell <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#8221; -foregroundcolor Yellow -backgrouncolor red<br />
write-host<br />
$sampleinttime = Read-host (&#8220;Please enter how often you want to sample in secs and press enter:&#8221;)<br />
$maxsamp = Read-host (&#8220;Please enter the amount of samples you want to take and press enter:&#8221;)</p>
<p>write-host &#8220;Performing Resource Utilization Baseline Tests&#8230;&#8230;.&#8221; -Foregroundcolor Green -Backgroundcolor Blue<br />
write-host<br />
write-host<br />
write-host<br />
$result = get-counter -counter &#8220;\Processor(_total)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$proctimetotal = $avg.average<br />
write-host &#8220;Baseline Processor Time Overall&#8221; $proctimetotal -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(RTCSRV)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$proctimertcsrv = $avg.average<br />
write-host &#8220;Baseline Processor Time for RTCSRV&#8221; $proctimertcsrv -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(IMMcuSvc)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$proctimeimmcusvc = $avg.average<br />
write-host &#8220;Baseline Processor Time IMMcuSvc&#8221; $proctimeimmcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Memory\Pages/sec&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$mempages = $avg.average<br />
write-host &#8220;Baseline for Memory Pages/sec&#8221; $mempages -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Network Interface(*)\Bytes Total/sec&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$netint = $avg.average<br />
write-host &#8220;Baseline For Network Interfces Bytes Total/sec&#8221; $netint -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>write-host<br />
write-host<br />
write-host<br />
write-host &#8220;Performing User Load Baseline Tests&#8230;&#8230;.&#8221; -Foregroundcolor Green -Backgroundcolor Blue<br />
write-host<br />
write-host</p>
<p>write-host</p>
<p>$result = get-counter -counter &#8220;\LS:SIP &#8211; 01 &#8211; Peers(*)\SIP &#8211; 001 &#8211; TLS Connections Active&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$tlsconnectionsactive = $avg.average<br />
write-host &#8220;Baseline SIP &#8211; 001 &#8211; TLS Connections Active&#8221; $tlsconnectionsactive -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\LS:SIP &#8211; 01 &#8211; Peers(*)\SIP &#8211; 000 &#8211; Connections Active&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$connectionsactive = $avg.average<br />
write-host &#8220;Baseline SIP &#8211; 000 &#8211; Connections Active&#8221; $connectionsactive -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\LS:SIP &#8211; 02 &#8211; Protocol\SIP &#8211; 001 &#8211; Incoming Messages/sec&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$incomingmsgpersec = $avg.average<br />
write-host &#8220;Baseline SIP &#8211; 001 &#8211; Incoming Messages/sec&#8221; $incomingmsgpersec -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\LS:ImMcu &#8211; 00 &#8211; IMMcu Conferences\IMMCU &#8211; 000 &#8211; Active Conferences&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$immcuactiveconf = $avg.average<br />
write-host &#8220;Baseline ImMCU Active Conferences&#8221; $immcuactiveconf -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\LS:ImMcu &#8211; 00 &#8211; IMMcu Conferences\IMMCU &#8211; 001 &#8211; Connected Users&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$immcuconusers = $avg.average<br />
write-host &#8220;Baseline ImMCU Connected Users&#8221; $imccuconusers -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\LS:USrv &#8211; 00 &#8211; REGDBStore\USrv &#8211; 002 &#8211; Queue Latency (msec)&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$queuelatency = $avg.average<br />
write-host &#8220;Baseline USrv &#8211; Queue Latency&#8221; $queuelatency -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\LS:USrv &#8211; 00 &#8211; REGDBStore\USrv &#8211; 004 &#8211; Sproc Latency (msec)&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$sproclatency = $avg.average<br />
write-host &#8220;Baseline USrv &#8211; Sproc Latency&#8221; $sproclatency -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>&nbsp;</p>
<p>write-host<br />
write-host<br />
write-host<br />
write-host &#8220;Performing Multipoint Conferencing Unit Resource Baseline Tests&#8230;&#8230;.&#8221; -Foregroundcolor Green -Backgroundcolor Blue<br />
write-host<br />
write-host</p>
<p>write-host</p>
<p>$result = get-counter -counter &#8220;\Memory\Pages/sec&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$mempages = $avg.average<br />
write-host &#8220;Baseline for Memory Pages/sec&#8221; $mempages -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Network Interface(*)\Bytes Total/sec&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$netint = $avg.average<br />
write-host &#8220;Baseline For Network Interfces Bytes Total/sec&#8221; $netint -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Processor(_total)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$proctimetotal = $avg.average<br />
write-host &#8220;Baseline Processor Time Overall&#8221; $proctimetotal -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(ASMCUSVC)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$asmcusvc = $avg.average<br />
write-host &#8220;Baseline Processor Time for ASMCUSVC&#8221; $asmcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(AVMCUSVC)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$avmcusvc = $avg.average<br />
write-host &#8220;Baseline Processor Time for AVMCUSVC&#8221; $avmcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(DataMCUsvc)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$datamcusvc = $avg.average<br />
write-host &#8220;Baseline Processor Time for Datamcusvc&#8221; $datamcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(meetingmcusvc)\% Processor Time&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$meetingmcusvc = $avg.average<br />
write-host &#8220;Baseline Processor Time for meetingmcusvc&#8221; $meetingmcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>&nbsp;</p>
<p>$result = get-counter -counter &#8220;\Process(ASMCUSVC)\Private Bytes&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$asmcusvcpb = $avg.average<br />
write-host &#8220;Baseline Private Bytes for ASMCUSVC&#8221; $asmcusvcpb -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(AVMCUSVC)\Private Bytes&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$avmcusvcpb = $avg.average<br />
write-host &#8220;Baseline Private Bytes for AVMCUSVC&#8221; $avmcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(DataMCUsvc)\Private Bytes&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$datamcusvcpb = $avg.average<br />
write-host &#8220;Baseline Private Bytes for Datamcusvc&#8221; $datamcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<p>$result = get-counter -counter &#8220;\Process(meetingmcusvc)\Private Bytes&#8221; -sampleinterval $sampleinttime -maxsample $maxsamp<br />
$avg = $Result | Foreach-object {$_.CounterSamples}| Measure-object -Property CookedValue -Average<br />
$meetingmcusvcpb = $avg.average<br />
write-host &#8220;Baseline Private Bytes for meetingmcusvc&#8221; $meetingmcusvc -Foregroundcolor Green -Backgroundcolor Blue</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/354/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=354&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/18/powershell-for-baselining-lync-revision-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>
	</item>
		<item>
		<title>another powershell script to test directaccess</title>
		<link>http://ucirl.wordpress.com/2011/06/17/another-powershell-script-to-test-directaccess/</link>
		<comments>http://ucirl.wordpress.com/2011/06/17/another-powershell-script-to-test-directaccess/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 22:26:05 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Direct Access]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[direct access]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/17/another-powershell-script-to-test-directaccess/</guid>
		<description><![CDATA[i am adding to this script but take it and try it out for yourself… #**************************************************************** # This script will test direct access # it is very much work in progress and will be modified&#8230; # at the minute this script will test which tunnel mode you are using # i have a deep problem [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=348&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>i am adding to this script but take it and try it out for yourself…</p>
<p>#****************************************************************</p>
<p># This script will test direct access<br />
# it is very much work in progress and will be modified&#8230;<br />
# at the minute this script will test which tunnel mode you are using<br />
# i have a deep problem into teredo and will do the reset!</p>
<p>$useteredo = &#8220;0&#8243;<br />
$use6to4 = &#8220;0&#8243;<br />
$usehttps = &#8220;0&#8243;</p>
<p>$6to4 = netsh interface 6to4 show state<br />
write-host &#8220;Checking to see if you are using 6to4&#8230;&#8230;..&#8221;<br />
Foreach ($6 in $6to4)<br />
{<br />
if ($6 -match &#8220;disabled&#8221;)<br />
{<br />
write-host &#8220;6to4 protocol is disabled&#8221;<br />
write-host &#8220;You must be behind a NAT Device..&#8221;<br />
}<br />
else<br />
{<br />
$use6to4 = &#8220;1&#8243;<br />
}</p>
<p>}</p>
<p>$teredo = netsh interface teredo show state<br />
write-host &#8220;Checking to see if you are using teredo&#8230;&#8230;..&#8221;<br />
Foreach ($t in $teredo)<br />
{<br />
if ($t -match &#8220;disabled&#8221;)<br />
{<br />
write-host &#8220;Teredo protocol is disabled&#8221;<br />
write-host &#8220;Your NAT Device Seems to be blocking UDP 3544&#8243;<br />
}<br />
else<br />
{<br />
$useteredo = &#8220;1&#8243;</p>
<p>}</p>
<p>}</p>
<p>$iphttps = netsh interface httpstunnel show interface</p>
<p>Foreach ($i in $iphttps)<br />
{<br />
&nbsp;</p>
<p>if ($i -match &#8220;disabled&#8221;)<br />
{<br />
write-host &#8220;IPHTTPS protocol is disabled&#8221;</p>
<p>}</p>
<p>else<br />
{<br />
$usehttps = &#8220;1&#8243;</p>
<p>}</p>
<p>}</p>
<p>if($useteredo -eq &#8220;1&#8243;)<br />
{<br />
write-host &#8220;You are using Teredo&#8221;<br />
$teredo1 = netsh interface teredo show state<br />
$teredo2 = $teredo1 | where-object {$_ -match &#8220;Server Name&#8221;} |foreach-object {$_.Split(&#8220;:&#8221;)[1].Trim()}<br />
$teredo3 = $teredo2.split(&#8220;(&#8220;)<br />
Write-Host<br />
Write-Host<br />
Write-host &#8220;Direct Access Public Hostname is&#8230;. :&#8221; $teredo3[0]<br />
Write-Host<br />
Write-Host &#8220;Pinging host&#8230;.&#8221; $teredo3[0]<br />
$ping = ping $teredo3<br />
$ping1 = $ping | Where-Object{ $_ -match &#8220;Request&#8221;}<br />
$ping2 = $ping | Where-Object{ $_ -match &#8220;Reply&#8221;}<br />
Write-Host<br />
Write-Host<br />
if ($ping1 -ne $null)<br />
{<br />
write-host $teredo3[0] &#8220;could not be contacted&#8221;<br />
$noreach = 1<br />
}<br />
elseif ($ping2 -ne $null)<br />
{<br />
Write-Host $teredo3[0] &#8220;could be reached&#8221;<br />
$noreach = 0<br />
}</p>
<p>if ($noreach = 1)<br />
{<br />
write-host &#8220;Testing Internet Connection&#8230;..&#8221;<br />
$testhost = &#8220;tpm.daccess.microsoft.com&#8221;<br />
$inettest = ping $testhost<br />
$inettest1 = $inettest | Where-Object{ $_ -match &#8220;Reply&#8221;}</p>
<p>if ($inettest1 -ne $null)<br />
{<br />
Write-Host &#8220;You have a connection to the internet!&#8221;<br />
}<br />
else {write-host &#8221; you have no internet connection please check with your provider&#8221;}<br />
}</p>
<p>}<br />
elseif($use6to4 -eq &#8220;1&#8243;)<br />
{<br />
write-host &#8220;You are using 6to4&#8243;<br />
}<br />
elseif($usehttps -eq &#8220;1&#8243;)<br />
{<br />
write-host &#8220;You are using HTTPSTUNNEL&#8221;<br />
}<br />
else<br />
{write-host &#8220;All protocols are disabled&#8221;}</p>
<p>#*************************************************************************************************</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/348/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=348&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/17/another-powershell-script-to-test-directaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>
	</item>
		<item>
		<title>Redirect Outlook Signature</title>
		<link>http://ucirl.wordpress.com/2011/06/15/redirect-outlook-signature/</link>
		<comments>http://ucirl.wordpress.com/2011/06/15/redirect-outlook-signature/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 11:05:00 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/15/redirect-outlook-signature/</guid>
		<description><![CDATA[I work with a customer who deletes the profile every night, this is a nightmare for the user as some key data would be lost every evening, roaming profiles are not an option in this case, but the machines do have a second partition so what we do is use folder redirection, so it goes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=347&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I work with a customer who deletes the profile every night, this is a nightmare for the user as some key data would be lost every evening, roaming profiles are not an option in this case, but the machines do have a second partition so what we do is use folder redirection, so it goes outside the scope of the profile deleting utility and the info is there when the user logs on!</p>
<p>&#160;</p>
<p>&#160;</p>
<p>Disclaimer – please test this on your system before rolling out to production, i am not responsible and will not be held to any accountability for any misuse …</p>
<p>&#160;</p>
<p>1. Logon to your DC</p>
<p>2. Open Group Policy Management Console </p>
<p>3. Expand to the highest level point in the chain you wish to have to group policy apply from</p>
<p><i>In the below example we are starting directly under the forest root, which will affect all users.</i></p>
<p><i></i></p>
<p><a href="http://ucirl.files.wordpress.com/2011/06/clip_image0022.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="clip_image002" border="0" alt="clip_image002" src="http://ucirl.files.wordpress.com/2011/06/clip_image002_thumb2.jpg?w=244&#038;h=169" width="244" height="169" /></a></p>
<p>4. Right Click and Select Create a GPO in this domain and link it here….</p>
<p><a href="http://ucirl.files.wordpress.com/2011/06/clip_image003.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="clip_image003" border="0" alt="clip_image003" src="http://ucirl.files.wordpress.com/2011/06/clip_image003_thumb.png?w=244&#038;h=175" width="244" height="175" /></a></p>
<p>5. Enter in a descriptive name i.e. outlook signature redirection and click ok</p>
<p><a href="http://ucirl.files.wordpress.com/2011/06/clip_image004.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="clip_image004" border="0" alt="clip_image004" src="http://ucirl.files.wordpress.com/2011/06/clip_image004_thumb.png?w=244&#038;h=123" width="244" height="123" /></a></p>
<p>6. Right click the GPO and select edit</p>
<p>7. Expand à User Configuration à Policies à Windows Settings à Folder Redirection à Appdata (Roaming)</p>
<p><a href="http://ucirl.files.wordpress.com/2011/06/clip_image0062.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="clip_image006" border="0" alt="clip_image006" src="http://ucirl.files.wordpress.com/2011/06/clip_image006_thumb2.jpg?w=244&#038;h=176" width="244" height="176" /></a></p>
<p>8. Right Click Appdata (Roaming) and select Properties</p>
<p><a href="http://ucirl.files.wordpress.com/2011/06/clip_image007.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="clip_image007" border="0" alt="clip_image007" src="http://ucirl.files.wordpress.com/2011/06/clip_image007_thumb.png?w=244&#038;h=165" width="244" height="165" /></a></p>
<p>9. Select the settings as below which reflect your environment and click ok</p>
<p><a href="http://ucirl.files.wordpress.com/2011/06/clip_image008.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="clip_image008" border="0" alt="clip_image008" src="http://ucirl.files.wordpress.com/2011/06/clip_image008_thumb.png?w=221&#038;h=244" width="221" height="244" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=347&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/15/redirect-outlook-signature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/clip_image002_thumb2.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/clip_image003_thumb.png" medium="image">
			<media:title type="html">clip_image003</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/clip_image004_thumb.png" medium="image">
			<media:title type="html">clip_image004</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/clip_image006_thumb2.jpg" medium="image">
			<media:title type="html">clip_image006</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/clip_image007_thumb.png" medium="image">
			<media:title type="html">clip_image007</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/clip_image008_thumb.png" medium="image">
			<media:title type="html">clip_image008</media:title>
		</media:content>
	</item>
		<item>
		<title>Powerschell Script&#8211;Check for inactive files over 30days and send the user a mail with a list of them from their homedirectory</title>
		<link>http://ucirl.wordpress.com/2011/06/15/powerschell-scriptcheck-for-inactive-files-over-30days-and-send-the-user-a-mail-with-a-list-of-them-from-their-homedirectory/</link>
		<comments>http://ucirl.wordpress.com/2011/06/15/powerschell-scriptcheck-for-inactive-files-over-30days-and-send-the-user-a-mail-with-a-list-of-them-from-their-homedirectory/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 07:25:04 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/15/powerschell-scriptcheck-for-inactive-files-over-30days-and-send-the-user-a-mail-with-a-list-of-them-from-their-homedirectory/</guid>
		<description><![CDATA[This is the next part to it so it will check the users home directory attribute, browse the directory for files that have not been accessed in 30 days and then create a report and send an email to the user… &#160; going to add in the next few days, some control logic for errors [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=334&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the next part to it <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://ucirl.files.wordpress.com/2011/06/wlemoticon-smile1.png?w=640" /></p>
<p>so it will check the users home directory attribute, browse the directory for files that have not been accessed in 30 days and then create a report and send an email to the user…</p>
<p>&#160;</p>
<p>going to add in the next few days, some control logic for errors etc… in the next few days…. so what out for an update… </p>
<p>comments welcome on how to make it better…</p>
<p>&#160;</p>
<p>&#160;</p>
<p>******************************************************************************************************</p>
<p>import-module ActiveDirectory   <br />write-host &quot;Checking For HomeDirectory Attribute&#8230;.&quot;    <br />$enabledusers = get-aduser -filter {Enabled -eq &quot;True&quot;} -properties Homedirectory |where {$_.HomeDirectory -ne $null}</p>
<p>Foreach ($u in $enabledusers)   <br />{    <br />&#160;&#160;&#160; write-host &quot;Current User&#8230;.&quot; $u.Name    <br />&#160;&#160;&#160; write-host &quot;You Home Directory is&#8230;&quot; $u.HomeDirectory    <br />&#160;&#160;&#160; $pathtocheck = $u.homedirectory</p>
<p>&#160;&#160;&#160; $statuscheck = get-childitem $pathtocheck -Recurse</p>
<p>&#160;&#160;&#160; Foreach ($s in $statuscheck)</p>
<p>&#160;&#160;&#160; {   <br />&#160;&#160;&#160; </p>
<p>&#160;&#160;&#160; $access = $s | % {(get-date) &#8211; $_.LastAccessTime }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($access.days -ge 2)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; #write-host $s.fullname    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; #write-host &quot;File Was Last Accessed&quot; $access.days &quot;Days Ago&quot;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; $outputfilename = ( &quot;c:\&quot; + $u.samaccountname + &quot;30dayReport.csv&quot;)   <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; #$outputfilename    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $s |format-table -property Fullname |out-file $outputfilename -append    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $attachment = $outputfilename    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />&#160;&#160;&#160; <br />&#160;&#160;&#160; <br />&#160;&#160;&#160; }</p>
<p>$emailto = (&quot;&lt;&quot; + $u.samaccountname + &quot;@test.com&gt;&quot;)    <br />$emailfrom = &quot;&lt;admin@test.com&gt;&quot;    <br />$smtpserver = &quot;dc-01.contoso.local&quot;</p>
<p>Write-host &quot;Sending Report&#8230;..&quot;   <br />send-mailmessage -to $emailto -from $emailfrom -subject &quot;warning you have files which have not been accessed in over 30days&quot; -smtpserver $smtpserver -attachment $attachment</p>
<p>&#160;</p>
<p>*********************************************************************************************************</p>
<p>&#160;</p>
<p>}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=334&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/15/powerschell-scriptcheck-for-inactive-files-over-30days-and-send-the-user-a-mail-with-a-list-of-them-from-their-homedirectory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/wlemoticon-smile1.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows XP Verbose Information @ Logon</title>
		<link>http://ucirl.wordpress.com/2011/06/14/windows-xp-verbose-information-logon/</link>
		<comments>http://ucirl.wordpress.com/2011/06/14/windows-xp-verbose-information-logon/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 13:05:31 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/14/windows-xp-verbose-information-logon/</guid>
		<description><![CDATA[To enable verbose info at logon enable this reg key &#160; To use enable verbose status messages by editing the registry, follow these steps: Click Start, and then click Run. In the Open box, type regedit, and then click OK. Locate and then click the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System On the Edit menu, point to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=332&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To enable verbose info at logon enable this reg key</p>
<p>&#160;</p>
<p>To use enable verbose status messages by editing the registry, follow these steps: </p>
<ol>
<li>Click <strong>Start</strong>, and then click <strong>Run</strong>. </li>
<li>In the <strong>Open</strong> box, type regedit, and then click <strong>OK</strong>. </li>
<li>Locate and then click the following registry key:
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System</p>
</li>
<li>On the <strong>Edit</strong> menu, point to <strong>New</strong>, and then click <strong>DWORD Value</strong>. </li>
<li>Type verbosestatus, and then press ENTER. </li>
<li>Double-click the new key that you created, type 1 in the <strong>Value data</strong> box, and then click <strong>OK</strong>. </li>
<li>Quit Registry Editor.</li>
</ol>
<p>Info taken from <a title="http://support.microsoft.com/kb/325376" href="http://support.microsoft.com/kb/325376">http://support.microsoft.com/kb/325376</a></p>
<p>this is for my reference as i am dealing with a lot of xp clients at the minute..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/332/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=332&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/14/windows-xp-verbose-information-logon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>
	</item>
		<item>
		<title>More Fun with powershell&#8211;check ad user for home directory and then look for files not accessed in over 30days</title>
		<link>http://ucirl.wordpress.com/2011/06/12/more-fun-with-powershellcheck-ad-user-for-home-directory-and-then-look-for-files-not-accessed-in-over-30days/</link>
		<comments>http://ucirl.wordpress.com/2011/06/12/more-fun-with-powershellcheck-ad-user-for-home-directory-and-then-look-for-files-not-accessed-in-over-30days/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 09:25:21 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/12/more-fun-with-powershellcheck-ad-user-for-home-directory-and-then-look-for-files-not-accessed-in-over-30days/</guid>
		<description><![CDATA[so this is the next level… with one more step to add later on… and remember this is me beginning to play with powershell i am sure there are nicer ways to code… this will check a users properties for the homedirectory attribute and then scan their home directory and see what files have not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=331&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>so this is the next level… with one more step to add later on…</p>
<p>and remember this is me beginning to play with powershell i am sure there are nicer ways to code…</p>
<p>this will check a users properties for the homedirectory attribute and then scan their home directory and see what files have not been used in the last 30days and write the results out to a csv file</p>
<p>I plan to add to this script but this is the core of it so far…</p>
<p>&#160;</p>
<p>import-module ActiveDirectory   <br />write-host &quot;Checking For HomeDirectory&quot;    <br />$enabledusers = get-aduser -filter {Enabled -eq &quot;True&quot;} -properties Homedirectory |where {$_.HomeDirectory -ne $null}</p>
<p>Foreach ($u in $enabledusers)   <br />{    <br />&#160;&#160;&#160; $u.Name    <br />&#160;&#160;&#160; $u.HomeDirectory    <br />&#160;&#160;&#160; $pathtocheck = $u.homedirectory</p>
<p>&#160;&#160;&#160; $statuscheck = get-childitem $pathtocheck -Recurse</p>
<p>&#160;&#160;&#160; Foreach ($s in $statuscheck)</p>
<p>&#160;&#160;&#160; {</p>
<p>&#160;&#160;&#160; $access = $s | % {(get-date) &#8211; $_.LastAccessTime }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($access.days -ge 2)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; write-host $s.fullname    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; write-host &quot;File Was Last Accessed&quot; $access.days &quot;Days Ago&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $s |format-table -property Fullname |out-file c:\results.csv -append    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />&#160;&#160;&#160; <br />&#160;&#160;&#160; }</p>
<p>}   </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=331&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/12/more-fun-with-powershellcheck-ad-user-for-home-directory-and-then-look-for-files-not-accessed-in-over-30days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Powershell Script to check what files have not been accessed in over 30 days</title>
		<link>http://ucirl.wordpress.com/2011/06/12/simple-powershell-script-to-check-what-files-have-not-been-accessed-in-over-30-days/</link>
		<comments>http://ucirl.wordpress.com/2011/06/12/simple-powershell-script-to-check-what-files-have-not-been-accessed-in-over-30-days/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 09:08:09 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/12/simple-powershell-script-to-check-what-files-have-not-been-accessed-in-over-30-days/</guid>
		<description><![CDATA[This is actually part of a larger script but i taught it might be useful for some people. basically place it in the root directory of your system or the root of the directory you want to check i.e. a users home directory run the script and it will output a CSV file with the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=330&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is actually part of a larger script but i taught it might be useful for some people.</p>
<p>basically place it in the root directory of your system or the root of the directory you want to check i.e. a users home directory run the script and it will output a CSV file with the results…</p>
<p>enjoy</p>
<p>&#160;</p>
<p>*********************************************************************************************</p>
<p>$statuscheck = get-childitem -Recurse</p>
<p>Foreach ($s in $statuscheck)   <br />{</p>
<p>&#160;&#160;&#160; $access = $s | % {(get-date) &#8211; $_.LastAccessTime }    <br />&#160;&#160;&#160; if ($access.days -ge 2)    <br />&#160;&#160;&#160; {    <br />&#160;&#160;&#160; write-host $s.fullname    <br />&#160;&#160;&#160; write-host &quot;File Was Last Accessed&quot; $access.days &quot;Days Ago&quot;    <br />&#160;&#160;&#160; $s |format-table -property Fullname |out-file d:\results.csv -append    <br />&#160;&#160;&#160; }    <br />&#160;&#160;&#160; <br />}</p>
<p>&#160;</p>
<p>*********************************************************************************************</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/330/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=330&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/12/simple-powershell-script-to-check-what-files-have-not-been-accessed-in-over-30-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft IT Environment Health Scanner</title>
		<link>http://ucirl.wordpress.com/2011/06/09/microsoft-it-environment-health-scanner/</link>
		<comments>http://ucirl.wordpress.com/2011/06/09/microsoft-it-environment-health-scanner/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 17:52:17 +0000</pubDate>
		<dc:creator>ucirl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://ucirl.wordpress.com/2011/06/09/microsoft-it-environment-health-scanner/</guid>
		<description><![CDATA[i have been working with computers for a lot of years… which you can take as good or bad…. but one of the things you do learn is the symptoms of a problem about to occur and how to determine a healthy environment.. you become quite able to look at logs, AD etc… and determine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=329&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>i have been working with computers for a lot of years… which you can take as good or bad…. but one of the things you do learn is the symptoms of a problem about to occur and how to determine a healthy environment.. you become quite able to look at logs, AD etc… and determine if it is operating correctly. </p>
<p>This is not so easy for everyone…. (thankfully!!!) <img style="border-style:none;" class="wlEmoticon wlEmoticon-smilewithtongueout" alt="Smile with tongue out" src="http://ucirl.files.wordpress.com/2011/06/wlemoticon-smilewithtongueout.png?w=640" /></p>
<p>So to help with the process check this download out</p>
<p><a title="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=dd7a00df-1a5b-4fb6-a8a6-657a7968bd11" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=dd7a00df-1a5b-4fb6-a8a6-657a7968bd11">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=dd7a00df-1a5b-4fb6-a8a6-657a7968bd11</a></p>
<p>This is the Microsoft IT Environment Health Scanner and i am very impressed by this little tool.</p>
<p>It will scan your environment and show you potential problems… very worth the download and a little play!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ucirl.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ucirl.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ucirl.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ucirl.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ucirl.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ucirl.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ucirl.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ucirl.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ucirl.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ucirl.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ucirl.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ucirl.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ucirl.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ucirl.wordpress.com/329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ucirl.wordpress.com&amp;blog=12141916&amp;post=329&amp;subd=ucirl&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ucirl.wordpress.com/2011/06/09/microsoft-it-environment-health-scanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c51776453c4fe4b4c915cc30783902ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ucirl</media:title>
		</media:content>

		<media:content url="http://ucirl.files.wordpress.com/2011/06/wlemoticon-smilewithtongueout.png" medium="image">
			<media:title type="html">Smile with tongue out</media:title>
		</media:content>
	</item>
	</channel>
</rss>
