<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!--RSS generated by Microsoft SharePoint Foundation RSS Generator on 2/28/2012 7:55:07 AM --><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Ben There, Done That: Posts</title>
    <link>http://www.sharepointben.com/blog/Lists/Posts/All Posts.aspx</link>
    <description>RSS feed for the Posts list.</description>
    <lastBuildDate>Tue, 28 Feb 2012 13:55:07 GMT</lastBuildDate>
    <generator>Microsoft SharePoint Foundation RSS Generator</generator>
    <ttl>60</ttl>
    <language>en-US</language>
    <image>
      <title>Ben There, Done That: Posts</title>
      <url>http://www.sharepointben.com/blog/_layouts/images/siteIcon.png</url>
      <link>http://www.sharepointben.com/blog/Lists/Posts/All Posts.aspx</link>
    </image>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SPBenThereDoneThat" /><feedburner:info uri="spbentheredonethat" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
      <title>Using PowerShell to “hide” folders in a SharePoint List View</title>
      <link>http://feedproxy.google.com/~r/SPBenThereDoneThat/~3/Sl0gqDe8YRs/ViewPost.aspx</link>
      <description>&lt;div&gt;&lt;b&gt;Body:&lt;/b&gt; &lt;div class="ExternalClass33732B9B6F21412DBF5783409FDCB6D2"&gt;&lt;div class="wlWriterHeaderFooter" style="float:none;margin:0px;padding:4px 0px 4px 0px"&gt;&lt;/div&gt;&lt;p&gt;So here it is, my first post of 2012.  I’ve been doing a lot with PowerShell and SharePoint lately and really been enjoying it.  However, this one tasks had be stumped for a while.  Within a SharePoint view, under the “Folders” section you have the ability to specify either “Show items inside folders” or “Show all items without folders”.  The view works great if you want to offer your users a view to see all content without that content being buried within folders.&lt;/p&gt;  &lt;p&gt;Our problem came in that we were provisioning the entire site (including views) using PowerShell.  So, how to set this in via PowerShell.  I couldn’t find ANY properties relating to folders for a List view.  After a few hours and some digging I found that it done by setting the view scope to recursive.  It actually does make some sense when you think about it.  So, here is the PowerShell needed to “hide” folders within your SharePoint list view:&lt;/p&gt;  &lt;pre class="csharpcode"&gt;$web = Get-SPWeb &lt;span class="str"&gt;&amp;quot;http://intranet.sharepoint.com&amp;quot;&lt;/span&gt;
