Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
xSQLServerRole: Returns an error when calling Get-DscConfiguration #790
xSQLServerRole DscRessource returns an error when running Get-DscConfiguration
Get-DscConfiguration : GetConfiguration did not succeed.
Event Log give some more details
Message Unable to cast object of type 'System.String' to type 'System.Collections.IList'.
Implicitly casting Return Value to a String Array fixes this issue, but there's probably a better way to do this.
Does this only happen when there is only one member in the group? If so, then
If so it should suffice to make sure this line always cast to a