Skip to content

Commit 2ebcdd8

Browse files
Added ValidationSettings -> RoleProperties for SQLServer2012-2022, HyperV and FailoverNode. Added InstallLocation to ScomReporting
1 parent 420ccb8 commit 2ebcdd8

File tree

2 files changed

+165
-1
lines changed

2 files changed

+165
-1
lines changed

.vscode/settings.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,27 @@
33
"workbench.colorCustomizations": {
44
"editor.lineHighlightBackground": "#1073cf2d",
55
"editor.lineHighlightBorder": "#9fced11f"
6+
},
7+
"powershell.codeFormatting.autoCorrectAliases": false,
8+
"powershell.codeFormatting.useConstantStrings": false,
9+
"powershell.codeFormatting.useCorrectCasing": false,
10+
"powershell.codeFormatting.trimWhitespaceAroundPipe": false,
11+
"powershell.codeFormatting.ignoreOneLineBlock": true,
12+
"powershell.codeFormatting.pipelineIndentationStyle": "NoIndentation",
13+
"powershell.codeFormatting.preset": "Custom",
14+
"powershell.codeFormatting.openBraceOnSameLine": true,
15+
"powershell.codeFormatting.newLineAfterOpenBrace": true,
16+
"powershell.codeFormatting.newLineAfterCloseBrace": true,
17+
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
18+
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
19+
"powershell.codeFormatting.whitespaceAroundOperator": true,
20+
"powershell.codeFormatting.whitespaceAfterSeparator": true,
21+
"powershell.codeFormatting.whitespaceBetweenParameters": false,
22+
"powershell.codeFormatting.whitespaceInsideBrace": true,
23+
"powershell.codeFormatting.addWhitespaceAroundPipe": false,
24+
"[powershell]": {
25+
"files.trimTrailingWhitespace": false,
26+
"files.trimFinalNewlines": false,
27+
"files.insertFinalNewline": false
628
}
7-
}
29+
}

