Comments (6)

  1. Thank you for this usefull post.
    However, I would suggest an improvement to your code.
    The default delimiter (a comma) of the Export-CSV cmdlet is in this case a bit tricky to handle because Distinguished Names also contains commas as separators.
    The -Delimiter ‘;’ parameter fixes this problem and Excel converts directly text to columns at the opening of the document.

    1. Chad Cox says:

      I usually don’t have problems with excel not putting DN’s into a single column.

  2. John says:

    comment” OR “1”=”0

  3. John says:

    comment’ OR 1=0 #

Skip to main content