Check it out: Out-vCard

PowerShell Team

Check out Dmitry Sotnikov’s blog Out-vCard: Exporting Outlook Address Book.

It lets you do things like:

Get-QADGroupMember DL.ProjectA | Out-vCard

To create a Vcard file for every member of a distribution list.

This made my day (and I was already having a great day!).

That said – this script BEGS to be rewritten using a HERE-STRING. If you haven’t already educated yourself on HERE-STRINGS – do yourself a favor and stop what you are doing and get these in focus. Using them makes your code faster, smaller, more maintainable, it even makes your teeth whiter.

Windows PowerShell Tip of the Week: Using Windows PowerShell “Here-Strings”

Variable expansion in strings and here-strings

Using PowerShell to Generate XML Documents (A great example of using here-strings)


Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at:
Visit the Windows PowerShell ScriptCenter at:


Discussion is closed.

Feedback usabilla icon