阅读背景:

PSObject阵列数组返回Powershell读取单个项目/行

来源:互联网 

I am using one Function to call another and returning a PSObject array or multiple arrays (I think). The return after each looped object is a set of values. The data in $a in Function Test2 is below but it's count is 3, meaning three objects or arrays, one for each folder. This seems pretty normal and if I wrote it to a CSV for a report I would be fine, but I am looking to manipulate the data in each array. When I try to manipulate the data it's trying to manipulate the arrays and I can't search or use items in each row. I also don't know how many folders I have so the solution needs to be universal and expandable. I don't know how to gain access to each row in all the arrays easily. I am using one Function to call another and ret




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: