microsoft / SharePointDSC.Reverse

Extracts a Desired State Configuration Script from an existing SharePoint Farm
MIT License
40 stars 27 forks source link

ServiceInstances are not written to ConfigurationData #99

Open PowershellNinja opened 4 years ago

PowershellNinja commented 4 years ago

When creating a new Configuration NOT in Standalone and NOT with DynamicCompilation, ServiceInstances are not written to ConfigurationData.

This seems related to a typo on line 2059:

elseif ($servicesStatuses.Length -gt 0)

It should be $serviceStatuses, not $service[s]Statuses

elseif ($serviceStatuses.Length -gt 0)