Scarpozzi
Lifer
I'm trying to teach myself powershell and have never used it for anything.
I have a large CSV file called people.txt that contains USERNAME,FIRST,MIDDLE,LAST,SUFFIX,IDNUMBER,ZIPCODE
I've been looking at Import-Csv, but don't know how to exclude or append data. Basically, what I want to do is use the information in this file to generate another file that contains the following:
USERNAME@company.com FIRST LAST
and repeats to the end of the file. (yeah...this is to generate a company email list)
I'm wanting to do this in powershell to get my feet wet because I'll be rewriting a lot of other scripts soon enough and have never taken a class on it. (if you have any good books, please give me suggestions)
Thanks,
I have a large CSV file called people.txt that contains USERNAME,FIRST,MIDDLE,LAST,SUFFIX,IDNUMBER,ZIPCODE
I've been looking at Import-Csv, but don't know how to exclude or append data. Basically, what I want to do is use the information in this file to generate another file that contains the following:
USERNAME@company.com FIRST LAST
and repeats to the end of the file. (yeah...this is to generate a company email list)
I'm wanting to do this in powershell to get my feet wet because I'll be rewriting a lot of other scripts soon enough and have never taken a class on it. (if you have any good books, please give me suggestions)
Thanks,