You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#3369Fixes#3370
Issue 3369 Patch images version 1.0.2.15 with an updated installer
Add awareness of Windows 11 23H2
Patch images version 1.0.2.15 with an updated prompt.ps1, which loads
PowerShell 7 modules when running pwsh
Add new setting usePwshForBC24, which is default true to instruct
Invoke-ScriptInBcContainer to use pwsh (PS7) instead of powershell (PS5)
when invoking scripts in BC 24+ containers
Add parameter usePwsh to Open-BcContainer and
Invoke-ScriptInBcContainer, defaulted to the value of the usePwshForBC24
setting
---------
Co-authored-by: freddydk <[email protected]>
Copy file name to clipboardexpand all lines: ContainerHandling/New-NavContainer.ps1
+9-2
Original file line number
Diff line number
Diff line change
@@ -426,7 +426,10 @@ try {
426
426
427
427
$isServerHost=$os.ProductType-eq3
428
428
429
-
if ($os.BuildNumber-eq22621) {
429
+
if ($os.BuildNumber-eq22631) {
430
+
$hostOs="23H2"
431
+
}
432
+
elseif ($os.BuildNumber-eq22621) {
430
433
$hostOs="22H2"
431
434
}
432
435
elseif ($os.BuildNumber-eq22000) {
@@ -1332,7 +1335,7 @@ try {
1332
1335
Write-Host-ForegroundColor Yellow "WARNING: Using process isolation on Windows Desktop OS with generic image version prior to 1.0.2.4 or NAV/BC versions prior to 15.0, might require you to use HyperV isolation or disable Windows Defender while creating the container"
1333
1336
}
1334
1337
1335
-
if ($isolation-eq"process"-and!$isServerHost-and$os.BuildNumber-eq22621-and$useSSL) {
1338
+
if ($isolation-eq"process"-and!$isServerHost-and($os.BuildNumber-eq22621-or$os.BuildNumber-eq22631)-and$useSSL) {
1336
1339
Write-Host-ForegroundColor Red "WARNING: Using SSL when running Windows 11 with process isolation might not work due to a bug in Windows 11. Please use HyperV isolation or disable SSL."
1337
1340
}
1338
1341
@@ -1754,6 +1757,10 @@ if (Test-Path "c:\run\my\powershell-7.4.1-win-x64.msi") { Write-Host "Installing
Issue 3371 Unable to get companyname from Windows Users when running tests
11
11
Disallow invoking Run-ALPipeline with `keepContainer` without specifying credentials to use
12
+
Issue 3369 Patch images version 1.0.2.15 with an updated installer
13
+
Add awareness of Windows 11 23H2
14
+
Patch images version 1.0.2.15 with an updated prompt.ps1, which loads PowerShell 7 modules when running pwsh
15
+
Add new setting usePwshForBC24, which is default true to instruct Invoke-ScriptInBcContainer to use pwsh (PS7) instead of powershell (PS5) when invoking scripts in BC 24+ containers
16
+
Add parameter usePwsh to Open-BcContainer and Invoke-ScriptInBcContainer, defaulted to the value of the usePwshForBC24 setting
12
17
13
18
6.0.6
14
19
Include Microsoft_Business Foundation Test Libraries.app when importing test libraries (and tests)
0 commit comments