Monday, January 10, 2011

[MOSS2007] PowerShell Library - Delete MOSS User Profiles

At a customer we had some disabled accounts which were not imported in the profile database but did have an MOSS profile. For whatever reason SharePoint did not deleted these profiles. The customer wanted to delete these profiles without removing all profiles.

To achieve this goal, I have created a PowerShell script.
How to use it:

  1. Download the PowerShell script
  2. Open it in a text editor like Notepad
  3. Change the <url> into the URL of the web application you would like to check
  4. Run the script


Adnan Shamim said...

why is it labelled moss 2007 ? i need something similar for 2007

Adnan Shamim said...

how do i get something similar for moss 2007?

Yorick said...

Hi Adnan,

This script is for MOSS2007.