Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
183 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...moteDocker/waldocorevm/SetupNavServer.ps1 → ...moteDocker/waldocorevm/SetupBCCurrent.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...oteDocker/waldocorevm/SetupDevPreview.ps1 → ...RemoteDocker/waldocorevm/SetupBCDaily.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
PSScripts/NAV Docker/RemoteDocker/waldocorevm/SetupBCNext.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
. (Join-Path $PSScriptRoot '.\_Settings.ps1') | ||
|
||
$Containername = 'bcnext' | ||
$ContainerAdditionalParameters += "--ip 172.21.31.15" | ||
|
||
$ContainerDockerImage = 'bcinsider.azurecr.io/bcsandbox:base' | ||
$ContainerAlwaysPull = $true | ||
$enableSymbolLoading = $false | ||
#$SecretSettings.containerLicenseFile = 'c:\programdata\navcontainerhelper\NAV2018License.flf' | ||
|
||
|
||
New-RDHNAVContainer ` | ||
-DockerHost $DockerHost ` | ||
-DockerHostCredentials $DockerHostCredentials ` | ||
-DockerHostUseSSL:$DockerHostUseSSL ` | ||
-DockerHostSessionOption $DockerHostSessionOption ` | ||
-ContainerDockerImage $ContainerDockerImage ` | ||
-ContainerRegistryUserName $SecretSettings.containerRegistryUserName ` | ||
-ContainerRegistryPwd $SecretSettings.containerRegistryPassword ` | ||
-ContainerName $Containername ` | ||
-ContainerLicenseFile $SecretSettings.containerLicenseFile ` | ||
-ContainerCredential $ContainerCredential ` | ||
-ContainerAlwaysPull:$ContainerAlwaysPull ` | ||
-ContainerAdditionalParameters $ContainerAdditionalParameters ` | ||
-doNotExportObjectsToText ` | ||
-enableSymbolLoading:$enableSymbolLoading | ||
|
27 changes: 27 additions & 0 deletions
27
PSScripts/NAV Docker/RemoteDocker/waldocorevm/SetupBCOnPrem.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
. (Join-Path $PSScriptRoot '.\_Settings.ps1') | ||
|
||
$Containername = 'bconprem' | ||
$ContainerAdditionalParameters += "--ip 172.21.31.14" | ||
|
||
$ContainerDockerImage = 'mcr.microsoft.com/businesscentral/onprem' | ||
$ContainerAlwaysPull = $true | ||
$enableSymbolLoading = $false | ||
#$SecretSettings.containerLicenseFile = 'c:\programdata\navcontainerhelper\NAV2018License.flf' | ||
|
||
|
||
New-RDHNAVContainer ` | ||
-DockerHost $DockerHost ` | ||
-DockerHostCredentials $DockerHostCredentials ` | ||
-DockerHostUseSSL:$DockerHostUseSSL ` | ||
-DockerHostSessionOption $DockerHostSessionOption ` | ||
-ContainerDockerImage $ContainerDockerImage ` | ||
-ContainerRegistryUserName $SecretSettings.containerRegistryUserName ` | ||
-ContainerRegistryPwd $SecretSettings.containerRegistryPassword ` | ||
-ContainerName $Containername ` | ||
-ContainerLicenseFile $SecretSettings.containerLicenseFile ` | ||
-ContainerCredential $ContainerCredential ` | ||
-ContainerAlwaysPull:$ContainerAlwaysPull ` | ||
-ContainerAdditionalParameters $ContainerAdditionalParameters ` | ||
-doNotExportObjectsToText ` | ||
-enableSymbolLoading:$enableSymbolLoading | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
PSScripts/NAV Docker/RemoteDocker/waldocorevm/SetupRBA.ps1
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
PSScripts/NAV Docker/RemoteDocker/waldocorevm/_ExportObjects.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
. (Join-Path $PSScriptRoot '.\_Settings.ps1') | ||
|
||
$Containername = 'navserver' | ||
$Containername = 'bconprem' | ||
$Path = 'C:\Temp\' | ||
$filter = '' | ||
|
||
Export-RDHNAVApplicationObjects ` | ||
-DockerHost $DockerHost ` | ||
-DockerHostCredentials $DockerHostCredentials ` | ||
-DockerHostUseSSL:$DockerHostUseSSL ` | ||
-DockerHostSessionOption $DockerHostSessionOption ` | ||
-ContainerName $Containername ` | ||
-Path 'C:\Temp\' ` | ||
-filter 'Id=459' | ||
-Path $Path ` | ||
-filter $filter | ||
|
||
Start $Path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
PSScripts/NAV Docker/RemoteDocker/waldocorevm/_ExportObjects_All.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
. (Join-Path $PSScriptRoot '.\_Settings.ps1') | ||
|
||
$ObjectsFolder = "C:\temp" | ||
#$ContainerDockerImage = 'microsoft/bcsandbox:us' | ||
$ContainerDockerImage = 'microsoft/dynamics-nav:2018-cu8' | ||
#$ContainerDockerImage = 'bcinsider.azurecr.io/bcsandbox-master' | ||
#$ContainerDockerImage = 'bcinsider.azurecr.io/bcsandbox' | ||
|
||
#Fixed params | ||
$ExportToBase = "$env:USERPROFILE\Dropbox (Personal)\Dynamics NAV\ObjectLibrary\" | ||
switch ($true) { | ||
($ContainerDockerImage.StartsWith('microsoft/bcsandbox')) { | ||
$ExportTo = join-path $ExportToBase 'Business Central (Current)' | ||
break | ||
} | ||
($ContainerDockerImage.StartsWith('bcinsider.azurecr.io/bcsandbox-master')) { | ||
$ExportTo = join-path $ExportToBase 'Business Central (Insider Daily Build)' | ||
break | ||
} | ||
($ContainerDockerImage.StartsWith('bcinsider.azurecr.io/bcsandbox')) { | ||
$ExportTo = join-path $ExportToBase 'Business Central (Insider Next)' | ||
break | ||
} | ||
($ContainerDockerImage.Contains('2018')) { | ||
$ExportTo = join-path $ExportToBase 'NAV2018' | ||
break | ||
} | ||
($ContainerDockerImage.StartsWith('2017')) { | ||
$ExportTo = join-path $ExportToBase 'NAV2017' | ||
break | ||
} | ||
|
||
} | ||
|
||
$ModuleToolAPIPath = "$env:USERPROFILE\Dropbox\GitHub\Waldo.Model.Tools\ReVision.Model.Tools Library - laptop" | ||
|
||
$Containername = 'temponly' | ||
$ContainerAdditionalParameters += "--ip 172.21.31.13" | ||
$ContainerAlwaysPull = $true | ||
|
||
New-RDHNAVContainer ` | ||
-DockerHost $DockerHost ` | ||
-DockerHostCredentials $DockerHostCredentials ` | ||
-DockerHostUseSSL:$DockerHostUseSSL ` | ||
-DockerHostSessionOption $DockerHostSessionOption ` | ||
-ContainerDockerImage $ContainerDockerImage ` | ||
-ContainerName $Containername ` | ||
-ContainerLicenseFile $SecretSettings.containerLicenseFile ` | ||
-ContainerCredential $ContainerCredential ` | ||
-ContainerAlwaysPull:$ContainerAlwaysPull ` | ||
-ContainerAdditionalParameters $ContainerAdditionalParameters ` | ||
-doNotExportObjectsToText | ||
|
||
$ObjectFile = | ||
Export-RDHNAVApplicationObjects ` | ||
-DockerHost $DockerHost ` | ||
-DockerHostCredentials $DockerHostCredentials ` | ||
-DockerHostUseSSL:$DockerHostUseSSL ` | ||
-DockerHostSessionOption $DockerHostSessionOption ` | ||
-ContainerName $Containername ` | ||
-Path $ObjectsFolder | ||
|
||
Remove-RDHNAVContainer ` | ||
-DockerHost $DockerHost ` | ||
-DockerHostCredentials $DockerHostCredentials ` | ||
-DockerHostUseSSL:$DockerHostUseSSL ` | ||
-DockerHostSessionOption $DockerHostSessionOption ` | ||
-ContainerName $Containername |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ | |
|
||
Start-VM -Name $DockerHost | ||
|
||
#Restart-VM -Name $DockerHost | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
#Step 1: create DEV Hash$AnalyzeLanguages = 'NLB', 'FRB', 'ENU'$DEVLang = 'ENU'$DEVHash = Export-NAVApplicationObjectLanguageHash ` -Source C:\Temp\ObjectsWithLanguages.txt ` -DestinationXML C:\Temp\DevHash.xml ` -LanguageId $AnalyzeLanguages ` -DevelopmentLanguageId $DEVLang ` -WorkingFolder C:\_WorkingFolder $ObjectLanguages = Get-NAVApplicationObjectLanguage ` -Source C:\Temp\ObjectsWithLanguages.txt ` -WorkingFolder c:\_WorkingFolder ` -LanguageId $AnalyzeLanguages ` -DevelopmentTranslations $DEVHash ` -NotOnlyMissingTranslationscls$ObjectLanguages | ogv | ||
#Step 1: create DEV Hash | ||
$AnalyzeLanguages = 'NLB', 'FRB', 'ENU' | ||
$DEVLang = 'ENU' | ||
|
||
$DEVHash = | ||
Export-NAVApplicationObjectLanguageHash ` | ||
-Source C:\Temp\ObjectsWithLanguages.txt ` | ||
-DestinationXML C:\Temp\DevHash.xml ` | ||
-LanguageId $AnalyzeLanguages ` | ||
-DevelopmentLanguageId $DEVLang ` | ||
-WorkingFolder C:\_WorkingFolder | ||
|
||
$ObjectLanguages = | ||
Get-NAVApplicationObjectLanguage ` | ||
-Source C:\Temp\ObjectsWithLanguages.txt ` | ||
-WorkingFolder c:\_WorkingFolder ` | ||
-LanguageId $AnalyzeLanguages ` | ||
-DevelopmentTranslations $DEVHash ` | ||
-NotOnlyMissingTranslations | ||
|
||
cls | ||
$ObjectLanguages | ogv |