Azure / GuestConfiguration

PowerShell module for creating, testing, and publishing custom Guest Configuration
MIT License
5 stars 2 forks source link

Unable to index into an object of type "System.Management.Automation.PSObject" #53

Closed DevSecNinja closed 4 years ago

DevSecNinja commented 4 years ago

Error message:

ForEach-Object: C:\Program Files\WindowsPowerShell\Modules\GuestConfiguration\1.19.0.0\GuestConfiguration.psm1:210:50
Line |
 210 |          $testResult.resources_in_desired_state | ForEach-Object {
     |                                                   ~~~~~~~~~~~~~~~~
     | Unable to index into an object of type "System.Management.Automation.PSObject".
mgreenegit commented 4 years ago

Thank you for this @Cloudenius. The prerelease version 1.19.3 currently in the gallery should address the bug. If you have time to validate, that would be wonderful. Thanks!

cc @nitinbps