How I Learned to Stop Worrying and Love the SharePoint Topology Service

Well, let’s get the hard part out of the way first and admit that my earlier post explaining and detailing how to load balance the Topology Service on the publishing farm in a cross-farm federation scenario was just plain wrong. If it makes me feel better, other wise men were fooled as well; but at…

5

Understanding and extending the SharePoint PowerShell snapin

SharePoint 2010 introduces the new, powerful SharePoint Management Shell, helping administrators better manage, maintain, and gain insight into their SharePoint environment, while providing a gateway into various aspects of the SharePoint object model for powerful scripting and reporting. The functionality of the new management shell is made available via the SharePoint PowerShell snapin, which like…

1

SharePoint 2010 Certificates and Certificate Authority

SharePoint Certificate Authority and Root Certificate To properly understand the out-of-the-box configuration of the SharePoint local Security Token Service and the SharePoint Services host, it’s important to understand the SharePoint certificate authority and collection of certificates created by default in a farm. When connecting to SharePoint 2007 shared Web services via HTTPS (via the Office…

2

Modify SharePoint web.config files via PowerShell (on Hey Scripting Guy)

It’s Guest Blogger Week at the Hey, Scripting Guy blog this week, and today they’re featuring an article by me! Check it out at Use PowerShell to script changes to the SharePoint web.config file. Hey, Scripting Guy is a great resource for PowerShell tips and lots of script recipes – a must on the blogroll…


HTTP Request Throttling in SharePoint 2010 (Part 2)

In Part 1 of this series on HTTP Request Throttling, we discussed how to retrieve and modify existing monitors. It’s now time to see how you can add your own monitors to the Request Throttling and Monitoring system. As an example, we’ll assume that you’d like to add a monitor for CPU percentage to the…

1

HTTP Request Throttling in SharePoint 2010 (Part 1)

SharePoint Web servers can generate a pretty heavy resource load, consuming processor time, memory, and disk I/O. Usually, a farm will continue to process requests even while under heavy strain, only the performance and response time for end users will gradually degrade, as Web pages take longer to return and AJAX and service requests take…

5

The SharePoint 2010 Health System: A Quick Primer

SharePoint 2010 introduces the SharePoint Health framework, a formalized API and user interface for defining checks to be run against SharePoint farms and services and reports to be returned by these checks. The framework actually has its roots in the STSADM PreUpgradeCheck command introduced in SharePoint 2007 Service Pack 2. Checks performed by both tools…


PowerShell Remoting for SharePoint

Well, well, well, if it isn’t our friend the double-hop authentication problem again rearing its ugly head when trying to use PowerShell remoting technologies to manage a SharePoint farm… So you’ve run Set-WSManQuickConfig and/or Enable-PSRemoting on your server, you’ve entered an interactive shell from the client into that server, loaded the SharePoint Snapin however you…

3

Turn Developer Dashboard on/off via PowerShell

I couldn’t find a simple way to turn the developer dashboard on and off via PowerShell – there’s a STSADM property for it, but who wants to use STSADM anymore? So here’s a function to change the setting quickly.   001002003004005006007008009010011012013014015016017018019020 function Set-DevDashboard ( [string] $setting ) {    $dashboardSetting = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings    Write-Host “Setting Developer Dashboard DisplayLevel to $setting.” -ForegroundColor Gray    switch -exact ($setting) {        “On” {             $dashboardSetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On         }         “OnDemand” {            $dashboardSetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand        …


Double-hop authentication: Why NTLM fails and Kerberos works

A common scenario in SharePoint is the need to retrieve data from back-end data sources – external databases, Web services, reports via SQL Server Reporting Services (SSRS), and data cubes via Analysis Services are some common examples. Often these data sources need to be accessed as the original user so that proper authorization rules can…

15