$doclib = $web.Lists[&lt;span class="str"&gt;&amp;quot;Shared Documents&amp;quot;&lt;/span&gt;]
$view = $doclib.Views[&lt;span class="str"&gt;&amp;quot;All Documents&amp;quot;&lt;/span&gt;]
$view.Scope = [Microsoft.SharePoint.SPViewScope]::Recursive
$view.Update()&lt;/pre&gt;
&lt;style&gt;
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode, .ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode pre
{font-size:small;color:black;font-family:consolas, &amp;quot;Courier New&amp;quot;, courier, monospace;background-color:#ffffff;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode pre
{margin:0em;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .rem
{color:#008000;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .kwrd
{color:#0000ff;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .str
{color:#006080;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .op
{color:#0000c0;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .preproc
{color:#cc6633;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .asp
{background-color:#ffff00;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .html
{color:#800000;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .attr
{color:#ff0000;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .alt
{background-color:#f4f4f4;width:100%;margin:0em;}
.ExternalClass33732B9B6F21412DBF5783409FDCB6D2 .csharpcode .lnum
{color:#606060;}
&lt;/style&gt;

&lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:76e1e3bd-721a-4cab-914c-91ebda4e4403" class="wlWriterSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SharePoint" rel="tag"&gt;SharePoint&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Powershell" rel="tag"&gt;Powershell&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SharePoint+2010" rel="tag"&gt;SharePoint 2010&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Category:&lt;/b&gt; &lt;a onclick="OpenPopUpPage('http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=3&amp;RootFolder=*', RefreshPage); return false;" href="http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=3&amp;RootFolder=*"&gt;SharePoint 2010&lt;/a&gt;; &lt;a onclick="OpenPopUpPage('http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=151&amp;RootFolder=*', RefreshPage); return false;" href="http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=151&amp;RootFolder=*"&gt;Powershell&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Published:&lt;/b&gt; 1/20/2012 5:29 PM&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Title:&lt;/b&gt; Using PowerShell to “hide” folders in a SharePoint List View&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SPBenThereDoneThat/~4/Sl0gqDe8YRs" height="1" width="1"/&gt;</description>
      <author>Benjamin.Stegink</author>
      <category>SharePoint 2010; Powershell</category>
      <pubDate>Fri, 20 Jan 2012 22:38:56 GMT</pubDate>
      <guid isPermaLink="false">http://www.sharepointben.com/blog/Lists/Posts/ViewPost.aspx?ID=615</guid>
    <feedburner:origLink>http://www.sharepointben.com/blog/Lists/Posts/ViewPost.aspx?ID=615</feedburner:origLink></item>
    <item>
      <title>Merry Christmas and a Happy New Year!!</title>
      <link>http://feedproxy.google.com/~r/SPBenThereDoneThat/~3/45Mr477C2i4/ViewPost.aspx</link>
      <description>&lt;div&gt;&lt;b&gt;Body:&lt;/b&gt; &lt;div class="ExternalClass7E8AA476C429436898CA354D537B2A8B"&gt;&lt;p&gt;Merry Christmas and a Happy New Year to everyone!  I hope and trust everyone has had a blessed year, despite any hardships that may have transpired in the last 12 months.  As for me, I’ve had a wonderful year of consulting as well as some great times personally with my wife and family.  This year has also brought with it some trials and difficult decisions.&lt;/p&gt;
  &lt;p&gt;Over this last year my wife and I have had the great opportunity of being able to spend a week up in Michigan camping with my family as well as going on a Disney Cruise with my wife’s family in June.  Additionally in July we were able to get away for a few nights to St. Simons Island, GA to celebrate our second anniversary.  This Christmas we have also been able to spend additional time with family in Michigan and out in Colorado.&lt;/p&gt;
  &lt;p&gt;As for work life, a couple of weeks ago I made the difficult decision of resigning from my position as a Sr. SharePoint Architect with EPC Group.  It has been a privilege to work with several different individuals and clients over the past year and I have continued to hone my skills as a SharePoint consultant and increase my SharePoint knowledge as a result of working with these individuals and clients.&lt;/p&gt;
  &lt;p&gt;For what’s next?  I have a few things brewing so for now, all I’ll say is stay tuned to my blog/Twitter/Facebook feeds for additional updates coming sometime in 2012.&lt;/p&gt;
  &lt;p&gt;I hope everyone has a Merry Christmas and in all of the celebrations, remembers what we are really celebrating this time of year (and it’s not Santa).  &lt;/p&gt;
  &lt;p&gt;      &lt;em&gt;“For to us a child is born,      &lt;br /&gt;      to us a son is given;       &lt;br /&gt;                  and the government shall be upon his shoulder,       &lt;br /&gt;      and his name shall be called       &lt;br /&gt;                  Wonderful Counselor, Mighty God,       &lt;br /&gt;      Everlasting Father, Prince of Peace.” - &lt;/em&gt;The Holy Bible: English Standard Version. 2001 (Is 9:6).&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Published:&lt;/b&gt; 12/23/2011 3:26 PM&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Title:&lt;/b&gt; Merry Christmas and a Happy New Year!!&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SPBenThereDoneThat/~4/45Mr477C2i4" height="1" width="1"/&gt;</description>
      <author>Benjamin.Stegink</author>
      <pubDate>Fri, 23 Dec 2011 20:26:33 GMT</pubDate>
      <guid isPermaLink="false">http://www.sharepointben.com/blog/Lists/Posts/ViewPost.aspx?ID=614</guid>
    <feedburner:origLink>http://www.sharepointben.com/blog/Lists/Posts/ViewPost.aspx?ID=614</feedburner:origLink></item>
    <item>
      <title>Macbook Pro + Hyper-V = Issues</title>
      <link>http://feedproxy.google.com/~r/SPBenThereDoneThat/~3/8z_obhfxBwk/ViewPost.aspx</link>
      <description>&lt;div&gt;&lt;b&gt;Body:&lt;/b&gt; &lt;div class="ExternalClass09150E1746994DB893DC6842012EC6BE"&gt;&lt;p&gt;So, recently I decided to install Windows Server 2008 R2 on my MBP (late 2010 model) rather than using Mac OS with VMWare Fusion.  I won’t go into all the details around this decision, however I did encounter one big surprise.  This one being a nightmare with Hyper-V.  I liked the idea of being able to run Hyper-V for VM’s on my MBP, specifically Windows XP for using VPN with some clients.  Also, I could easily manage and connect to my Hyper-V server running at home.&lt;/p&gt;  &lt;p&gt;After getting everything all set and spinning up Hyper-V with a Windows XP VM, my laptop was dog slow!! I have an SSD hard drive, 8 GB of RAM and a dual core proc…no way everything should be this slow.  My video was also doing REALLY weird things, this I chalked up to the fact that I was using my laptop display and two external monitors (making use of the display port as well as an external USB “video card”).&lt;/p&gt;  &lt;p&gt;So, what did I do? Some searching for what could be the issue.  I started seeing some posts about issues with Hyper-V and certain nVidia video cards in laptops causing weird behavior with Hyper-V.  Hm….slow computer and video issues??  So, I uninstalled the Hyper-V role and success!! My laptop runs much smoother AND, as a bonus, my video now is much better.  I went back to VMWare and am now using Workstation 8 on my MBP with very good success and just using the Hyper-V management tools to connect to my server without any issues.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Category:&lt;/b&gt; &lt;a onclick="OpenPopUpPage('http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=47&amp;RootFolder=*', RefreshPage); return false;" href="http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=47&amp;RootFolder=*"&gt;Mac&lt;/a&gt;; &lt;a onclick="OpenPopUpPage('http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=5&amp;RootFolder=*', RefreshPage); return false;" href="http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=5&amp;RootFolder=*"&gt;Administration&lt;/a&gt;; &lt;a onclick="OpenPopUpPage('http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=133&amp;RootFolder=*', RefreshPage); return false;" href="http://www.sharepointben.com/blog/_layouts/listform.aspx?PageType=4&amp;ListId={A09210E7-6335-4E4C-B300-9B9AA3EC0185}&amp;ID=133&amp;RootFolder=*"&gt;Windows&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Published:&lt;/b&gt; 11/22/2011 9:53 AM&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Title:&lt;/b&gt; Macbook Pro + Hyper-V = Issues&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SPBenThereDoneThat/~4/8z_obhfxBwk" height="1" width="1"/&gt;</description>
      <author>EMS\sharepointben</author>
      <category>Mac; Administration; Windows</category>
      <pubDate>Tue, 22 Nov 2011 14:53:23 GMT</pubDate>
      <guid isPermaLink="false">http://www.sharepointben.com/blog/Lists/Posts/ViewPost.aspx?ID=613</guid>
    <feedburner:origLink>http://www.sharepointben.com/blog/Lists/Posts/ViewPost.aspx?ID=613</feedburner:origLink></item>
  </channel>
</rss>

