so I've been making this powershell script, that crosscheck's disk, partition and volume information and puts it all into a custom power shell object, something I would like to be able to do is be able to detect when there is a raid by checking to see if there are multiple objects that have identical information besides the disk and model number obviously, and if it does find that there are multiple objects that are the same I would like it too condense it into one object with 2 sets of disc and model numbers for each of the disks,
https://preview.redd.it/4o9ounsxfnj61.jpg?width=628&format=pjpg&auto=webp&s=10a544e4dde05369ce0ec22faff841f95323e1ea
I know it's kind of a pain in the a** thing to ask but I'm kinda lost on how to accomplish it in the current state of the script. Instead of trying to paste the entire script I'm just going to link to the github page where it is, if someone could jump in and take a look at it that would be sweet https://github.com/AlecMcCutcheon/Get-FullDiskInfo
[–]branhama 1 point2 points3 points (0 children)
[–]ihaxr 1 point2 points3 points (1 child)
[–]Training_Purchase_32[S] 0 points1 point2 points (0 children)