<?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 Knowledge Base</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sp/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sp/feed.xml</link>
    <description>This Blog is a knowledgebase of my daily business. I hope you&amp;#039;ll find answers to your questions.</description>
    <lastBuildDate>Wed, 31 May 2017 13:11:48 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Download and Deploy CRLs fully automated</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/download-and-deploy-crls-fully-automated</link>
      <pubDate>Wed, 31 May 2017 15:05:52 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/?p=806</guid>
      <description><![CDATA[COMMENT...]]></description>
      <content:encoded><![CDATA[<h6>COMMENT BEGIN</h6>
<h6>************************************************************************************
PREREQUISITES
************************************************************************************
Configuration @ Sharepoint
Enable-PSRemoting
Enable-WSManCredSSP -Role server -force</h6>
<h6>Configuration @ Client
Enable-PSRemoting
Enable-WSManCredSSP -Role Client -DelegateComputer * -Force</h6>
<h6>************************************************************************************
RUNAS USER
************************************************************************************
Must be able to download files from the internet
must be local admin on sp servers
must have read/write access to download path</h6>
<h6>COMMENT END</h6>
$download_path = "\\fileserver\shaere$\CRLs\crl.microsoft.com\"
$sp_servers = "server1","server2","server3","server4","server5","server6"
$cred = Get-Credential -Message "Credentials für Remote PowerShell" -UserName (whoami)

$crls = `
"https://crl.microsoft.com/pki/crl/products/CodeSignPCA.crl", `
"https://crl.microsoft.com/pki/crl/products/CodeSignPCA2.crl", `
"https://crl.microsoft.com/pki/crl/products/microsoftrootcert.crl", `
"https://crl.microsoft.com/pki/crl/products/CSPCA.crl", `
"https://crl.microsoft.com/pki/crl/products/MicCodSigPCA_08-31-2010.crl"
$i=0
foreach ($crl in $crls)
{
Invoke-WebRequest $crl -Proxy "https://proxy.domain.com:80" -ProxyUseDefaultCredentials -UseBasicParsing -OutFile ($download_path+$i+".crl")
$i++
}

foreach ($server in $sp_servers)
{
Invoke-Command -ComputerName $server -Authentication Credssp -Credential $cred -ArgumentList $download_path -ScriptBlock {
$download_path = $args[0]
foreach ($crl in (Get-ChildItem $download_path))
{
certutil -addstore Root $crl.FullName
}

}
}

OMMENomain]]></content:encoded>
    </item>
    <item>
      <title>Get Database Size for all SharePoint DBs via PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/get-database-size-for-all-sharepoint-dbs-via-powershell</link>
      <pubDate>Wed, 21 Jan 2015 02:28:20 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2015/01/21/get-database-size-for-all-sharepoint-dbs-via-powershell/</guid>
      <description><![CDATA[Add-PSSnapin microsoft.sharepoint.powershell
$size = 0foreach ($db in...]]></description>
      <content:encoded><![CDATA[<p>Add-PSSnapin microsoft.sharepoint.powershell</p>
<p>$size = 0<br />foreach ($db in Get-SPContentDatabase)<br />{<br />&nbsp;&nbsp;&nbsp; $size = $size + $db.DiskSizeRequired<br />}<br />$cdbs = &quot;{0:N2}&quot; -f($size/1gb)<br />$ssa = Get-SPEnterpriseSearchServiceApplication<br />$topo = $ssa | Get-SPEnterpriseSearchTopology&nbsp; -Active<br />$indexcomponent = (Get-SPEnterpriseSearchComponent -SearchTopology $topo | ?{$_.name -like &quot;*index*&quot;})[0]<br />$folder = $indexcomponent.RootDirectory<br />$indexsize = &quot;{0:N2}&quot; -f ((Get-ChildItem $folder -Recurse | Measure-Object -sum&nbsp; Length).sum/1GB)<br />$dbs = Get-SPDatabase<br /><br />cls<br />write-host &quot;--------------------------------------------------------------------------------------&quot; -fore green<br />Get-Date<br />write-host &quot;&quot;<br />write-host &quot;--------------------------------------------------------------------------------------&quot; -fore green<br />write-host &quot;SUM: Content DB Size in GB: &quot; -NoNewline -fore White<br />write-host $cdbs -fore Yellow<br />write-host &quot;--------------------------------------------------------------------------------------&quot; -fore green<br />write-host &quot;Index Size (Localhost) on Disk in GB: &quot;-NoNewline -fore white<br />write-host $indexsize -fore Yellow<br />write-host &quot;--------------------------------------------------------------------------------------&quot; -fore green<br />$sum_all_dbs = 0<br />foreach ($db in $dbs)<br />{<br />write-host $db.name &quot;DB Size in GB: &quot; -NoNewline -fore White<br />$dsr = &quot;{0:N2}&quot; -f ($db.DiskSizeRequired/1gb)<br />write-host $dsr&nbsp; -fore Yellow<br />$sum_all_dbs=$sum_all_dbs+$db.DiskSizeRequired<br />}<br />write-host &quot;--------------------------------------------------------------------------------------&quot; -fore green<br />write-host &quot;SUM: Usage of all SharePoint DBs in GB: &quot; -NoNewline -fore White<br />$sum_all_dbs = &quot;{0:N2}&quot; -f ($sum_all_dbs/1gb)<br />write-host $sum_all_dbs -fore Yellow<br />write-host &quot;--------------------------------------------------------------------------------------&quot; -fore green</p>
<p></p>
<p>&nbsp;</p>
<p></p>
<p><span style="font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Perform an IIS Reset on all your SP Servers via PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/perform-an-iis-reset-on-all-your-sp-servers-via-powershell</link>
      <pubDate>Mon, 08 Dec 2014 01:44:16 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2014/12/08/perform-an-iis-reset-on-all-your-sp-servers-via-powershell/</guid>
      <description><![CDATA[This script will list all your SP Servers and restarts IIS on all of them.
&nbsp;
add-pssnapin...]]></description>
      <content:encoded><![CDATA[<p>This script will list all your SP Servers and restarts IIS on all of them.</p>
<p>&nbsp;</p>
<p>add-pssnapin microsoft.sharepoint.powershell <br />$spserver = get-spserver | ?{$_.role -eq &quot;Application&quot;} <br />foreach ($server in $spserver) <br />{<br /> &nbsp;&nbsp; write-host &quot;Performing IIS Reset on Server:&quot;$server.name<br /> &nbsp;&nbsp; iisreset $server.Name <br />}</p>
<p></p>
<p><span style="font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Very slow SharePoint &gt; what can you do against it without upgrading your hardware</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/very-slow-sharepoint-what-can-you-do-against-it-without-upgrading-your-hardware</link>
      <pubDate>Tue, 18 Nov 2014 10:34:56 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2014/11/18/very-slow-sharepoint-what-can-you-do-against-it-without-upgrading-your-hardware/</guid>
      <description><![CDATA[There is a very important support article out there, about what you can do if your SharePoint is...]]></description>
      <content:encoded><![CDATA[<p>There is a very important support article out there, about what you can do if your SharePoint is sometimes very slow.</p>
<p>E.g.: on the first start of a Site<br />Sometimes during the day a search query will take about a minute until you get results.....</p>
<p>Just look on that article: <span style="font-size:medium;"><strong>https://support.microsoft.com/kb/2625048</strong></span></p>
<p>it will improve your&nbsp;&quot;feeled&quot; performance (site response times) massive, if you&#39;re going to implement both solutions.</p>
<p>Disabling CRL Check is just neccassary if the SP Server does not have internet connectivity! -&gt; that means proxy settings must be configured for the server itself</p>
<p><a href="https://technet.microsoft.com/de-de/library/bb430772(v=exchg.141).aspx">https://technet.microsoft.com/de-de/library/bb430772(v=exchg.141).aspx</a>, and your proxy must allow traffic from the server of course.</p>
<p>It is NOT enough that you&#39;re able to browse through the Internet on your SP Server!!!</p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Add Query Suggestions via PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/add-query-suggestions-via-powershell</link>
      <pubDate>Tue, 18 Nov 2014 10:27:44 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2014/11/18/add-query-suggestions-via-powershell/</guid>
      <description><![CDATA[$myquerysuggestions_en = &quot;SharePoint English&quot;$language_en =...]]></description>
      <content:encoded><![CDATA[<p>$myquerysuggestions_en = &quot;SharePoint English&quot;<br />$language_en = &quot;EN-US&quot;</p>
<p>$myquerysuggestions_en = &quot;SharePoint German&quot;<br />$language_de = &quot;DE-DE&quot;</p>
<p>$sa = Get-SPEnterpriseSearchServiceApplication</p>
<p>foreach ($en_s in $myquerysuggestions_en) {New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $sa -Language&nbsp;$language_en -Type QuerySuggestionAlwaysSuggest -Name $en_s}<br />foreach ($en_s in $myquerysuggestions_en) {New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $sa -Language&nbsp;$language_de -Type QuerySuggestionAlwaysSuggest -Name $de_s}</p>]]></content:encoded>
    </item>
    <item>
      <title>Partial Index Reset of a single content source</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/partial-index-reset-of-a-single-content-source</link>
      <pubDate>Tue, 18 Nov 2014 10:18:37 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2014/11/18/partial-index-reset-of-a-single-content-source/</guid>
      <description><![CDATA[This script will remove and re-add your content source&#39;s start addresses.SharePoint will more or...]]></description>
      <content:encoded><![CDATA[<p>This script will remove and re-add your content source&#39;s start addresses.<br />SharePoint will more or less rebuild the index for these sources, when&nbsp;the next&nbsp;full crawl is started.<br /><br /><br />$sourceName = &quot;Local SharePoint sites&quot;<br /><br />$SSA = Get-SPEnterpriseSearchServiceApplication<br />$source = Get-SPEnterpriseSearchCrawlContentSource -Identity $sourceName -SearchApplication $SSA<br />$startaddresses = $source.StartAddresses | ForEach-Object { $_.OriginalString }<br />$source.StartAddresses.Clear()<br />ForEach ($address in $startaddresses ){ $source.StartAddresses.Add($address) }</p>]]></content:encoded>
    </item>
    <item>
      <title>Replace Text within multiple Wikipages using PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/replace-text-within-multiple-wikipages-using-powershell</link>
      <pubDate>Wed, 29 May 2013 05:16:00 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2013/05/29/replace-text-within-multiple-wikipages-using-powershell/</guid>
      <description><![CDATA[Script for Sharepoint 2010 Enterprise Wikis!
		$logfile = "c:\logfile.txt"$web = Get-SPWeb...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Times New Roman; font-size:12pt"> <strong>Script for Sharepoint 2010 Enterprise Wikis!</strong>
		</span></p><p>$logfile = "c:\logfile.txt"<br/>$web = Get-SPWeb "<a href="https://intranet/wikiurl">https://intranet/wikiurl</a>"<br/>$list = $web.GetList(($web.ServerRelativeUrl.TrimEnd("/") + "/Wiki%20Pages"))<br/> 
</p><p>$search = "search_text"<br/>$replace = "replace_test"<br/>
	</p><p>(get-date).ToString() + " &gt;&gt;&gt; Script Startet &gt;&gt; Parameter: Search = " + $search + " | Replace = "+$replace   | add-content $logfile<br/>(get-date).ToString() + " &gt;&gt;&gt; Script Startet &gt;&gt; Parameter: Search = " + $search + " | Replace = "+$replace   | add-content $logfile<br/>foreach ($item in $list.items)<br/>{<br/> 
</p><p>if ($item["Page Content"].contains($search))<br/>{
</p><p>$item.file.CheckOut();
</p><p>(get-date).ToString() + " &gt;&gt;&gt; " +  $item.name + " checked out"   | add-content $logfile
</p><p>do {write-host -NoNewline .;Start-Sleep -m 10;} while ($item.file.CheckOutStatus -eq "None")
</p><p> 
 </p><p>$item["Page Content"] = $item["Page Content"].replace($search ,$replace );
</p><p>$item.update();
</p><p>(get-date).ToString() + " &gt;&gt;&gt; " +  $item.name + " modified"   | add-content $logfile
</p><p>(get-date).ToString() + " &gt;&gt;&gt; " +  $search + " changed by " + $replace  | add-content $logfile
</p><p>sleep 1
</p><p>$item.file.CheckIn("checked in by administrator");
</p><p>(get-date).ToString() + " &gt;&gt;&gt; " +  $item.name + " checked in"   | add-content $logfile
</p><p> 
 </p><p>write-host $item.name "modified" -foregroundcolor red
</p><p>}
</p><p>}
</p><p> 
 </p><p><span style="font-family:Times New Roman; font-size:12pt">_________________________________________________________________________________
</span></p><p><span style="font-family:Times New Roman; font-size:12pt"><strong>Script for migrated SharePoint 2007 Wikis to SP 2010!</strong>
		</span></p><p> 
 </p><p>["Page Content"] has been replaced by ["ows_WikiField"]
</p><p> 
 </p><p> 
 </p><p> 
 </p><p>$logfile = "c:\logfile.txt"
</p><p>$web = Get-SPWeb "<a href="https://intranet/wikiurl">https://intranet/wikiurl</a>"
</p><p>$list = $web.GetList(($web.ServerRelativeUrl.TrimEnd("/") + "/Wiki%20Pages"))
</p><p> 
 </p><p>$search = "search_text"
</p><p>$replace = "replace_test"
</p><p> 
 </p><p> 
 </p><p>(get-date).ToString() + " &gt;&gt;&gt; Script Startet &gt;&gt; Parameter: Search = " + $search + " | Replace = "+$replace   | add-content $logfile
</p><p>(get-date).ToString() + " &gt;&gt;&gt; Script Startet &gt;&gt; Parameter: Search = " + $search + " | Replace = "+$replace   | add-content $logfile
</p><p>foreach ($item in $list.items)
</p><p>{
</p><p> 
 </p><p> if ($item["ows_WikiField"].contains($search))
</p><p> {
</p><p>  $item.file.CheckOut();
</p><p>  (get-date).ToString() + " &gt;&gt;&gt; " +  $item.name + " checked out"   | add-content $logfile
</p><p>  do {write-host -NoNewline .;Start-Sleep -m 10;} while ($item.file.CheckOutStatus -eq "None")
</p><p> 
 </p><p>  $item["ows_WikiField"] = $item["ows_WikiField"].replace($search ,$replace );
</p><p>  $item.update();
</p><p>  (get-date).ToString() + " &gt;&gt;&gt; " +  $item.name + " modified"   | add-content $logfile
</p><p>  (get-date).ToString() + " &gt;&gt;&gt; " +  $search + " changed by " + $replace  | add-content $logfile
</p><p>  sleep 1
</p><p>  $item.file.CheckIn("checked in by administrator");
</p><p>  (get-date).ToString() + " &gt;&gt;&gt; " +  $item.name + " checked in"   | add-content $logfile
</p><p> 
 </p><p>  write-host $item.name "modified" -foregroundcolor red
</p><p> }
</p><p>}
</p><p><span style="font-family:Times New Roman; font-size:12pt"> </span> </p>]]></content:encoded>
    </item>
    <item>
      <title>The password for the content access account cannot be decrypted.....</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/the-password-for-the-content-access-account-cannot-be-decrypted</link>
      <pubDate>Wed, 29 May 2013 05:15:30 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2013/05/29/the-password-for-the-content-access-account-cannot-be-decrypted/</guid>
      <description><![CDATA[Errormessage: The password for the content&nbsp; access account cannot be decrypted because it was...]]></description>
      <content:encoded><![CDATA[<h3 class="post-title entry-title"><span style="font-size: small;">Errormessage: </span><span style="font-size: small;">The password for the content&nbsp; access account cannot be decrypted because it was stored with different&nbsp; credentials. Re-type the password for the account used to crawl this content.</span></h3>
<div class="post-title entry-title">&nbsp;Solution: Use <a data-blogger-escaped-href="mailto:user@domain.local">user@domain.local</a> instead of domain\user when specifiying the Default Content Access Account</div>
<div class="post-title entry-title">&nbsp;</div>
<div class="post-title entry-title">&nbsp;</div>]]></content:encoded>
    </item>
    <item>
      <title>Add a User and/or Group to all SiteCollections as SiteCollection Admin</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/add-a-user-andor-group-to-all-sitecollections-as-sitecollection-admin</link>
      <pubDate>Wed, 29 May 2013 05:14:47 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2013/05/29/add-a-user-andor-group-to-all-sitecollections-as-sitecollection-admin/</guid>
      <description><![CDATA[This Script will automatically add a User and/Or Group to ALL SiteCollections in ALL WebApplications...]]></description>
      <content:encoded><![CDATA[<p>This Script will automatically add a User and/Or Group to ALL SiteCollections in ALL WebApplications of your SharePoint Farm.</p>
<p>It can be very easily modified to do this action on just one WebApp&nbsp; by editing the line</p>
<p>$wapps = Get-SPWebApplication&nbsp;to</p>
<p>$wapps = Get-SPWebApplication "mywebappname"&nbsp;</p>
<p>&nbsp;</p>
<hr class="more" />
<p>&nbsp;</p>
<p>#example: $AccountList = @("DOMAIN\User" , "DOMAIN\Group")</p>
<p>$AccountList = @("domain\myuser")</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>$wapps = Get-SPWebApplication</p>
<p>Foreach($webapp in $wapps)</p>
<p>{</p>
<p>&nbsp; foreach ($SiteCollection in $webapp.Sites)</p>
<p>&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; write-host $SiteCollection.url</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $spweb = Get-SPWeb $SiteCollection.url</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach ($Account in $AccountList)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $user = Get-SPUSER -identity $Account -web $SiteCollection.url -ErrorAction SilentlyContinue</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($user -eq $null)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $SPWeb.ALLUsers.ADD($Account, "", "", "Added by SiteCollectionAdminScript")</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $user = Get-SPUSER -identity $Account -web $SiteCollection.url</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write-host "Added user $Account to URL $SPWeb.URL" -Foregroundcolor green</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write-host "user $Account was already in URL " $SPWeb.URL -Foregroundcolor red</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($user.IsSiteAdmin -ne $true)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $user.IsSiteAdmin = $true</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $user.Update()</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write-host "$account has been made an admin on $SPWeb.URL" -Foregroundcolor green</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write-host "$account was already an admin on $SPWeb.URL" -Foregroundcolor red</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp; }</p>
<p>&nbsp;}</p>]]></content:encoded>
    </item>
    <item>
      <title>Event 2159 / 5586</title>
      <link>https://docs.microsoft.com/archive/blogs/sp/event-2159-5586</link>
      <pubDate>Wed, 29 May 2013 05:13:53 GMT</pubDate>
      <dc:creator><![CDATA[Thomas Bernhard]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sp/2013/05/29/event-2159-5586/</guid>
      <description><![CDATA[Event 5586 (SharePoint Foundation) of severity 'Error' occurred 540 more time(s) and was suppressed...]]></description>
      <content:encoded><![CDATA[<p>Event 5586 (SharePoint Foundation) of severity 'Error' occurred 540 more time(s) and was suppressed in the event log.</p>
<p>&nbsp;</p>
<p>Reasons for this Event:</p>
<p><a href="https://technet.microsoft.com/en-us/library/cc561042(v=office.12).aspx">https://technet.microsoft.com/en-us/library/cc561042(v=office.12).aspx</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Possible Fix:</p>
<p>1.Open the SQL Server Configuration Manager (assuming you are using SQL 2008 or higher)</p>
<p>2.Browse down to SQL Server Network Configuration &ndash; Protocols for &lt;namedserverinstance&gt;</p>
<p>3.Right-click &ldquo;Named Pipes&rdquo; in the right pane and choose Enable</p>
<p>4.You may need to restart the server for changes to take effect</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Granting the farm database access account &ldquo;VIEW SERVER STATE&rdquo; under the SQL Server properties will also resolve this issue.</p>
<p>&nbsp;</p>
<p>use [master]</p>
<p>GO</p>
<p>GRANT VIEW SERVER STATE TO [domain\timer_service_user]</p>
<p>GO</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>