Script to Reset WSUS for SysPrep’ed Image

Here’s a useful script for those, like me, that use SysPrep’ed images to create new virtual machines and also leverage Windows Server Update Services (WSUS) to keep machines up-to-date with the latest patches. Reset WSUS for SysPrep Image.cmd net stop wuauserv reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f reg.exe delete…

0

Reusable Content in SharePoint Publishing HTML Fields, Part 3

In part 2 of this series, I explained how to programmatically add a new Reusable Content list item and subsequently add it to a Publishing HTML field on a page. I also provided a complete sample for SharePoint 2010 that demonstrates how this can be accomplished with minimal effort (thanks to some nitfy helper classes)….

0

Reusable Content in SharePoint Publishing HTML Fields, Part 2

In my previous post, I introduced a scenario for using the “Reusable Content” feature in Microsoft Office SharePoint Server (MOSS) 2007 and SharePoint Server 2010. In this post, I show you how to programmatically add Reusable Content list items (which is very helpful when deploying to multiple environments, such as DEV, TEST, and PROD) as…

0

Reusable Content in SharePoint Publishing HTML Fields, Part 1

In one of the sprints last year for my current project, I built a custom “document publishing” system based on the Web Content Management (WCM) features in Microsoft Office SharePoint Server (MOSS) 2007. My client was looking to replace a legacy system used to create Microsoft Word documents that are essentially “standard operating procedures” for…

0

Localization and SharePoint Solutions, Part 3 (a.k.a. use field IDs whenever possible)

In part 1 of this series, I mentioned that one of the options for creating SharePoint sites in multiple languages is to install the corresponding SharePoint language packs prior to creating the sites. This is the most common deployment scenario for localization. [An alternative localization approach that we used years ago on the Agilent Technologies…

0

RecoverableException for .NET Framework Solutions

Do you remember the good ol’ days before the ApplicationException class in the .NET Framework became “persona non grata”? I sure do. If you were to look at .NET code that I wrote years ago, you’d probably see ApplicationException being used all over the place. After all, this seemed like a great way to differentiate…

0

Localization and SharePoint Solutions, Part 2 (a.k.a. the CurrentUICultureSwitcher class)

In part 1 of this series, I mentioned how I’ve been involved in several SharePoint projects for large, multinational corporations including Agilent Technologies and KPMG. I also mentioned how one of the sprints last year for my current project was dedicated to creating a Spanish version of a “Client Portal” based on Microsoft Office SharePoint…

0

Upgrading a Custom MOSS 2007 Solution to SharePoint Server 2010

In yesterday’s post, I provided a custom SharePoint Server 2010 solution based on Dan Cederholm’s sample site for the fictitious Tugboat Coffee company (from his book Handcrafted CSS : More Bulletproof Web Design). Since I had originally “ported” the Tugboat site to Microsoft Office SharePoint Server (MOSS) 2007, most of the effort in getting the…

0

Web Standards Design with SharePoint, Part 4

In part 2 of this series, I provided a sample Microsoft Office SharePoint Server (MOSS) 2007 solution based on Dan Cederholm’s Tugboat sample site (from his most recent book, Handcrafted CSS : More Bulletproof Web Design). Ever since then, I’ve been meaning to upgrade my sample to SharePoint Server 2010, but too many other priorities…

1