Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Loop to create new arrays

$
0
0

Hello,

I am trying to create a new array for each file in a directory. The file quantity will be changing, so I cannot set a static amount of arrays. Within a loop, “$variable + $i” errors and various combinations fail as well. My Google Fu is failing me here. Is there a simple way to create new variables in this fashion?

submitted by /u/HappyLifeForMe
[link] [comments]

The post Loop to create new arrays appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Latest Images

Trending Articles



Latest Images