@@ -107,11 +107,11 @@ def self.get_wmi_instance_info(version, instance_name)
107
107
def self . get_instance_features ( reg_root , instance_name )
108
108
instance_features = {
109
109
# also reg Replication/IsInstalled set to 1
110
- 'SQL_Replication_Core_Inst' => 'SQL Server Replication' ,
110
+ 'SQL_Replication_Core_Inst' => 'Replication' , # SQL Server Replication
111
111
# also WMI: SqlService WHERE SQLServiceType = 1 # MSSQLSERVER
112
- 'SQL_Engine_Core_Inst' => 'Database Engine Services' ,
113
- 'SQL_FullText_Adv' => 'Full-Text and Semantic Extractions for Search' ,
114
- 'SQL_DQ_Full' => 'Data Quality Services'
112
+ 'SQL_Engine_Core_Inst' => 'SQLEngine' , # Database Engine Services
113
+ 'SQL_FullText_Adv' => 'FullText' , # Full-Text and Semantic Extractions for Search
114
+ 'SQL_DQ_Full' => 'DQ' , # Data Quality Services
115
115
}
116
116
117
117
feat_root = "#{ reg_root } \\ ConfigurationState"
@@ -121,9 +121,9 @@ def self.get_instance_features(reg_root, instance_name)
121
121
# WMI equivalents require trickier name parsing
122
122
parent_subkey_features = {
123
123
# also WMI: SqlService WHERE SQLServiceType = 5 # MSSQLServerOLAPService
124
- 'OLAP' => 'Analysis Services' ,
124
+ 'OLAP' => 'AS' , # Analysis Services,
125
125
# also WMI: SqlService WHERE SQLServiceType = 6 # ReportServer
126
- 'RS' => 'Reporting Services - Native'
126
+ 'RS' => 'RS' # Reporting Services - Native
127
127
}
128
128
129
129
# instance features found in non-parented reg keys
@@ -135,14 +135,14 @@ def self.get_instance_features(reg_root, instance_name)
135
135
136
136
def self . get_shared_features ( version )
137
137
shared_features = {
138
- 'Connectivity_Full' => 'Client Tools Connectivity' ,
139
- 'SDK_Full' => 'Client Tools SDK' ,
140
- 'MDSCoreFeature' => 'Master Data Services' ,
141
- 'Tools_Legacy_Full' => 'Client Tools Backwards Compatibility' ,
142
- 'SQL_SSMS_Full' => 'Management Tools - Complete' ,
143
- 'SQL_SSMS_Adv' => 'Management Tools - Basic' , # also SQL_PowerShell_Tools_ANS
138
+ 'Connectivity_Full' => 'Conn' , # Client Tools Connectivity
139
+ 'SDK_Full' => 'SDK' , # Client Tools SDK
140
+ 'MDSCoreFeature' => 'MDS' , # Master Data Services
141
+ 'Tools_Legacy_Full' => 'BC' , # Client Tools Backwards Compatibility
142
+ 'SQL_SSMS_Full' => 'ADV_SSMS' , # Management Tools - Complete
143
+ 'SQL_SSMS_Adv' => 'SSMS' , # Management Tools - Basic
144
144
# also WMI: SqlService WHERE SQLServiceType = 4 # MsDtsServer
145
- 'SQL_DTS_Full' => 'Integration Services'
145
+ 'SQL_DTS_Full' => 'IS' , # Integration Services
146
146
# currently ignoring Reporting Services Shared
147
147
}
148
148
@@ -165,12 +165,12 @@ def self.get_shared_features(version)
165
165
# "version" => "12.0.2000.8",
166
166
# "reg_root" => "Software\\Microsoft\\Microsoft SQL Server\\MSSQL12.MSSQLSERVER",
167
167
# "features" => [
168
- # "SQL Server Replication",
169
- # "Database Engine Services ",
170
- # "Full-Text and Semantic Extractions for Search ",
171
- # "Data Quality Services ",
172
- # "Analysis Services ",
173
- # "Reporting Services - Native "
168
+ # "Replication",
169
+ # "SQLEngine ",
170
+ # "FullText ",
171
+ # "DQ ",
172
+ # "AS ",
173
+ # "RS "
174
174
# ]
175
175
# }
176
176
# }
@@ -207,13 +207,13 @@ def self.get_features
207
207
# "version_friendly" => "SQL_2014",
208
208
# "version" => "12.0.2000.8",
209
209
# "reg_root" => "Software\\Microsoft\\Microsoft SQL Server\\MSSQL12.MSSQLSERVER2",
210
- # "features" => [
211
- # "SQLServer Replication",
212
- # "Database Engine Services ",
213
- # "Full-Text and Semantic Extractions for Search ",
214
- # "Data Quality Services ",
215
- # "Analysis Services ",
216
- # "Reporting Services - Native "
210
+ # "features" =>[
211
+ # "Replication",
212
+ # "SQLEngine ",
213
+ # "FullText ",
214
+ # "DQ ",
215
+ # "AS ",
216
+ # "RS "
217
217
# ]
218
218
# }
219
219
def self . get_instance_info ( version = SQL_2014 , instance_name )
0 commit comments