I’m making a new Powershell inventory script. I already have one, but I’m fiddling with the arrays to see if I can make the code a little prettier. I can make variables that have custom members with ...
Working in PowerShell you will have undoubtedly dealt with arrays in one fashion or another. Sometimes you may not have even realized that you had an array when you call out a cmdlet such as ...
and in that loop, I am creating child elements and assigning different attributes to them. For one, I am using different numbers, depending on where I click, but the result is: I always get the last ...