I'm currently moving my user base from an on-premise Exchange server to Exchange Online and need to setup a number of Transport Rules, for this purpose I'm using a CSV file. The CSV file has 3 fields, Property1, Property2 and Property3.
I have the New-TransportRule doing what I want using manual input, now I'd like to start using a CSV file to provide the values. Where I have a problem is I want to create a specific name made up from a field on the CSV and an entry I've entered in to the command.
The command I'm am using is; import-csv c:\my.csv | new-transportrule -name "$_."prop1" (Text...)" what I'm hoping to see is "Prop1 (Text...)", what I'm getting bares no resemblance. So how to I combine those two entries into the one name?