I
I
Ivan2017-10-23 11:34:34
PowerShell
Ivan, 2017-10-23 11:34:34

How to add two or more columns to an array?

I make a record: $result += $first.
It turns out an array with many rows, but how to make an entry in the first and second columns of the same row. Something like $result += $first, $second. But that doesn't work.
I don't think summing two arrays will be the way to go.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly, 2017-11-15
@Devagleo

$result = @{}
$result.first = 'ololo'
$result.second = 'nlo'
$result.first += 'ololo'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question