Hi guys/gals,
Currently, I have a CSV that looks something like this:
VMName,Note
VM1, Owner: John Description: File/Print
VM2, Owner: Bill Description: Database
Using the following command works, but I'm only able to add Note as 1 continuous line.
Import-Csv"C:\ChangeNotes.csv" | % { Set-VM$_.VMName -Description$_.Note -Confirm:$false}
My question is, I would like to separate the Note string into 2 Lines.
ie:
Notes:
Owner: John
Description: File/Print
How can I achieve this? Any help would be greatly appreciated. Thanks.