tooltime63
Vendor
I'm very new to VBScript but need to perform the following function. Extract certain values from one file & create new csv file. Source file content:
dn: CN=Ben,CN=Users,DC=AXSP2,DC=local
changetype: add
title: Engineer
department: Information System Division
userPrincipalName: ben@AXSP2.local
manager: CN=John,CN=Users,DC=AXSP2,DC=local
dn: CN=Brenda,CN=Users,DC=AXSP2,DC=local
changetype: add
title: Executive Director
department: Ofc of Admin Services
userPrincipalName: Brenda@AXSP2.local
manager: CN=Butch,CN=Users,DC=AXSP2,DC=local
New file format needed:
Ben,Information System Division,Engineer,John
Brenda,Ofc of Admin Services,Executive Director,Butch
dn: CN=Ben,CN=Users,DC=AXSP2,DC=local
changetype: add
title: Engineer
department: Information System Division
userPrincipalName: ben@AXSP2.local
manager: CN=John,CN=Users,DC=AXSP2,DC=local
dn: CN=Brenda,CN=Users,DC=AXSP2,DC=local
changetype: add
title: Executive Director
department: Ofc of Admin Services
userPrincipalName: Brenda@AXSP2.local
manager: CN=Butch,CN=Users,DC=AXSP2,DC=local
New file format needed:
Ben,Information System Division,Engineer,John
Brenda,Ofc of Admin Services,Executive Director,Butch