The Road to CCNP Voice

So it’s been a while I’ll admit. Things have changed I have a new job with more focus VoIP / UC. In fact it’s my task to cut over multiple CUCM clusters to 8.6 and along the way ditch Cisco Unity in favor of Microsoft Exchange 2010 UM.

So during this journey I plan to make some postings of useful tips I run across and also while I study for CCNP Voice I will use the blog to help myself retain some information.

That being said. PowerShell is pretty cool, never thought I’d say that but I’ve run across some useful commands to help me extract data from the AD side of the house to compare against Unity.

If you’re in our boat you have Lync but your AD forest is still old. That being said PowerShell against AD is then off limits. Unless you cheat and use Lync to get the information for you.

Export list of Users from Lync

Import-Module Lync
Get-CsAdUser -OU “ou=Users,ou=Location,dc=blah,dc=domain,dc=com” | Select-Object SamAccountName,FirstName,LastName,Phone | Out-File C:UserspersonDesktopusers.txt

What that lovely  command above will do is, extract all the users from the OU in a nice Tab separated file on the desktop with the following fields: Account Name, First Name, Last Name, Primary Phone Number.

Stay tuned for more details as I lose my mind during the migration and cram some CCNP Voice knowledge in. First up is the CVoice book.

Permanent link to this article:

Leave a Reply