Skip to content

Commit 38a95a4

Browse files
Added ValidationSettings -> RoleProperties for SQLServer2012-2022, HyperV and FailoverNode. Added InstallLocation to ScomReporting
1 parent fc239ab commit 38a95a4

File tree

1 file changed

+142
-0
lines changed

1 file changed

+142
-0
lines changed

AutomatedLabCore/internal/scripts/Initialization.ps1

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
782782
'SendODRReports'
783783
'UseMicrosoftUpdate'
784784
'AcceptEndUserLicenseAgreement'
785+
'InstallLocation'
785786
)
786787
RemoteDesktopSessionHost = @(
787788
'CollectionName'
@@ -811,6 +812,147 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
811812
'DatabaseName'
812813
'WsusContentPath'
813814
'AdminUser'
815+
'ProductId'
816+
)
817+
FailoverNode = @(
818+
'ClusterName'
819+
'ClusterIP'
820+
)
821+
HyperV = @(
822+
'MaximumStorageMigrations'
823+
'MaximumVirtualMachineMigrations'
824+
'VirtualMachineMigrationAuthenticationType'
825+
'UseAnyNetworkForMigration'
826+
'VirtualMachineMigrationPerformanceOption'
827+
'ResourceMeteringSaveInterval'
828+
'NumaSpanningEnabled'
829+
'EnableEnhancedSessionMode'
830+
)
831+
SQLServer2012 = @(
832+
'Features'
833+
'ConfigurationFile'
834+
'InstanceName'
835+
'Collation'
836+
'SQLSvcAccount'
837+
'SQLSvcPassword'
838+
'AgtSvcAccount'
839+
'AgtSvcPassword'
840+
'RsSvcAccount'
841+
'RsSvcPassword'
842+
'AgtSvcStartupType'
843+
'BrowserSvcStartupType'
844+
'RsSvcStartupType'
845+
'AsSysAdminAccounts'
846+
'AsSvcAccount'
847+
'AsSvcPassword'
848+
'IsSvcAccount'
849+
'IsSvcPassword'
850+
'SQLSysAdminAccounts'
851+
)
852+
SQLServer2014 = @(
853+
'Features'
854+
'ConfigurationFile'
855+
'InstanceName'
856+
'Collation'
857+
'SQLSvcAccount'
858+
'SQLSvcPassword'
859+
'AgtSvcAccount'
860+
'AgtSvcPassword'
861+
'RsSvcAccount'
862+
'RsSvcPassword'
863+
'AgtSvcStartupType'
864+
'BrowserSvcStartupType'
865+
'RsSvcStartupType'
866+
'AsSysAdminAccounts'
867+
'AsSvcAccount'
868+
'AsSvcPassword'
869+
'IsSvcAccount'
870+
'IsSvcPassword'
871+
'SQLSysAdminAccounts'
872+
)
873+
SQLServer2016 = @(
874+
'Features'
875+
'ConfigurationFile'
876+
'InstanceName'
877+
'Collation'
878+
'SQLSvcAccount'
879+
'SQLSvcPassword'
880+
'AgtSvcAccount'
881+
'AgtSvcPassword'
882+
'RsSvcAccount'
883+
'RsSvcPassword'
884+
'AgtSvcStartupType'
885+
'BrowserSvcStartupType'
886+
'RsSvcStartupType'
887+
'AsSysAdminAccounts'
888+
'AsSvcAccount'
889+
'AsSvcPassword'
890+
'IsSvcAccount'
891+
'IsSvcPassword'
892+
'SQLSysAdminAccounts'
893+
)
894+
SQLServer2017 = @(
895+
'Features'
896+
'ConfigurationFile'
897+
'InstanceName'
898+
'Collation'
899+
'SQLSvcAccount'
900+
'SQLSvcPassword'
901+
'AgtSvcAccount'
902+
'AgtSvcPassword'
903+
'RsSvcAccount'
904+
'RsSvcPassword'
905+
'AgtSvcStartupType'
906+
'BrowserSvcStartupType'
907+
'RsSvcStartupType'
908+
'AsSysAdminAccounts'
909+
'AsSvcAccount'
910+
'AsSvcPassword'
911+
'IsSvcAccount'
912+
'IsSvcPassword'
913+
'SQLSysAdminAccounts'
914+
)
915+
SQLServer2019 = @(
916+
'Features'
917+
'ConfigurationFile'
918+
'InstanceName'
919+
'Collation'
920+
'SQLSvcAccount'
921+
'SQLSvcPassword'
922+
'AgtSvcAccount'
923+
'AgtSvcPassword'
924+
'RsSvcAccount'
925+
'RsSvcPassword'
926+
'AgtSvcStartupType'
927+
'BrowserSvcStartupType'
928+
'RsSvcStartupType'
929+
'AsSysAdminAccounts'
930+
'AsSvcAccount'
931+
'AsSvcPassword'
932+
'IsSvcAccount'
933+
'IsSvcPassword'
934+
'SQLSysAdminAccounts'
935+
)
936+
SQLServer2022 = @(
937+
'Features'
938+
'ConfigurationFile'
939+
'InstanceName'
940+
'Collation'
941+
'SQLSvcAccount'
942+
'SQLSvcPassword'
943+
'AgtSvcAccount'
944+
'AgtSvcPassword'
945+
'RsSvcAccount'
946+
'RsSvcPassword'
947+
'AgtSvcStartupType'
948+
'BrowserSvcStartupType'
949+
'RsSvcStartupType'
950+
'AsSysAdminAccounts'
951+
'AsSvcAccount'
952+
'AsSvcPassword'
953+
'IsSvcAccount'
954+
'IsSvcPassword'
955+
'SQLSysAdminAccounts'
814956
)
815957
}
816958
MandatoryRoleProperties = @{

0 commit comments

Comments
 (0)