{"id":7081,"date":"2007-11-07T16:51:51","date_gmt":"2007-11-07T16:51:51","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2007\/11\/07\/check-it-out-out-vcard\/"},"modified":"2019-02-18T13:16:26","modified_gmt":"2019-02-18T20:16:26","slug":"check-it-out-out-vcard","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/check-it-out-out-vcard\/","title":{"rendered":"Check it out: Out-vCard"},"content":{"rendered":"<p>Check out Dmitry Sotnikov&#8217;s blog  <a href=\"http:\/\/dmitrysotnikov.wordpress.com\/2007\/11\/07\/out-vcard-exporting-outlook-address-book\/\">Out-vCard: Exporting Outlook Address Book<\/a>.\n<\/p>\n<p>It lets you do things like:\n<\/p>\n<p style=\"text-align: justify;background: white;margin-left: 22pt\"><span style=\"color:#333333\"><span style=\"font-family:Courier New;font-size:10pt\">Get-QADGroupMember DL.ProjectA | Out-vCard<\/span><span style=\"font-family:Verdana;font-size:9pt\">\n\t\t\t<\/span><\/span><\/p>\n<p>To create a Vcard file for every member of a distribution list.\n<\/p>\n<p>This made my day (and I was already having a great day!).\n<\/p>\n<p>That said \u2013 this script BEGS to be rewritten using a HERE-STRING.  If you haven&#8217;t already educated yourself on HERE-STRINGS \u2013 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.\n<\/p>\n<p><a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/resources\/pstips\/jun07\/pstip0629.mspx\">Windows PowerShell Tip of the Week:  Using Windows PowerShell &#8220;Here-Strings&#8221;<\/a>\n\t<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/powershell\/archive\/2006\/07\/15\/Variable-expansion-in-strings-and-herestrings.aspx\">Variable expansion in strings and here-strings<\/a>\n\t<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/powershell\/archive\/2007\/05\/29\/using-powershell-to-generate-xml-documents.aspx\">Using PowerShell to Generate XML Documents<\/a>  (A great example of using here-strings)\n<\/p>\n<p>\n\u00a0<\/p>\n<p>Jeffrey Snover [MSFT]<br \/>Windows Management Partner Architect<br \/>Visit the Windows PowerShell Team blog at:    <a href=\"http:\/\/blogs.msdn.com\/PowerShell\">http:\/\/blogs.msdn.com\/PowerShell<\/a><br \/>Visit the Windows PowerShell ScriptCenter at:  <a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx\">http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx<\/a>\n\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check out Dmitry Sotnikov&#8217;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 \u2013 this script BEGS to be rewritten using a [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7081","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell"],"acf":[],"blog_post_summary":"<p>Check out Dmitry Sotnikov&#8217;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 \u2013 this script BEGS to be rewritten using a [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/7081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=7081"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/7081\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=7081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=7081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=7081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}