Romoving LCS 2003 Attributes

Migrating from LCS to Lync is not possible without before going through all intermediate versions.
So one way is to start over. For that first we need to remove LCS attributes:

Here it is a simple script with Quest’s ActiveRoles Management Shell for Active Directory

$list = Get-QADUser -ObjectAttributes @{“msRTCSIP-PrimaryHomeServer”=’CN=RTC Services,CN=Microsoft,CN=LCS-Servers,CN=Computers,DC=example,DC=com’} -SearchRoot ‘example.com/Users’
foreach ($item in $list)
{
Set-QADUser $item -ObjectAttribute @{“msRTCSIP-PrimaryHomeServer”=$null}
Set-QADUser $item -ObjectAttribute @{“msRTCSIP-PrimaryUserAddress”=$null}
Set-QADUser $item -ObjectAttribute @{“msRTCSIP-UserEnabled”=$null}
Set-QADUser $item -ObjectAttribute @{“msRTCSIP-IsMaster”=$null}
}

Advertisement

About GustavoF

IT specialist
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s