57
57
}
58
58
59
59
$usedRelease = (Split-Path - Leaf - Path $PSScriptRoot ) -as [version ]
60
- $currentRelease = try {((Invoke-RestMethod - Method Get - Uri https:// api.github.com / repos/ AutomatedLab/ AutomatedLab/ releases/ latest - ErrorAction Stop).tag_Name -replace ' v' ) -as [Version ] } catch {}
60
+ $currentRelease = try { ((Invoke-RestMethod - Method Get - Uri https:// api.github.com / repos/ AutomatedLab/ AutomatedLab/ releases/ latest - ErrorAction Stop).tag_Name -replace ' v' ) -as [Version ] } catch {}
61
61
62
62
if ($currentRelease -and $usedRelease -lt $currentRelease )
63
63
{
@@ -300,15 +300,15 @@ Set-PSFConfig -Module AutomatedLab -Name SharePoint2016Prerequisites -Value @(
300
300
) - Initialize - Description ' List of prerequisite urls for SP2013' - Validation stringarray
301
301
302
302
Set-PSFConfig - Module AutomatedLab - Name SharePoint2019Prerequisites - Value @ (
303
- " https://download.microsoft.com/download/B/E/D/BED73AAC-3C8A-43F5-AF4F-EB4FEA6C8F3A /ENU/x64/sqlncli.msi" ,
304
- " https://download.microsoft.com/download/3/C/F/3CF781F5-7D29-4035-9265-C34FF2369FA2/setup_msipc_x64.exe" ,
305
- " https://download.microsoft.com/download/B/9/D/B9D6E014-C949-4A1E-BA6B-2E0DEBA23E54/SyncSetup_en.x64.zip " ,
306
- " https://download.microsoft.com/download/1/C/A/1CAA41C7-88B9-42D6-9E11-3C655656DAB1/WcfDataServices.exe" ,
307
- " https://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/rtm/MicrosoftIdentityExtensions-64.msi" ,
308
- " https://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/WindowsServerAppFabricSetup_x64.exe" ,
309
- " https://download.microsoft.com/download/F/1/0/F1093AF6-E797-4CA8-A9F6-FC50024B385C/AppFabric-KB3092423-x64-ENU.exe" ,
310
- ' https://download.microsoft.com/download/5/7/2/57249A3A-19D6-4901-ACCE-80924ABEB267/ENU/x64/msodbcsql.msi'
311
- ' https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530 -x86-x64-AllOS-ENU .exe'
303
+ ' https://download.microsoft.com/download/F/3/C/F3C64941-22A0-47E9-BC9B-1A19B4CA3E88 /ENU/x64/sqlncli.msi' ,
304
+ ' https://download.microsoft.com/download/3/C/F/3CF781F5-7D29-4035-9265-C34FF2369FA2/setup_msipc_x64.exe' ,
305
+ ' https://download.microsoft.com/download/E/0/0/E0060D8F-2354-4871-9596-DC78538799CC/Synchronization.msi ' ,
306
+ ' https://download.microsoft.com/download/1/C/A/1CAA41C7-88B9-42D6-9E11-3C655656DAB1/WcfDataServices.exe' ,
307
+ ' https://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/rtm/MicrosoftIdentityExtensions-64.msi' ,
308
+ ' https://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/WindowsServerAppFabricSetup_x64.exe' ,
309
+ ' https://download.microsoft.com/download/F/1/0/F1093AF6-E797-4CA8-A9F6-FC50024B385C/AppFabric-KB3092423-x64-ENU.exe' ,
310
+ ' https://download.microsoft.com/download/5/7/2/57249A3A-19D6-4901-ACCE-80924ABEB267/ENU/x64/msodbcsql.msi' ,
311
+ ' https://download.visualstudio. microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/089f837de42708daacaae7c04b7494db/ndp472-kb4054530 -x86-x64-allos-enu .exe'
312
312
) - Initialize - Description ' List of prerequisite urls for SP2013' - Validation stringarray
313
313
314
314
# Dynamics 365 CRM
@@ -336,13 +336,13 @@ Set-PSFConfig -Module AutomatedLab -Name ConfigurationManagerUrl2103TP -Value "h
336
336
# Validation
337
337
Set-PSFConfig - Module AutomatedLab - Name ValidationSettings - Value @ {
338
338
ValidRoleProperties = @ {
339
- Orchestrator2012 = @ (
339
+ Orchestrator2012 = @ (
340
340
' DatabaseServer'
341
341
' DatabaseName'
342
342
' ServiceAccount'
343
343
' ServiceAccountPassword'
344
344
)
345
- DC = @ (
345
+ DC = @ (
346
346
' IsReadOnly'
347
347
' SiteName'
348
348
' SiteSubnet'
@@ -351,7 +351,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
351
351
' SysvolPath'
352
352
' DsrmPassword'
353
353
)
354
- CaSubordinate = @ (
354
+ CaSubordinate = @ (
355
355
' ParentCA'
356
356
' ParentCALogicalName'
357
357
' CACommonName'
@@ -392,14 +392,14 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
392
392
' OCSPHTTPURL02'
393
393
' DoNotLoadDefaultTemplates'
394
394
)
395
- Office2016 = ' SharedComputerLicensing'
396
- DSCPullServer = @ (
395
+ Office2016 = ' SharedComputerLicensing'
396
+ DSCPullServer = @ (
397
397
' DoNotPushLocalModules'
398
398
' DatabaseEngine'
399
399
' SqlServer'
400
400
' DatabaseName'
401
401
)
402
- FirstChildDC = @ (
402
+ FirstChildDC = @ (
403
403
' ParentDomain'
404
404
' NewDomain'
405
405
' DomainFunctionalLevel'
@@ -411,12 +411,12 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
411
411
' SysvolPath'
412
412
' DsrmPassword'
413
413
)
414
- ADFS = @ (
414
+ ADFS = @ (
415
415
' DisplayName'
416
416
' ServiceName'
417
417
' ServicePassword'
418
418
)
419
- RootDC = @ (
419
+ RootDC = @ (
420
420
' DomainFunctionalLevel'
421
421
' ForestFunctionalLevel'
422
422
' SiteName'
@@ -427,7 +427,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
427
427
' SysvolPath'
428
428
' DsrmPassword'
429
429
)
430
- CaRoot = @ (
430
+ CaRoot = @ (
431
431
' CACommonName'
432
432
' CAType'
433
433
' KeyLength'
@@ -466,20 +466,20 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
466
466
' OCSPHTTPURL02'
467
467
' DoNotLoadDefaultTemplates'
468
468
)
469
- Tfs2015 = @ (' Port' , ' InitialCollection' , ' DbServer' )
470
- Tfs2017 = @ (' Port' , ' InitialCollection' , ' DbServer' )
471
- Tfs2018 = @ (' Port' , ' InitialCollection' , ' DbServer' )
472
- AzDevOps = @ (' Port' , ' InitialCollection' , ' DbServer' , ' PAT' , ' Organisation' )
473
- TfsBuildWorker = @ (
469
+ Tfs2015 = @ (' Port' , ' InitialCollection' , ' DbServer' )
470
+ Tfs2017 = @ (' Port' , ' InitialCollection' , ' DbServer' )
471
+ Tfs2018 = @ (' Port' , ' InitialCollection' , ' DbServer' )
472
+ AzDevOps = @ (' Port' , ' InitialCollection' , ' DbServer' , ' PAT' , ' Organisation' )
473
+ TfsBuildWorker = @ (
474
474
' NumberOfBuildWorkers'
475
475
' TfsServer'
476
476
' AgentPool'
477
477
' PAT'
478
478
' Organisation'
479
479
' Capabilities'
480
480
)
481
- WindowsAdminCenter = @ (' Port' , ' EnableDevMode' , ' ConnectedNode' , ' UseSsl' )
482
- Scvmm2016 = @ (
481
+ WindowsAdminCenter = @ (' Port' , ' EnableDevMode' , ' ConnectedNode' , ' UseSsl' )
482
+ Scvmm2016 = @ (
483
483
' MUOptIn'
484
484
' SqlMachineName'
485
485
' LibraryShareDescription'
@@ -507,7 +507,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
507
507
' ConnectHyperVRoleVms'
508
508
' ConnectClusters'
509
509
)
510
- Scvmm2019 = @ (
510
+ Scvmm2019 = @ (
511
511
' MUOptIn'
512
512
' SqlMachineName'
513
513
' LibraryShareDescription'
@@ -535,7 +535,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
535
535
' ConnectHyperVRoleVms'
536
536
' ConnectClusters'
537
537
)
538
- DynamicsFull = @ (
538
+ DynamicsFull = @ (
539
539
' SqlServer' ,
540
540
' ReportingUrl' ,
541
541
' OrganizationCollation' ,
@@ -564,7 +564,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
564
564
' PrivReportingGroup'
565
565
' LicenseKey'
566
566
)
567
- DynamicsFrontend = @ (
567
+ DynamicsFrontend = @ (
568
568
' SqlServer' ,
569
569
' ReportingUrl' ,
570
570
' OrganizationCollation' ,
@@ -593,7 +593,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
593
593
' PrivReportingGroup'
594
594
' LicenseKey'
595
595
)
596
- DynamicsBackend = @ (
596
+ DynamicsBackend = @ (
597
597
' SqlServer' ,
598
598
' ReportingUrl' ,
599
599
' OrganizationCollation' ,
@@ -622,7 +622,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
622
622
' PrivReportingGroup'
623
623
' LicenseKey'
624
624
)
625
- DynamicsAdmin = @ (
625
+ DynamicsAdmin = @ (
626
626
' SqlServer' ,
627
627
' ReportingUrl' ,
628
628
' OrganizationCollation' ,
@@ -651,7 +651,7 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
651
651
' PrivReportingGroup'
652
652
' LicenseKey'
653
653
)
654
- ScomManagement = @ (
654
+ ScomManagement = @ (
655
655
' ManagementGroupName'
656
656
' SqlServerInstance'
657
657
' SqlInstancePort'
@@ -674,25 +674,25 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
674
674
' AcceptEndUserLicenseAgreement'
675
675
' ProductKey'
676
676
)
677
-
678
- ScomConsole = @ (
677
+
678
+ ScomConsole = @ (
679
679
' EnableErrorReporting'
680
680
' InstallLocation'
681
681
' SendCEIPReports'
682
682
' UseMicrosoftUpdate'
683
683
' AcceptEndUserLicenseAgreement'
684
684
)
685
-
686
- ScomWebConsole = @ (
685
+
686
+ ScomWebConsole = @ (
687
687
' ManagementServer'
688
688
' WebSiteName'
689
689
' WebConsoleAuthorizationMode'
690
690
' SendCEIPReports'
691
691
' UseMicrosoftUpdate'
692
692
' AcceptEndUserLicenseAgreement'
693
693
)
694
-
695
- ScomReporting = @ (
694
+
695
+ ScomReporting = @ (
696
696
' ManagementServer'
697
697
' SRSInstance'
698
698
' DataReaderUser'
@@ -709,17 +709,17 @@ Set-PSFConfig -Module AutomatedLab -Name ValidationSettings -Value @{
709
709
' GrantAdministrativePrivilege'
710
710
' PooledUnmanaged'
711
711
)
712
- RemoteDesktopGateway = @ (
712
+ RemoteDesktopGateway = @ (
713
713
' GatewayExternalFqdn'
714
714
' BypassLocal'
715
715
' LogonMethod'
716
716
' UseCachedCredentials'
717
717
' GatewayMode'
718
718
)
719
- RemoteDesktopLicensing = @ (
719
+ RemoteDesktopLicensing = @ (
720
720
' Mode'
721
721
)
722
- ConfigurationManager = @ (
722
+ ConfigurationManager = @ (
723
723
' Version'
724
724
' Branch'
725
725
' Roles'
@@ -810,11 +810,11 @@ Register-PSFTeppScriptblock -Name 'AutomatedLab-TimeZone' -ScriptBlock {
810
810
}
811
811
812
812
Register-PSFTeppScriptblock - Name ' AutomatedLab-RhelPackage' - ScriptBlock {
813
- (Get-LabAvailableOperatingSystem - UseOnlyCache - ErrorAction SilentlyContinue | Where-Object {$_.OperatingSystemType -eq ' Linux' -and $_.LinuxType -eq ' RedHat' } | Sort-Object Version | Select-Object - Last 1 ).LinuxPackageGroup
813
+ (Get-LabAvailableOperatingSystem - UseOnlyCache - ErrorAction SilentlyContinue | Where-Object { $_.OperatingSystemType -eq ' Linux' -and $_.LinuxType -eq ' RedHat' } | Sort-Object Version | Select-Object - Last 1 ).LinuxPackageGroup
814
814
}
815
815
816
816
Register-PSFTeppScriptblock - Name ' AutomatedLab-SusePackage' - ScriptBlock {
817
- (Get-LabAvailableOperatingSystem - UseOnlyCache - ErrorAction SilentlyContinue | Where-Object {$_.OperatingSystemType -eq ' Linux' -and $_.LinuxType -eq ' SuSE' } | Sort-Object Version | Select-Object - Last 1 ).LinuxPackageGroup
817
+ (Get-LabAvailableOperatingSystem - UseOnlyCache - ErrorAction SilentlyContinue | Where-Object { $_.OperatingSystemType -eq ' Linux' -and $_.LinuxType -eq ' SuSE' } | Sort-Object Version | Select-Object - Last 1 ).LinuxPackageGroup
818
818
}
819
819
820
820
Register-PSFTeppArgumentCompleter - Command Add-LabMachineDefinition - Parameter Roles - Name ' AutomatedLab-Roles'
0 commit comments