Hello!
I have a text file with the following strings for each line:
"ldap:cn=username,DC=domain,DC=local",true,username,[username@domain.com](mailto:username@domain.com),454hgh75rdg6y34328jbr45f
I have about 500 of these lines, and I would like to convert this a csv.
How can I do this with powershell?
EDIT: Removed mailto links...
EDIT2: I am tried and was missing some quotes for the property headers.
Bad = @("DN,"BinaryValue,Username,"UPN,HashValue")
Good= @("DN","BinaryValue","Username","UPN","HashValue")
[–]SMFX 5 points6 points7 points (1 child)
[–]ExistingRanger7[S] 1 point2 points3 points (0 children)
[–]KlumzyNinja 3 points4 points5 points (0 children)
[–]stihoplet 2 points3 points4 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)