AutomatedLabCore/internal/scripts/Initialization.ps1

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ ECDSA_P384#Microsoft Smart Card Key Storage Provider =>'sha256','sha384','sha512
905905
'SendODRReports' = '[string] 0 or 1, indicated that reports should be sent. Defaults to 0'
906906
'UseMicrosoftUpdate' = '[string] 0 or 1, incicates that MS Update should be used. Defaults to 0'
907907
'AcceptEndUserLicenseAgreement' = '[string] Accept EULA. Defaults to 1. THERE IS NO POINT OF USING 0 IN A LAB'
908+
'InstallLocation' = '[string] Installation directory, defaults to C:\Program Files\Microsoft System Center\Operations Manager'
908909
}
909910
RemoteDesktopSessionHost = @{
910911
'CollectionName' = '[string] Name of the collection'
@@ -934,6 +935,147 @@ ECDSA_P384#Microsoft Smart Card Key Storage Provider =>'sha256','sha384','sha512
934935
'DatabaseName' = '[string] Name of the Database to use'
935936
'WsusContentPath' = '[string] WSUS content directory'
936937
'AdminUser' = '[string] Name of admin user'
938+
'ProductId' = '[string] Product Key'
939+
}
940+
FailoverNode = @{
941+
'ClusterName' = '[string] Name of the cluster the node should join.'
942+
'ClusterIP' = '[string] IP address of the cluster the node should join.'
943+
}
944+
HyperV = @{
945+
'MaximumStorageMigrations' = '[uint32] Maximum number of simultaneous storage migrations'
946+
'MaximumVirtualMachineMigrations' = '[uint32] Maximum number of simultaneous virtual machine migrations'
947+
'VirtualMachineMigrationAuthenticationType' = '[Microsoft.HyperV.PowerShell.MigrationAuthenticationType] Authentication type for virtual machine migration'
948+
'UseAnyNetworkForMigration' = '[bool] Indicates whether any network can be used for migration'
949+
'VirtualMachineMigrationPerformanceOption' = '[Microsoft.HyperV.PowerShell.VMMigrationPerformance] Performance option for virtual machine migration'
950+
'ResourceMeteringSaveInterval' = '[timespan] Resource metering save interval in seconds'
951+
'NumaSpanningEnabled' = '[bool] Indicates whether NUMA spanning is enabled'
952+
'EnableEnhancedSessionMode' = '[bool] Indicates whether enhanced session mode is enabled'
953+
}
954+
SQLServer2012 = @{
955+
'Features' = '[string[]] Features to install. Possible values: SQLENGINE, REPLICATION, FULLTEXT, RS, AS, IS, MDS, DQC, CONN, BC, SDK, TOOLS, OCS'
956+
'ConfigurationFile' = '[string] Path to the configuration file'
957+
'InstanceName' = '[string] Name of the SQL Server instance'
958+
'Collation' = '[string] SQL Server collation'
959+
'SQLSvcAccount' = '[string] SQL Server service account'
960+
'SQLSvcPassword' = '[string] SQL Server service account password'
961+
'AgtSvcAccount' = '[string] SQL Server Agent service account'
962+
'AgtSvcPassword' = '[string] SQL Server Agent service account password'
963+
'RsSvcAccount' = '[string] SQL Server Reporting Services account'
964+
'RsSvcPassword' = '[string] SQL Server Reporting Services account password'
965+
'AgtSvcStartupType' = '[string] SQL Server Agent startup type'
966+
'BrowserSvcStartupType' = '[string] SQL Server Browser startup type'
967+
'RsSvcStartupType' = '[string] SQL Server Reporting Services startup type'
968+
'AsSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
969+
'AsSvcAccount' = '[string] SQL Server Analysis Services account'
970+
'AsSvcPassword' = '[string] SQL Server Analysis Services account password'
971+
'IsSvcAccount' = '[string] SQL Server Integration Services account'
972+
'IsSvcPassword' = '[string] SQL Server Integration Services account password'
973+
'SQLSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
974+
}
975+
SQLServer2014 = @{
976+
'Features' = '[string[]] Features to install. Possible values: SQLENGINE, REPLICATION, FULLTEXT, RS, AS, IS, MDS, DQC, CONN, BC, SDK, TOOLS, OCS'
977+
'ConfigurationFile' = '[string] Path to the configuration file'
978+
'InstanceName' = '[string] Name of the SQL Server instance'
979+
'Collation' = '[string] SQL Server collation'
980+
'SQLSvcAccount' = '[string] SQL Server service account'
981+
'SQLSvcPassword' = '[string] SQL Server service account password'
982+
'AgtSvcAccount' = '[string] SQL Server Agent service account'
983+
'AgtSvcPassword' = '[string] SQL Server Agent service account password'
984+
'RsSvcAccount' = '[string] SQL Server Reporting Services account'
985+
'RsSvcPassword' = '[string] SQL Server Reporting Services account password'
986+
'AgtSvcStartupType' = '[string] SQL Server Agent startup type'
987+
'BrowserSvcStartupType' = '[string] SQL Server Browser startup type'
988+
'RsSvcStartupType' = '[string] SQL Server Reporting Services startup type'
989+
'AsSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
990+
'AsSvcAccount' = '[string] SQL Server Analysis Services account'
991+
'AsSvcPassword' = '[string] SQL Server Analysis Services account password'
992+
'IsSvcAccount' = '[string] SQL Server Integration Services account'
993+
'IsSvcPassword' = '[string] SQL Server Integration Services account password'
994+
'SQLSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
995+
}
996+
SQLServer2016 = @{
997+
'Features' = '[string[]] Features to install. Possible values: SQLENGINE, REPLICATION, FULLTEXT, RS, AS, IS, MDS, DQC, CONN, BC, SDK, TOOLS, OCS'
998+
'ConfigurationFile' = '[string] Path to the configuration file'
999+
'InstanceName' = '[string] Name of the SQL Server instance'
1000+
'Collation' = '[string] SQL Server collation'
1001+
'SQLSvcAccount' = '[string] SQL Server service account'
1002+
'SQLSvcPassword' = '[string] SQL Server service account password'
1003+
'AgtSvcAccount' = '[string] SQL Server Agent service account'
1004+
'AgtSvcPassword' = '[string] SQL Server Agent service account password'
1005+
'RsSvcAccount' = '[string] SQL Server Reporting Services account'
1006+
'RsSvcPassword' = '[string] SQL Server Reporting Services account password'
1007+
'AgtSvcStartupType' = '[string] SQL Server Agent startup type'
1008+
'BrowserSvcStartupType' = '[string] SQL Server Browser startup type'
1009+
'RsSvcStartupType' = '[string] SQL Server Reporting Services startup type'
1010+
'AsSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
1011+
'AsSvcAccount' = '[string] SQL Server Analysis Services account'
1012+
'AsSvcPassword' = '[string] SQL Server Analysis Services account password'
1013+
'IsSvcAccount' = '[string] SQL Server Integration Services account'
1014+
'IsSvcPassword' = '[string] SQL Server Integration Services account password'
1015+
'SQLSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
1016+
}
1017+
SQLServer2017 = @{
1018+
'Features' = '[string[]] Features to install. Possible values: SQLENGINE, REPLICATION, FULLTEXT, RS, AS, IS, MDS, DQC, CONN, BC, SDK, TOOLS, OCS'
1019+
'ConfigurationFile' = '[string] Path to the configuration file'
1020+
'InstanceName' = '[string] Name of the SQL Server instance'
1021+
'Collation' = '[string] SQL Server collation'
1022+
'SQLSvcAccount' = '[string] SQL Server service account'
1023+
'SQLSvcPassword' = '[string] SQL Server service account password'
1024+
'AgtSvcAccount' = '[string] SQL Server Agent service account'
1025+
'AgtSvcPassword' = '[string] SQL Server Agent service account password'
1026+
'RsSvcAccount' = '[string] SQL Server Reporting Services account'
1027+
'RsSvcPassword' = '[string] SQL Server Reporting Services account password'
1028+
'AgtSvcStartupType' = '[string] SQL Server Agent startup type'
1029+
'BrowserSvcStartupType' = '[string] SQL Server Browser startup type'
1030+
'RsSvcStartupType' = '[string] SQL Server Reporting Services startup type'
1031+
'AsSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
1032+
'AsSvcAccount' = '[string] SQL Server Analysis Services account'
1033+
'AsSvcPassword' = '[string] SQL Server Analysis Services account password'
1034+
'IsSvcAccount' = '[string] SQL Server Integration Services account'
1035+
'IsSvcPassword' = '[string] SQL Server Integration Services account password'
1036+
'SQLSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
1037+
}
1038+
SQLServer2019 = @{
1039+
'Features' = '[string[]] Features to install. Possible values: SQLENGINE, REPLICATION, FULLTEXT, RS, AS, IS, MDS, DQC, CONN, BC, SDK, TOOLS, OCS'
1040+
'ConfigurationFile' = '[string] Path to the configuration file'
1041+
'InstanceName' = '[string] Name of the SQL Server instance'
1042+
'Collation' = '[string] SQL Server collation'
1043+
'SQLSvcAccount' = '[string] SQL Server service account'
1044+
'SQLSvcPassword' = '[string] SQL Server service account password'
1045+
'AgtSvcAccount' = '[string] SQL Server Agent service account'
1046+
'AgtSvcPassword' = '[string] SQL Server Agent service account password'
1047+
'RsSvcAccount' = '[string] SQL Server Reporting Services account'
1048+
'RsSvcPassword' = '[string] SQL Server Reporting Services account password'
1049+
'AgtSvcStartupType' = '[string] SQL Server Agent startup type'
1050+
'BrowserSvcStartupType' = '[string] SQL Server Browser startup type'
1051+
'RsSvcStartupType' = '[string] SQL Server Reporting Services startup type'
1052+
'AsSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
1053+
'AsSvcAccount' = '[string] SQL Server Analysis Services account'
1054+
'AsSvcPassword' = '[string] SQL Server Analysis Services account password'
1055+
'IsSvcAccount' = '[string] SQL Server Integration Services account'
1056+
'IsSvcPassword' = '[string] SQL Server Integration Services account password'
1057+
'SQLSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
1058+
}
1059+
SQLServer2022 = @{
1060+
'Features' = '[string[]] Features to install. Possible values: SQLENGINE, REPLICATION, FULLTEXT, RS, AS, IS, MDS, DQC, CONN, BC, SDK, TOOLS, OCS'
1061+
'ConfigurationFile' = '[string] Path to the configuration file'
1062+
'InstanceName' = '[string] Name of the SQL Server instance'
1063+
'Collation' = '[string] SQL Server collation'
1064+
'SQLSvcAccount' = '[string] SQL Server service account'
1065+
'SQLSvcPassword' = '[string] SQL Server service account password'
1066+
'AgtSvcAccount' = '[string] SQL Server Agent service account'
1067+
'AgtSvcPassword' = '[string] SQL Server Agent service account password'
1068+
'RsSvcAccount' = '[string] SQL Server Reporting Services account'
1069+
'RsSvcPassword' = '[string] SQL Server Reporting Services account password'
1070+
'AgtSvcStartupType' = '[string] SQL Server Agent startup type'
1071+
'BrowserSvcStartupType' = '[string] SQL Server Browser startup type'
1072+
'RsSvcStartupType' = '[string] SQL Server Reporting Services startup type'
1073+
'AsSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
1074+
'AsSvcAccount' = '[string] SQL Server Analysis Services account'
1075+
'AsSvcPassword' = '[string] SQL Server Analysis Services account password'
1076+
'IsSvcAccount' = '[string] SQL Server Integration Services account'
1077+
'IsSvcPassword' = '[string] SQL Server Integration Services account password'
1078+
'SQLSysAdminAccounts' = '[string[]] SQL Server sysadmin accounts'
9371079
}
9381080
}
9391081
MandatoryRoleProperties = @{

0 commit comments

Comments
 (0)