<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SharePoint Bar and Grill</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/feed.xml</link>
    <description>Interesting Tidbits and random musings of SharePoint and other related applications.</description>
    <lastBuildDate>Tue, 16 Apr 2019 05:28:57 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Managing SharePoint Designer 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/managing-sharepoint-designer-2010</link>
      <pubDate>Fri, 28 Sep 2012 15:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Jon Daugherty]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/09/28/managing-sharepoint-designer-2010/</guid>
      <description><![CDATA[Most of the customizations made by using&nbsp;SharePoint Designer affect only the site being...]]></description>
      <content:encoded><![CDATA[<p>Most of the customizations made by using&nbsp;SharePoint Designer affect only the site being customized. However, there are some customizations that can affect and potentially break sites and other sites in the hierarchy. It is also possible to customize pages in a way that affect the maintenance and performance of the server running SharePoint 2010. All of this can result in more work for a SharePoint administrator. There are controls built-in to SharePoint Server 2010 that did not exist in SharePoint&nbsp;Server 2007, but&nbsp;can help to reduce or eliminate the risk of issues when customizing with SharePoint Designer 2010. The controls restrict SharePoint Designer 2010 at the site collection level or at the central administration level.</p>
<p>There are four selections that enable SharePoint Designer 2010 restrictions and there are two Web pages where this can be controlled. Both Web page&nbsp;locations have the same controls but they behave differently:</p>
<p style="padding-left: 30px;">1.<span style="font-family: Times New Roman;" face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b>Central Administration:</b> Restricts what the site collection administrator may do.</p>
<p style="padding-left: 30px;">2.<span style="font-family: Times New Roman;" face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b>Site Collection Administration:</b> Affects what the site owners and designers may do.</p>
<p>SharePoint Designer Controls are listed with risks and mitigation. List items 2-4 are the most common reasons for sites that are negatively impacted when customizing with SharePoint Designer:</p>
<p style="padding-left: 30px;"><strong>1.<span style="font-family: Times New Roman;" face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;</span></strong><b>Enable SharePoint Designer</b></p>
<p style="padding-left: 60px;"><b>Risk:</b> When SharePoint designer is enabled, users with designer, site owner, or site administrator have the ability to make changes to SharePoint sites.</p>
<p style="padding-left: 60px;"><b>Impact:</b> Changes made to SharePoint can be made at any time without approval and/or testing. While the time frame to produce solutions is fast, the probability that issues may arise can be high. Data may not be well structured or time frames to render data may be slow due to slow connection or poorly formed designs.</p>
<p style="padding-left: 60px;"><b>Mitigation: </b>Reduce the number of people that are able to customize pages using SharePoint Designer. Provide sufficient training before providing access to SharePoint Designer. Test customizations before implementing and use solutions whenever possible. This control is enabled by default.</p>
<p style="padding-left: 30px;"><strong>2.<span style="font-family: Times New Roman;" face="Times New Roman">&nbsp;&nbsp;&nbsp; </span>Enable detaching pages from their site definition</strong></p>
<p style="padding-left: 60px;"><b>Risk: </b>When a site is opened using SharePoint Designer, you may have the ability to perform advanced customization that can detach it from the site definition.</p>
<p style="padding-left: 60px;"><b>Impact:</b> Once this is done, pages are no longer ghosted. This means that all site content is retrieved from SharePoint content databases instead of the ghosted page that is loaded in RAM. This over rides the existing content that is stored in the site definition. When an upgrade is performed that includes new content for the site definition, it will not be included with an un-ghosted site, which may cause undetermined issues. Un-ghosted site way also increase SQL Server resources.</p>
<p style="padding-left: 60px;"><b>Mitigation: </b>Enabling this setting also allows SharePoint Designer users to edit pages in advanced mode as opposed to normal mode. This is done by right clicking a file and selecting &ldquo;Edit in advanced mode&rdquo; after opening a site with SharePoint Designer 2010. This is turned off by default. It may be turn on at the site collection level so that site administrators may edit in advanced mode or from central administration so that no users can edit in advanced mode. Consider only turning this on when planned changes are necessary and turning of when changes are complete.</p>
<p style="padding-left: 30px;"><strong>3.<span style="font-family: Times New Roman;" face="Times New Roman">&nbsp;&nbsp; </span>Enable customizing master pages and page layouts</strong></p>
<p style="padding-left: 60px;"><b>Risk: </b>Users may have the ability to customize pages and page layouts.</p>
<p style="padding-left: 60px;"><b>Impact:</b> Organizational branding or designs may not match the company look and feel or present data in the manner intended. Required content rendering that has been enforced by the agency or objects that allow the page to render properly can also be deleted.</p>
<p style="padding-left: 60px;"><b>Mitigation: </b>This setting is turned off by default. It may be turned on for all users from the site collection level or turn on only for the site collection administrator at the central administration level. This control is only effective when the publishing feature is turned on.</p>
<p style="padding-left: 30px;"><strong>4.<span style="font-family: Times New Roman;" face="Times New Roman">&nbsp;&nbsp; </span>Enable managing of the Web site URL structure</strong></p>
<p style="padding-left: 60px;"><b>Risk:</b> When the All Files option is clicked in SharePoint Designer, from the navigation pane authorized users will see all of the files in your site hierarchy or web site URL structure giving a complete view of everything.</p>
<p style="padding-left: 60px;"><b>Impact:</b> A user may change or delete a file or delete a name space that is required by the site, which may create issue with the site rendering or loss of content.</p>
<p style="padding-left: 60px;"><b>Mitigation: </b>This setting is turned off by default. It may be turned on for all users at the site collection level or turn on only for the site collection administrator at the central administration level.</p>
<p>Recommendations for managing SharePoint Designer</p>
<ul>
<li>Leverage the governance model in determining whether SharePoint designer should be used. In general, top level sites or publishing sites have tight governance policies in place; whereas, collaboration sites have little governance.</li>
<li>Consider the qualifications of the user and offer training if necessary.</li>
<li>Consider leaving the customizations up to the development group.</li>
<li>Do not let users customize in advanced mode if they are not on the development team.</li>
<li>Provide a request form for customers so that they may easily place requirements for customization.</li>
<li>Tier the level of customization and assign roles (e.g. 1 = browser, 2 = SPD normal mode, 3= SPD advanced mode, etc).</li>
<li>When using SharePoint Designer, execute it against a Web Front End that is not part of the load balancing pool so that resource remains dedicated to users.</li>
<li>For finer grain restrictions, consider leveraging controls through Group Policy. If Group Policy controls are used in conjunction with SharePoint controls, be sure to test the results more closely before going live.</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Powershell Command Builder</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/powershell-command-builder</link>
      <pubDate>Tue, 17 Jul 2012 10:41:00 GMT</pubDate>
      <dc:creator><![CDATA[SharePoint Mike]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/07/17/powershell-command-builder/</guid>
      <description><![CDATA[Still struggling trying to figure out powershell? I know not everyone has been on 2010 that long and...]]></description>
      <content:encoded><![CDATA[<p>Still struggling trying to figure out powershell? I know not everyone has been on 2010 that long and for those of you just starting to get your feet wet in Administering with Powershell here is a neat little GUI for basic commands:</p>
<p><a title="Powershell Command Builder" href="https://www.microsoft.com/resources/TechNet/en-us/Office/media/WindowsPowerShell/WindowsPowerShellCommandBuilder.html" target="_blank">Powershell Command Builder</a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Missing Workflows after Migration</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/missing-workflows-after-migration</link>
      <pubDate>Tue, 17 Apr 2012 09:11:29 GMT</pubDate>
      <dc:creator><![CDATA[David Reilly (PFE)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/04/17/missing-workflows-after-migration/</guid>
      <description><![CDATA[If you find the default OOTB workflows missing after migration from SharePoint 2007 to Sharepoint...]]></description>
      <content:encoded><![CDATA[<p sab="878"><span style="font-size: medium;">If you find the default OOTB workflows missing after migration from SharePoint 2007 to Sharepoint 2010, the following steps may help restore them:</span></p>
<p sab="880">1) Open the root of the site collection in SharePoint Designer 2010</p>
<p sab="881">2) In the Navigation section, click on All Files, then click _catlogs</p>
<p sab="882">3) Check for a folder named "wfpub" and if it exists right click on it and delete it</p>
<p sab="883">4) Run the following PowerShell for the site collection having the issue:</p>
<p><span style="font-family: courier new,courier;">$site = Get-SPSite <a href="https://root-site-collection-url" sab="885">https://root-site-collection-url</a></span></p>
<p><span style="font-family: courier new,courier;">Disable-SPFeature -url $site.URL -Identity Workflows -Confirm:$false</span></p>
<p><span style="font-family: courier new,courier;">Disable-SPFeature -url $site.URL -Identity OffWFCommon -Confirm:$false</span></p>
<p><span style="font-family: courier new,courier;">Enable-SPFeature -url $site.URL -Identity OffWFCommon</span></p>
<p><span style="font-family: courier new,courier;">Enable-SPFeature -url $site.URL -Identity Workflows</span></p>
<p sab="890">&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Hide Quick Launch</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/hide-quick-launch</link>
      <pubDate>Mon, 09 Apr 2012 11:46:00 GMT</pubDate>
      <dc:creator><![CDATA[David Reilly (PFE)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/04/09/hide-quick-launch/</guid>
      <description><![CDATA[Every 6 months or so when a customer requests this&nbsp;I always end up forgetting&nbsp;the name of...]]></description>
      <content:encoded><![CDATA[<p sab="938">Every 6 months or so when a customer requests this&nbsp;I always end up forgetting&nbsp;the name of the property <em sab="939"><span style="color: #000000;" sab="940">and to</span> <span style="color: #000000;" sab="941"><strong sab="942">wrap&nbsp;</strong></span></em><span style="color: #000000; font-family: courier new,courier;" sab="943"><strong sab="944"><span style="color: #ff0000;" sab="945">&lt;style&gt;</span></strong></span><em sab="946"><span style="color: #000000;" sab="947"><strong sab="948"> tags</strong></span></em>&nbsp;&nbsp;around it so&nbsp;I'm posting this one to&nbsp;the blog.To hide the quick launch navigation on the left side of a page in SharePoint 2010 you can edit the HTML of the page and add the following:</p>
<p sab="949"><span style="color: #ff0000; font-family: courier new,courier; font-size: small;" sab="950">&lt;style type="text/css"&gt;</span></p>
<p sab="951"><span style="font-family: courier new,courier; font-size: small;" sab="952">#s4-leftpanel {</span><br sab="953" /><span style="font-family: courier new,courier; font-size: small;" sab="954">&nbsp;DISPLAY: none</span><br sab="955" /><span style="font-family: courier new,courier; font-size: small;" sab="956">}</span><br sab="957" /><span style="font-family: courier new,courier; font-size: small;" sab="958">.s4-ca {</span><br sab="959" /><span style="font-family: courier new,courier; font-size: small;" sab="960">&nbsp;MARGIN-LEFT: 0px</span><br sab="961" /><span style="font-family: courier new,courier; font-size: small;" sab="962">}</span></p>
<p sab="963"><span style="color: #ff0000; font-family: courier new,courier; font-size: small;" sab="964">&lt;/style&gt;</span></p>
<p sab="965"><span style="color: #ff0000; font-family: arial,helvetica,sans-serif; font-size: small;" sab="966"></span>&nbsp;</p>
<p sab="967"><span style="color: #ff0000; font-family: arial,helvetica,sans-serif; font-size: small;" sab="968"><span style="color: #0000ff;"><strong>NOTE:</strong></span> </span><span style="color: #ff0000; font-size: small;" sab="968"><span style="color: #000000;">I do not recommend doing this if it can be avoided as this does not remove the quick launch column, it&nbsp;only hides it, so alignment of content on the page is still based on the column being there which can make things look strange for centered content.&nbsp;The preferred solution is creating a page based on the&nbsp;blank page layout&nbsp;that does not have quick launch navigation.&nbsp;However, in the real world&nbsp;customers do not always have the time or interest in moving existing content to a new page just to remove this column... hence this workaround.&nbsp;</span></span><span style="color: #ff0000; font-size: small;" sab="968"></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Finding all links in a Content Database</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/finding-all-links-in-a-content-database</link>
      <pubDate>Mon, 06 Feb 2012 05:59:00 GMT</pubDate>
      <dc:creator><![CDATA[David Reilly (PFE)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/02/06/finding-all-links-in-a-content-database/</guid>
      <description><![CDATA[NOTE: This is for development and testing purposes only, SQL queries ARE NOT supported on production...]]></description>
      <content:encoded><![CDATA[<p sab="842"><span style="color: #ff0000;">NOTE: This is for development and testing purposes only, SQL queries <strong>ARE NOT</strong> supported on production SharePoint Databases</span></p>
<p sab="842"><span style="color: #ff0000;"><a href="https://support.microsoft.com/kb/932744/">https://support.microsoft.com/kb/932744/</a></span></p>
<p sab="842"><span style="color: #ff0000;"></span></p>
<p sab="842">This query will scan for all the links in a content databse. Change the &ldquo;Top Level&rdquo; text to the actual base URL of the customer&rsquo;s farm before you run it to make the output look better. Target each content DB you want to scan in SQL management studio and the results should paste nicely into Excel for review.</p>
<p sab="844"><span style="font-family: courier new,courier;" sab="845"><span style="color: #0000ff;" sab="846">select</span> 'LOCATION:&nbsp; <em sab="847"><span style="color: #ff0000;" sab="848">Top Level</span></em>/' + DirName + LeafName + '&nbsp;&nbsp;&nbsp;LINK:&nbsp; ' + TargetDirName <span style="color: #0000ff;" sab="849">from</span> AllLinks WITH (NOLOCK)<br /><span style="color: #0000ff;" sab="850">where</span> TargetDirName LIKE 'https://%'</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Log File Cleanup</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/log-file-cleanup</link>
      <pubDate>Wed, 01 Feb 2012 07:31:00 GMT</pubDate>
      <dc:creator><![CDATA[David Reilly (PFE)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/02/01/log-file-cleanup/</guid>
      <description><![CDATA[Here is a basic PowerShell script for cleaning up old files, it can be customized for number of...]]></description>
      <content:encoded><![CDATA[<p sab="888"><span style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: small;" sab="889">Here is a basic PowerShell script for cleaning up old files, it can be customized for number of days, file extension, and folder paths. I use this to help clean up my constantly growing SharePoint 2007 usage logs on my web front ends. After SharePoint processes them into SQL the log files&nbsp;are no longer needed and over time&nbsp;these old usage logs can take up lots of storage space.</span><span style="color: #339966;" sab="890"></span></p>
<p sab="891"><span style="color: #339966;" sab="892"></span>&nbsp;</p>
<p sab="893"></p>
<p sab="895"><span style="color: #339966;" sab="896">#########################################</span><br sab="897" /><span style="color: #339966;" sab="898">&nbsp;# Log_Cleanup.ps1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#</span><br sab="899" /><span style="color: #339966;" sab="900">&nbsp;#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#</span><br sab="901" /><span style="color: #339966;" sab="902">&nbsp;# Deletes files in target folder&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#</span><br sab="903" /><span style="color: #339966;" sab="904">&nbsp;# that are older than specified number&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#</span><br sab="905" /><span style="color: #339966;" sab="906">&nbsp;# of days&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#</span><br sab="907" /><span style="color: #339966;" sab="908">&nbsp;#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#</span><br sab="909" /><span style="color: #339966;" sab="910">&nbsp;########################################</span><br sab="911" />&nbsp;Function LogCleanup<br sab="912" />&nbsp;{<br sab="913" />&nbsp;<span style="color: #339966;" sab="914">############################# Parameters ##########</span><br sab="915" />&nbsp;<span style="color: #339966;" sab="916">## Delete all files older than this number of days</span><br sab="917" />&nbsp;<span style="color: #ff0000;" sab="918">$Days</span> = "30"<br sab="919" />&nbsp;<br sab="920" />&nbsp;<span style="color: #339966;" sab="921">## File types to delete</span><br sab="922" />&nbsp;<span style="color: #ff0000;" sab="923">$FileType</span> = "*.log"<br sab="924" />&nbsp;<br sab="925" /><span style="color: #339966;" sab="926">&nbsp;## Root folders to run cleanup separated by commas</span><br sab="927" />&nbsp;<span style="color: #ff0000;" sab="928">$TargetFolder</span> = "C:\USAGE_LOG_FOLDER", "C:\SOME_OTHER_FOLDER"<br sab="929" />&nbsp; <span style="color: #339966;" sab="930">## NOTE: Script WILL recurse each subfolder inside these folders</span><br sab="931" />&nbsp;<span style="color: #339966;" sab="932">########################## End Parameters ##########</span><br sab="933" />&nbsp;if (Test-Path $TargetFolder)<br sab="934" />&nbsp;{<br sab="935" />&nbsp;$Now = Get-Date<br sab="936" />&nbsp;$LastWrite = $Now.AddDays(-$days)<br sab="937" />&nbsp;$Files = get-childitem $TargetFolder -include $FileType -recurse |Where {$_.LastWriteTime -le "$LastWrite"}<br sab="938" />&nbsp;foreach ($File in $Files)<br sab="939" />&nbsp;{write-host "Deleting file $File" -foregroundcolor "Yellow"; Remove-Item $File | out-null}<br sab="940" />&nbsp;}<br sab="941" />&nbsp;Else<br sab="942" />&nbsp;{Write-Host "Folder $TargetFolder Does not exist! Check folder path"}<br sab="943" />&nbsp;}<br sab="944" />&nbsp;LogCleanup</p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2010 - Configuring Adobe PDF iFilter 9 for 64-bit platforms</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/sharepoint-2010-configuring-adobe-pdf-ifilter-9-for-64-bit-platforms</link>
      <pubDate>Mon, 30 Jan 2012 17:49:00 GMT</pubDate>
      <dc:creator><![CDATA[SharePoint Mike]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/01/30/sharepoint-2010-configuring-adobe-pdf-ifilter-9-for-64-bit-platforms/</guid>
      <description><![CDATA[&nbsp;
&nbsp;I have seen some documentation out there on setting up the Adobe iFilter with SP 2010,...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p>&nbsp;I have seen some documentation out there on setting up the Adobe iFilter with SP 2010, but now Microsoft has officially published <a title="KB2293357" href="https://support.microsoft.com/kb/2293357">KB2293357</a></p>
<ul>
<li>Install Windows Server 2008 following the SharePoint prerequisites (Pre-upgrade utility).</li>
<li>Install SharePoint 2010 with the complete option and run the PSconfig wizard.</li>
<li>Configure required Server Farm Topology. In this example we use a Single Server Farm.</li>
<li>Create a new Search Service application.</li>
</ul>
<p>Configure Adobe iFilter based on steps mentioned below:</p>
<ol>
<li>Install PDF iFilter 9.0 (64 bit) from <a href="https://www.adobe.com/support/downloads/detail.jsp?ftpID=4025">https://www.adobe.com/support/downloads/detail.jsp?ftpID=4025</a><span class="pLink">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (https://www.adobe.com/support/downloads/detail.jsp?ftpID=4025)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="kb_space"></span></li>
<li>Download PDF icon picture from Adobe web site <a href="https://www.adobe.com/misc/linking.html">https://www.adobe.com/misc/linking.html</a><span class="pLink">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (https://www.adobe.com/misc/linking.html)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="kb_space"></span> and copy to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\</li>
<li>Add the following entry in docIcon.xml file, which can be found at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML <br />&lt;Mapping Key="pdf" Value="pdf16.gif" /&gt;</li>
<li>Add pdf file type on the File Type page under Search Service Application</li>
<li>Open regedit</li>
<li>Navigate to the following location: <br />HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension</li>
<li>Right-click &gt; Click New &gt; Key to create a new key for .pdf</li>
<li>Add the following GUID in the default value <br />{E8978DA6-047F-4E3D-9C78-CDBE46041603}</li>
</ol>
<ul>
<li>Restart the SharePoint Server Search 14</li>
<li>Reboot the SharePoint servers in Farm</li>
<li>Create a Test site (with any out-of-box site template) and create a document library upload any sample PDF document(s).</li>
<li>Perform FULL Crawl to get search result.</li>
</ul>
<p>Once the crawl is completed we will get search results.<br /><br />NOTE: If this is a SharePoint Foundation 2010 environment additional steps will be required instead of step 4 above<br /><br />Adding Searchable File Types to SharePoint Foundation 2010<br /><a href="https://support.microsoft.com/kb/2518465">https://support.microsoft.com/kb/2518465</a><span class="pLink">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (https://support.microsoft.com/kb/2518465)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="kb_space"></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Wow how time flies</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/wow-how-time-flies</link>
      <pubDate>Tue, 24 Jan 2012 09:11:08 GMT</pubDate>
      <dc:creator><![CDATA[SharePoint Mike]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2012/01/24/wow-how-time-flies/</guid>
      <description><![CDATA[I know I have been lax on posting any updates to my blog in several months. The past 6 months have...]]></description>
      <content:encoded><![CDATA[<p>I know I have been lax on posting any updates to my blog in several months. The past 6 months have been a whirlwind of activity and this blog has fallen to the wayside. That will hopefully change in the near future. As a matter of fact my New Year's resolution is to "Attempt" to post at least one update a month. Only time will tell if I can stick to the resolution or if it will fall to the wayside as so many resolutions do.</p>]]></content:encoded>
    </item>
    <item>
      <title>Slipstream Project 2007 on Windows Server 2008</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/slipstream-project-2007-on-windows-server-2008</link>
      <pubDate>Wed, 15 Jun 2011 03:57:27 GMT</pubDate>
      <dc:creator><![CDATA[SharePoint Mike]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2011/06/15/slipstream-project-2007-on-windows-server-2008/</guid>
      <description><![CDATA[To successfully&nbsp;install Project Server 2007 on Windows Server 2008, You will need to follow...]]></description>
      <content:encoded><![CDATA[<p>To successfully&nbsp;install Project Server 2007 on Windows Server 2008, You will need to follow these steps:</p>
<ol>
<li>Copy Project Server 2007 installation files from the CD to a local directory on your hard drive, such as C:\Project2007.</li>
<li>Download Office Server 2007 SP2 files from this location: <a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082&amp;amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082&amp;amp;displaylang=en</a>. </li>
<li>Choose the appropriate download for your architecture (32-bit or 64-bit).</li>
<li>From the command prompt, extract the update files to a local folder using /extract switch. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example: c:\officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract:c:\Project2007SP2\</li>
<li>Copy the extracted Office Server SP2 files to /Updates directory in the Project Server 2007 installation folder on your hard drive.</li>
<li>Download the WSS 3.0 SP2 files from this location: <a href="https://www.microsoft.com/download/en/details.aspx?id=20614">https://www.microsoft.com/download/en/details.aspx?id=20614</a></li>
<li>From the command prompt, extract the update files to a local folder using /extract switch as you did in step 4</li>
<li>Copy the extracted Office Server SP2 files to /Updates directory in the Project Server 2007 installation folder on your hard drive.</li>
<li>You can now install Project Server 2007 on Windows Server 2008 by running the Setup.exe contained in the Install folder you created in Step 1</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Using Powershell to export all solutions from current 2010 farm and programatically import and deploy them</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepoint_bar__grill/using-powershell-to-export-all-solutions-from-current-2010-farm-and-programatically-import-and-deploy-them</link>
      <pubDate>Thu, 05 May 2011 06:46:00 GMT</pubDate>
      <dc:creator><![CDATA[SharePoint Mike]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sharepoint_bar__grill/2011/05/05/using-powershell-to-export-all-solutions-from-current-2010-farm-and-programatically-import-and-deploy-them/</guid>
      <description><![CDATA[Sitting ﻿on client site with&nbsp;Shane Young and Jeff Jacobs today we came across a challenging...]]></description>
      <content:encoded><![CDATA[<p>Sitting ﻿on client site with&nbsp;Shane Young and Jeff Jacobs today we came across a challenging scenario. While trying to migrate their current production to another farm, as well as stand up a new Integration farm, we came to the realization they may not have the binaries for all their custom designed solutions. What we needed was a&nbsp;way to ensure the same solutions were deployed to each farm. Well we found a neat little way to do this&nbsp;using Powershell.</p>
<p><span style="font-size: large;"><strong>﻿﻿Extract all solutions from your farm</strong></span></p>
<p><span style="color: #0000ff;"><span style="font-size: large;"><strong>﻿</strong></span>(Get-SPFarm).Solutions | ForEach-Object{$var = (Get-Location).Path + "\" + $_.Name; $_.SolutionFile.SaveAs($var)} </span></p>
<p>** I must note here that utilizing the (Get-Location).Path will drop all the solutions&nbsp;where&nbsp;you currently located in the file system,&nbsp;so ensure to navigate to the appropriate folder before running this command, or modify the&nbsp;command to hard code in the path you need. We do not like hard coded path's therefore we just call our current location.</p>
<p>&nbsp;</p>
<p><span style="font-size: large;"><strong>Import all solutions to another farm</strong></span></p>
<p><span style="color: #0000ff;">Get-ChildItem | ForEach-Object{Add-SPSolution -LiteralPath $_.Fullname} </span></p>
<p>** Once again this calls your current location in the filesystem so ensure you navigate to the folder containing your newly exported solutions prior to executing this script.</p>
<p>&nbsp;</p>
<p><span style="font-size: large;">Deploy all solutions on the new farm</span></p>
<p><span style="color: #0000ff;">Get-SPSolution | ForEach-Object {If ($_.ContainsWebApplicationResource -eq $False) {Install-SPSolution -Identity $_ -GACDeployment} else {Install-SPSolution -Identity $_ -AllWebApplications -GACDeployment}} </span></p>
<p><span style="color: #000000;">Once this is executed it will take 10 minutes or more for the solutions to deploy, depending on the number of solutions of course. So now you have a programmatic/repeatable method to ensure your farms have identical solutions.</span></p>
<p><span style="color: #ff0000;">﻿Shane Young also wrote up a blog on this located <a href="https://blogs.msdn.com/controlpanel/blogs/posteditor.aspx/here">here</a>. For sake of saving myself some typing, I am just putting the bare bones code here. If you need a detailed explanation of what each command does please visit Shane's blog as he does a great job explaining in detail.</span></p>]]></content:encoded>
    </item>
  </channel>
</rss>