I need to create a new MMS for use with RecordPoint however current AutoSPInstaller will not allow more than 1 MMS created as the function CreateMetadataServiceApp checks on the SPServiceInstance type rather than the display name as such
> $metadataServiceInstances = Get-SPServiceInstance | ? {$_.GetType().ToString() -eq "Microsoft.SharePoint.Taxonomy.MetadataWebServiceInstance"}
> $metaDataServiceAppProxy = Get-SPServiceApplicationProxy | ? {$_.GetType().ToString() -eq "Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy"}
Changing it to the following solved my pain.
> $metadataServiceInstances = Get-SPServiceInstance | ? {$_.DisplayName -eq $metadataServiceName}
> $metaDataServiceAppProxy = Get-SPServiceApplicationProxy | ? {$_.DisplayName -eq $metadataServiceProxyName }
I was wondering can this flexibility be incorporated in AutoSPInstaller for the benefit of others who have similar requirement as mine?
> $metadataServiceInstances = Get-SPServiceInstance | ? {$_.GetType().ToString() -eq "Microsoft.SharePoint.Taxonomy.MetadataWebServiceInstance"}
> $metaDataServiceAppProxy = Get-SPServiceApplicationProxy | ? {$_.GetType().ToString() -eq "Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy"}
Changing it to the following solved my pain.
> $metadataServiceInstances = Get-SPServiceInstance | ? {$_.DisplayName -eq $metadataServiceName}
> $metaDataServiceAppProxy = Get-SPServiceApplicationProxy | ? {$_.DisplayName -eq $metadataServiceProxyName }
I was wondering can this flexibility be incorporated in AutoSPInstaller for the benefit of others who have similar requirement as mine?