I am trying to take multiple number input by user separated by comma and storing it into an array. After that trying to convert the value using convert CSV but not getting fruitful result. May be I am doing some conceptual mistakes. Can you please rectify me.
Read-Host takes the input and creates one big string. If you like to split this in seperate numbers you will have to do it by yourself. ConvertTo-CSV would need some type or header information to work properly. It’s more ConvertFrom-CSV what you’re trying to do …