<?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>Emmett&#039;s SharePoint 2010 Blog</title>
	<atom:link href="http://emmettlynch.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://emmettlynch.wordpress.com</link>
	<description>Just another WordPress.com site</description>
	<lastBuildDate>Tue, 21 Feb 2012 12:12:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='emmettlynch.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Emmett&#039;s SharePoint 2010 Blog</title>
		<link>http://emmettlynch.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://emmettlynch.wordpress.com/osd.xml" title="Emmett&#039;s SharePoint 2010 Blog" />
	<atom:link rel='hub' href='http://emmettlynch.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SharePoint 2010 &#8211; HTML 5 Master Page</title>
		<link>http://emmettlynch.wordpress.com/2012/02/21/sharepoint-2010-html-5-master-page/</link>
		<comments>http://emmettlynch.wordpress.com/2012/02/21/sharepoint-2010-html-5-master-page/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 11:53:51 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[Branding]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=475</guid>
		<description><![CDATA[Here&#8217;s a great HTML 5 master page&#8230; http://kyleschaeffer.com/sharepoint/v5-responsive-html5-master-page/ &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=475&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a great HTML 5 master page&#8230;</p>
<p>http://kyleschaeffer.com/sharepoint/v5-responsive-html5-master-page/</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/475/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/475/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/475/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=475&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2012/02/21/sharepoint-2010-html-5-master-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint List &#8211; Calculated Fied Formulas</title>
		<link>http://emmettlynch.wordpress.com/2012/02/20/sharepoint-list-calculated-fied-formulas/</link>
		<comments>http://emmettlynch.wordpress.com/2012/02/20/sharepoint-list-calculated-fied-formulas/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 11:41:37 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=472</guid>
		<description><![CDATA[Pretty much everything you need to create a calculated field&#8230; http://msdn.microsoft.com/en-us/library/bb862071.aspx &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=472&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Pretty much everything you need to create a calculated field&#8230;</p>
<p><a href="http://msdn.microsoft.com/en-us/library/bb862071.aspx">http://msdn.microsoft.com/en-us/library/bb862071.aspx</a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/472/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=472&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2012/02/20/sharepoint-list-calculated-fied-formulas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 Branding&#8230; three free themes</title>
		<link>http://emmettlynch.wordpress.com/2012/02/02/sharepoint-2010-branding-three-free-themes/</link>
		<comments>http://emmettlynch.wordpress.com/2012/02/02/sharepoint-2010-branding-three-free-themes/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 11:18:29 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[Branding]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=465</guid>
		<description><![CDATA[Found this site that has three free themes which each include a master page and a few page layouts. These look like a great starting point if you are looking to change that OOTB look. http://www.topsharepoint.com/themes<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=465&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Found this site that has three free themes which each include a master page and a few page layouts. These look like a great starting point if you are looking to change that OOTB look.</p>
<p><a href="http://www.topsharepoint.com/themes">http://www.topsharepoint.com/themes</a></p>
<p><a href="http://emmettlynch.files.wordpress.com/2012/02/themes.png"><img class="alignnone size-medium wp-image-466" title="themes" src="http://emmettlynch.files.wordpress.com/2012/02/themes.png?w=232&#038;h=300" alt="" width="232" height="300" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/465/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=465&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2012/02/02/sharepoint-2010-branding-three-free-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>

		<media:content url="http://emmettlynch.files.wordpress.com/2012/02/themes.png?w=232" medium="image">
			<media:title type="html">themes</media:title>
		</media:content>
	</item>
		<item>
		<title>Easy Site Collection Backups</title>
		<link>http://emmettlynch.wordpress.com/2012/01/09/easy-site-collection-backups/</link>
		<comments>http://emmettlynch.wordpress.com/2012/01/09/easy-site-collection-backups/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 21:24:51 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=458</guid>
		<description><![CDATA[If you need a simple cost effective way to schedule backups your site collections, here&#8217;s the script for the job. Just add a scheduled task and your set. (how to add scheduled task) Backup-SiteCollections This script was designed to be scheduled and forgotten. This loops through all of your web applications and site collections and backs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=458&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you need a simple cost effective way to schedule backups your site collections, here&#8217;s the script for the job. Just add a scheduled task and your set. (<a href="http://get-spscripts.com/2011/01/running-sharepoint-powershell-script.html">how to add scheduled task</a>)</p>
<h1>Backup-SiteCollections</h1>
<p>This script was designed to be scheduled and forgotten. This loops through all of your web applications and site collections and backs up each one individually. Each backup is prefixed with the current date and time. Old backups (3 days or older by default) are deleted. A log file is created to track the backup process.</p>
<p><a href="http://sp2010adminpack.codeplex.com/wikipage?title=Backup-SiteCollections&amp;referringTitle=Documentation">http://sp2010adminpack.codeplex.com/wikipage?title=Backup-SiteCollections&amp;referringTitle=Documentation</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/458/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=458&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2012/01/09/easy-site-collection-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>Create approval workflow in SharePoint 2010 with Visual Studio 2010 and Infopath</title>
		<link>http://emmettlynch.wordpress.com/2012/01/07/create-approval-workflow-in-sharepoint-2010-with-visual-studio-2010-and-infopath/</link>
		<comments>http://emmettlynch.wordpress.com/2012/01/07/create-approval-workflow-in-sharepoint-2010-with-visual-studio-2010-and-infopath/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 11:53:36 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=455</guid>
		<description><![CDATA[Here an Approval Workflow that can be deployed on SharePoint 2010 and can be associated to any list or library&#8230; http://approvalworkflow.codeplex.com/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=455&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here an Approval Workflow that can be deployed on SharePoint 2010 and can be associated to any list or library&#8230;</p>
<p><a href="http://approvalworkflow.codeplex.com/">http://approvalworkflow.codeplex.com/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=455&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2012/01/07/create-approval-workflow-in-sharepoint-2010-with-visual-studio-2010-and-infopath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>Add a SharePoint or AD group/user to all sites in a site collection using PowerShell</title>
		<link>http://emmettlynch.wordpress.com/2012/01/06/add-a-sharepoint-or-ad-groupuser-to-all-sites-in-a-site-collection-using-powershell/</link>
		<comments>http://emmettlynch.wordpress.com/2012/01/06/add-a-sharepoint-or-ad-groupuser-to-all-sites-in-a-site-collection-using-powershell/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 03:48:32 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=448</guid>
		<description><![CDATA[This is a great script that allows you to do batch permission updates&#8230; function AddAccountToAllSites ($siteURL, $accountName, $permLevel, [switch]$skipRootSite, $newGroupDescription) { #Get Site Collection $site = Get-SPSite $siteURL #Check if the accountName variable contains a slash &#8211; if so, it is an AD account #If not, it is a SharePoint Group $rootWeb = $site.RootWeb if ($accountName.Contains(&#8220;\&#8221;)) { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=448&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a great script that allows you to do batch permission updates&#8230;</p>
<p>function AddAccountToAllSites ($siteURL, $accountName, $permLevel, [switch]$skipRootSite, $newGroupDescription)<br />
{<br />
#Get Site Collection<br />
$site = Get-SPSite $siteURL</p>
<p>#Check if the accountName variable contains a slash &#8211; if so, it is an AD account<br />
#If not, it is a SharePoint Group<br />
$rootWeb = $site.RootWeb<br />
if ($accountName.Contains(&#8220;\&#8221;)) { $account = $rootWeb.EnsureUser($accountName) }<br />
else {<br />
#If the SharePoint Group does not exist, create it with the name and description specified<br />
if (!$rootWeb.SiteGroups[$accountName])<br />
{<br />
$rootWeb.SiteGroups.Add($accountName, $rootWeb.CurrentUser, $rootWeb.CurrentUser, $newGroupDescription)<br />
}<br />
$account = $rootWeb.SiteGroups[$accountName]<br />
}<br />
$rootWeb.Dispose()</p>
<p>#Step through each site in the site collection<br />
$site | Get-SPWeb -limit all | ForEach-Object {</p>
<p>#Check if the user has chosen to skip the root site &#8211; if so, do not change permissions on it<br />
if (($skipRootSite) -and ($site.Url -eq $_.Url)) { write-host &#8220;Root site&#8221; $_.Url &#8220;will be bypassed&#8221; }<br />
else {<br />
#Check if the current site is inheriting permissions from its parent<br />
#If not, set permissions on current site<br />
if ($_.HasUniqueRoleAssignments) {</p>
<p>$assignment = New-Object Microsoft.SharePoint.SPRoleAssignment($account)<br />
$role = $_.RoleDefinitions[$permLevel]<br />
$assignment.RoleDefinitionBindings.Add($role)<br />
$_.RoleAssignments.Add($assignment)</p>
<p>write-host &#8220;Account&#8221; $accountName &#8220;added to site&#8221; $_.Url &#8220;with&#8221; $permLevel &#8220;permissions.&#8221;<br />
}<br />
else {<br />
write-host &#8220;Site&#8221; $_.Url &#8220;will not be modified as it inherits permissions from a parent site.&#8221;<br />
}<br />
}<br />
}<br />
#Display completion message and dispose of site object<br />
write-host &#8220;Operation Complete.&#8221;<br />
$site.Dispose()<br />
}</p>
<p>Once the script has been run, you can use it to assign permissions to your site collection by calling the function. Here are some scenarios:</p>
<p><strong>Add the Active Directory user PACDOMAIN\Phil to all sites except the root site and assign Read permissions to them:</strong></p>
<ul>
<li>AddAccountToAllSites -siteURL &#8220;<a href="http://portal">http://portal</a>&#8221; -accountName &#8220;PACDOMAIN\Phil&#8221; -permLevel &#8220;Read&#8221; -skipRootSite</li>
</ul>
<p><strong>Add the Active Directory user PACDOMAIN\Phil to all sites including the root site and assign Read permissions to them:</strong></p>
<ul>
<li>AddAccountToAllSites -siteURL &#8220;<a href="http://portal">http://portal</a>&#8221; -accountName &#8220;PACDOMAIN\Phil&#8221; -permLevel &#8220;Read&#8221;</li>
</ul>
<p><strong>Add the Active Directory group PACDOMAIN\Portal Users to all sites including the root site and assign Read permissions to it:</strong></p>
<ul>
<li>AddAccountToAllSites -siteURL &#8220;<a href="http://portal">http://portal</a>&#8221; -accountName &#8220;PACDOMAIN\Portal Users&#8221; -permLevel &#8220;Read&#8221;</li>
</ul>
<p><strong>Add the SharePoint group “Test Group” to all sites except the root site and assign Full Control permissions to it. I am also assuming that this group has already been created in the site collection:</strong></p>
<ul>
<li>AddAccountToAllSites -siteURL &#8220;<a href="http://portal">http://portal</a>&#8221; -accountName &#8220;Test Group&#8221; -permLevel &#8220;Full Control&#8221; -skipRootSite</li>
</ul>
<p><strong>Add the SharePoint group “Test New Group” to all sites except the root site and assign Contribute permissions to it. This time I would like to create the group in the site collection as it doesn’t currently exist, and so I am also specifying the group description to be used during creation: </strong></p>
<ul>
<li>AddAccountToAllSites -siteURL &#8220;<a href="http://portal">http://portal</a>&#8221; -accountName &#8220;Test New Group&#8221; -permLevel &#8220;Contribute&#8221; -skipRootSite -newGroupDescription &#8220;This is a test group&#8221;</li>
</ul>
<p>I found the script here&#8230;</p>
<blockquote><p><a href="http://get-spscripts.com/2011/02/add-sharepoint-or-ad-groupuser-to-all.html">http://get-spscripts.com/2011/02/add-sharepoint-or-ad-groupuser-to-all.html</a></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/448/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=448&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2012/01/06/add-a-sharepoint-or-ad-groupuser-to-all-sites-in-a-site-collection-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 &#8211; Timer Job you should know about</title>
		<link>http://emmettlynch.wordpress.com/2011/11/30/sharepoint-2010-timer-job-you-should-know-about/</link>
		<comments>http://emmettlynch.wordpress.com/2011/11/30/sharepoint-2010-timer-job-you-should-know-about/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 11:07:24 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[Timer Jobs]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=445</guid>
		<description><![CDATA[So you fire up your new SharePoint 2010 server, build out your site(s) and give users access. Then about a month later some users get an email from your SharePoint Server. You think to yourself&#8230; &#8220;I didn&#8217;t set anything up to send emails.&#8221; You grab a copy of the email and you see SharePoint is sending [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=445&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So you fire up your new SharePoint 2010 server, build out your site(s) and give users access. Then about a month later some users get an email from your SharePoint Server. You think to yourself&#8230; &#8220;I didn&#8217;t set anything up to send emails.&#8221; You grab a copy of the email and you see SharePoint is sending out colleague and keyword suggestions to some of your users. Yeah, this timer job is turned on by default. I like the idea behind this type of data being sent out, but only for certain environments and when I ask it to. I would never use this in a DEV or QA server. As you can guess, one of the first steps when I fire up a new server now is to disable the job below&#8230;</p>
<p><strong>User Profile Service &#8211; My Site Suggestions Email Job</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/445/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=445&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2011/11/30/sharepoint-2010-timer-job-you-should-know-about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell to find out web parts are on your pages</title>
		<link>http://emmettlynch.wordpress.com/2011/11/21/powershell-to-find-out-web-parts-are-on-your-pages/</link>
		<comments>http://emmettlynch.wordpress.com/2011/11/21/powershell-to-find-out-web-parts-are-on-your-pages/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 10:51:58 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=442</guid>
		<description><![CDATA[Here&#8217;s a script to get a list of what web parts are on each page in a site collection. Helps when you need to find all the pages you need to update with a new version of a web part&#8230; cls # Add SharePoint cmdlets reference Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue function enumerateWebParts($Url) {     $site = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=442&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a script to get a list of what web parts are on each page in a site collection. Helps when you need to find all the pages you need to update with a new version of a web part&#8230;</p>
<p><strong>cls</strong></p>
<p><strong># Add SharePoint cmdlets reference</strong></p>
<p><strong>Add-PSSnapin microsoft.sharepoint.powershell <em>-ErrorAction</em> SilentlyContinue</strong></p>
<p><strong>function enumerateWebParts($Url) {</strong></p>
<p><strong>    $site = new-object Microsoft.SharePoint.SPSite $Url</strong></p>
<p><strong>    foreach($web in $site.AllWebs) {</strong></p>
<p><strong>        if ([Microsoft.SharePoint.Publishing.PublishingWeb]::IsPublishingWeb($web)) {</strong></p>
<p><strong>            $pWeb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web)</strong></p>
<p><strong>            $pages = $pWeb.PagesList</strong></p>
<p>&nbsp;</p>
<p><strong>            Write-Host &#8220;Processing Web:&#8221; $pWeb.Url &#8220;&#8230;&#8221; <em>-ForegroundColor</em> Magenta</strong></p>
<p>&nbsp;</p>
<p><strong>            foreach ($item in $pages.Items) {</strong></p>
<p><strong>                $fileUrl = $webUrl + &#8220;/&#8221; + $item.File.Url</strong></p>
<p><strong>                Write-Host &#8220;   &#8221; $fileUrl <em>-ForegroundColor</em> Green</strong></p>
<p><strong>                $manager = $item.file.GetLimitedWebPartManager([System.Web.UI.WebControls.Webparts.PersonalizationScope]::Shared);</strong></p>
<p><strong>                $wps = $manager.webparts</strong></p>
<p><strong>                $wps | select-object @{Expression={$pWeb.Url};Label=&#8221;Web URL&#8221;},@{Expression={$fileUrl};Label=&#8221;Page URL&#8221;}, DisplayTitle, IsVisible, @{Expression={$_.GetType().ToString()};Label=&#8221;Type&#8221;}</strong></p>
<p><strong>            }</strong></p>
<p><strong>        }</strong></p>
<p><strong>        else {</strong></p>
<p><strong>            Write-Host &#8220;   Not a publishing web:&#8221; $web.Url&#8221;. Looking for Site Pages library.&#8221; <em>-ForegroundColor</em> Magenta</strong></p>
<p><strong>            $pages = $null</strong></p>
<p><strong>            $pages = $web.Lists["Site Pages"]</strong></p>
<p>&nbsp;</p>
<p><strong>            if ($pages) {</strong></p>
<p><strong>                Write-Host &#8220;   &#8221; $pages.Title &#8220;found.&#8221; <em>-ForegroundColor</em> Green</strong></p>
<p>&nbsp;</p>
<p><strong>                foreach ($item in $pages.Items) {</strong></p>
<p><strong>                    $fileUrl = $webUrl + &#8220;/&#8221; + $item.File.Url</strong></p>
<p><strong>                    $manager = $item.file.GetLimitedWebPartManager([System.Web.UI.WebControls.Webparts.PersonalizationScope]::Shared);</strong></p>
<p><strong>                    $wps = $manager.webparts</strong></p>
<p><strong>                    $wps | select-object @{Expression={$pWeb.Url};Label=&#8221;Web URL&#8221;},@{Expression={$fileUrl};Label=&#8221;Page URL&#8221;}, DisplayTitle, IsVisible, @{Expression={$_.GetType().ToString()};Label=&#8221;Type&#8221;}</strong></p>
<p><strong>                }</strong></p>
<p><strong>            }</strong></p>
<p><strong>            else {</strong></p>
<p><strong>                Write-Host &#8220;    Site Pages library not found.&#8221; <em>-ForegroundColor</em> Red</strong></p>
<p><strong>            }</strong></p>
<p><strong>        }</strong></p>
<p>&nbsp;</p>
<p><strong>        Write-Host &#8220;&#8230; completed processing&#8221; $web &#8220;&#8230;&#8221; <em>-ForegroundColor</em> Magenta</strong></p>
<p><strong>    }</strong></p>
<p><strong>}</strong></p>
<p>&nbsp;</p>
<p><strong>$row = enumerateWebParts(&#8216;http://yoursitecollection&#8217;)</strong></p>
<p><strong>$row | Out-GridView</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/442/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=442&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2011/11/21/powershell-to-find-out-web-parts-are-on-your-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>Find all checked out files in the farm</title>
		<link>http://emmettlynch.wordpress.com/2011/11/19/find-all-checked-out-files-in-the-farm/</link>
		<comments>http://emmettlynch.wordpress.com/2011/11/19/find-all-checked-out-files-in-the-farm/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 12:23:13 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=437</guid>
		<description><![CDATA[Here&#8217;s a better script I found to get all checked out files on the farm. You can just add the check-in code from my previous blog if needed. function Get-CheckedOutFiles() {     foreach ($web in (Get-SPSite -Limit All &#124; Get-SPWeb -Limit All)) {         Write-Host &#8220;Processing Web: $($web.Url)&#8230;&#8221;         foreach ($list in ($web.Lists &#124; ? [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=437&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a better script I found to get all checked out files on the farm. You can just add the check-in code from my previous blog if needed.</p>
<p><strong>function Get-CheckedOutFiles() {</strong></p>
<p><strong>    foreach ($web in (Get-SPSite -Limit All | Get-SPWeb -Limit All)) {</strong></p>
<p><strong>        Write-Host &#8220;Processing Web: $($web.Url)&#8230;&#8221;</strong></p>
<p><strong>        foreach ($list in ($web.Lists | ? {$_ -is [Microsoft.SharePoint.SPDocumentLibrary]})) {</strong></p>
<p><strong>            Write-Host &#8220;`tProcessing List: $($list.RootFolder.ServerRelativeUrl)&#8230;&#8221;</strong></p>
<p><strong>            foreach ($item in $list.CheckedOutFiles) {</strong></p>
<p><strong>                if (!$item.Url.EndsWith(&#8220;.aspx&#8221;)) { continue }</strong></p>
<p><strong>                $hash = @{</strong></p>
<p><strong>                    &#8220;URL&#8221;=$web.Site.MakeFullUrl(&#8220;$($web.ServerRelativeUrl.TrimEnd(&#8216;/&#8217;))/$($item.Url)&#8221;);</strong></p>
<p><strong>                    &#8220;CheckedOutBy&#8221;=$item.CheckedOutBy;</strong></p>
<p><strong>                    &#8220;CheckedOutByEmail&#8221;=$item.CheckedOutByEmail</strong></p>
<p><strong>                }</strong></p>
<p><strong>                New-Object PSObject <em>-Property</em> $hash</strong></p>
<p><strong>            }</strong></p>
<p><strong>            foreach ($item in $list.Items) {</strong></p>
<p><strong>                if ($item.File.CheckOutStatus -ne &#8220;None&#8221;) {</strong></p>
<p><strong>                    if (($list.CheckedOutFiles | where {$_.ListItemId -eq $item.ID}) -ne $null) { continue }</strong></p>
<p><strong>                    $hash = @{</strong></p>
<p><strong>                        &#8220;URL&#8221;=$web.Site.MakeFullUrl(&#8220;$($web.ServerRelativeUrl.TrimEnd(&#8216;/&#8217;))/$($item.Url)&#8221;);</strong></p>
<p><strong>                        &#8220;CheckedOutBy&#8221;=$item.File.CheckedOutByUser;</strong></p>
<p><strong>                        &#8220;CheckedOutByEmail&#8221;=$item.File.CheckedOutByUser.Email</strong></p>
<p><strong>                    }</strong></p>
<p><strong>                    New-Object PSObject <em>-Property</em> $hash</strong></p>
<p><strong>                }</strong></p>
<p><strong>            }</strong></p>
<p><strong>        }</strong></p>
<p><strong>        $web.Dispose()</strong></p>
<p><strong>    }</strong></p>
<p><strong>}</strong></p>
<p><strong>Get-CheckedOutFiles | Out-GridView</strong></p>
<p>From here &#8211;&gt; <a href="http://blog.falchionconsulting.com/index.php/2011/06/getting-and-taking-ownership-of-checked-out-files-using-windows-powershell/">http://blog.falchionconsulting.com/index.php/2011/06/getting-and-taking-ownership-of-checked-out-files-using-windows-powershell/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/437/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/437/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/437/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=437&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2011/11/19/find-all-checked-out-files-in-the-farm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
		<item>
		<title>Check in documents with Powershell SharePoint 2010</title>
		<link>http://emmettlynch.wordpress.com/2011/11/17/check-in-documents-with-powershell-sharepoint-2010/</link>
		<comments>http://emmettlynch.wordpress.com/2011/11/17/check-in-documents-with-powershell-sharepoint-2010/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 11:42:46 +0000</pubDate>
		<dc:creator>emmettlynch</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://emmettlynch.wordpress.com/?p=432</guid>
		<description><![CDATA[This will help out when you need to force files to be checked in. It can also be modified to find all the checked out files and notify users&#8230; function CheckInDocument([string]$url) { $spWeb = Get-SPWeb $url $getFolder = $spWeb.GetFolder(“Shared Documents”) $getFolder.Files &#124; Where { $_.CheckOutStatus -ne “None” } &#124; ForEach     {           Write-Host “$($_.Name) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=432&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This will help out when you need to force files to be checked in. It can also be modified to find all the checked out files and notify users&#8230;</p>
<p><strong>function CheckInDocument([string]$url)</strong></p>
<p><strong>{</strong></p>
<p><strong>$spWeb = Get-SPWeb $url</strong></p>
<p><strong>$getFolder = $spWeb.GetFolder(“Shared Documents”)</strong></p>
<p><strong>$getFolder.Files | Where { $_.CheckOutStatus -ne “None” } |</strong></p>
<p><strong>ForEach </strong></p>
<p><strong>    { </strong></p>
<p><strong>          Write-Host “$($_.Name) is Checked out To: </strong></p>
<p><strong>          $($_.CheckedOutBy)” </strong></p>
<p><strong>          $_.CheckIn(“Checked In By Administrator”) </strong></p>
<p><strong>          Write-Host “$($_.Name) Checked In” -ForeGroundColor Green </strong></p>
<p><strong>     } </strong></p>
<p><strong>     $spWeb.Dispose() </strong></p>
<p><strong>}</strong></p>
<p>Here’s an example on running the function:</p>
<p>CheckInDocument <a href="http://SP">http://SP</a></p>
<p>Found <a title="here" href="http://www.learningsharepoint.com/2010/08/19/check-in-documents-with-powershell-sharepoint-2010/">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/emmettlynch.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/emmettlynch.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/emmettlynch.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/emmettlynch.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/emmettlynch.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/emmettlynch.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/emmettlynch.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/emmettlynch.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/emmettlynch.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/emmettlynch.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/emmettlynch.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/emmettlynch.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/emmettlynch.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/emmettlynch.wordpress.com/432/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=emmettlynch.wordpress.com&amp;blog=15037438&amp;post=432&amp;subd=emmettlynch&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://emmettlynch.wordpress.com/2011/11/17/check-in-documents-with-powershell-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d496cd6e4cebe837a9db2f7f325fd6a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">emmettlynch</media:title>
		</media:content>
	</item>
	</channel>
</rss>
