Build precise queries to find exactly what you need
Press ESC to close
@EricAiken
Favorites0
Views
Projects0
Looking forward to this plugin but getting some errors: Any thoughts? Running on win2k3 x64. I have a few print here statements trying to locate where the errors are coming from. c:Userseric.aikenDownloads>powershell -File check_smartarray.ps1 -t30 -c check_raid here0 Smart Array P410i in Slot 0 (Embedded) (sn: 5001438018A01EB0) array A (SAS, Unused Space: 0 MB) logicaldrive 1 (1.6 TB, RAID 5, OK) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 900.1 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 900.1 GB, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 900.1 GB, OK) SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 5001438018A01EBF) here1 Smart Array P410i in Slot 0 (Embedded) (sn: 5001438018A01EB0) array A (SAS, Unused Space: 0 MB) logicaldrive 1 (1.6 TB, RAID 5, OK) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 900.1 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 900.1 GB, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 900.1 GB, OK) SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 5001438018A01EBF) here2 Name Value ---- ----- Array 0 - lv System.Collections.DictionaryEntry Array 0 - pd {System.Collections.DictionaryEntry, System.Collections.DictionaryEntry, System.Collections.Dictiona... Cannot index into a null array. At C:Userseric.aikenDownloadscheck_smartarray.ps1:94 char:77 + return ($state | Select-String -Pattern "(?Id : MethodNotFound Method invocation failed because [System.Object[]] doesn't contain a method named 'ContainsKey'. At C:Userseric.aikenDownloadscheck_smartarray.ps1:190 char:25 + if ($errors.ContainsKey tain a method named 'ContainsKey'. At C:Userseric.aikenDownloadscheck_smartarray.ps1:190 char:25 + if ($errors.ContainsKey
Reviewed 12 years ago