Install software to the DEV-Box

What additional software should be installed to the DEV-box #

NOTE: Powershell or comand prompt should run under Administrator.

SSL 1.2 update #

https://gist.githubusercontent.com/FH-Inway/193a2819c2682e203496ae7d44baecdb/raw/b48c47d6cdea17a26c1feeb6b4e70d5ea7035f62/CHEWindowsUpdateRegistryFix.ps1

or

# Original Script by @batetech shared with permission.
# This script makes the changes described in https://learn.microsoft.com/en-us/troubleshoot/windows-client/installing-updates-features-roles/troubleshoot-windows-update-error-0x80072efe-with-cipher-suite-configuration
# This will also fix issues where PowerShell modules can no longer be installed.
# See also https://github.com/d365collaborative/d365fo.tools/issues/874
# gist at https://gist.github.com/FH-Inway/193a2819c2682e203496ae7d44baecdb

# Requires -RunAsAdministrator
$ErrorActionPreference = 'Stop';
$regPath = 'HKLM:\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002';
$ciphers = Get-ItemPropertyValue "$regPath" -Name 'Functions';
Write-host "Values before: $ciphers";
$cipherList = $ciphers.Split(',');
$updateReg = $false;
if ($cipherList -inotcontains 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384') {
    Write-Host "Adding TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384";
    $ciphers += ',TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384';
    $updateReg = $true;
}
if ($cipherList -inotcontains 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA256') {
    Write-Host "Adding TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA256";
    $ciphers += ',TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA256';
    $updateReg = $true;
}
if ($updateReg) {
    Set-ItemProperty "$regPath" -Name 'Functions' -Value "$ciphers";
    $ciphers = Get-ItemPropertyValue "$regPath" -Name 'Functions';
    write-host "Values after: $ciphers";
}
else {
    Write-Host 'No updates needed, the required ciphers already exist.';
}

d365fo tools #

Install-Module -Name d365fo.tools -Force

d365fo sql package #

Invoke-D365InstallSqlPackage

d365fo AzCopy #

Invoke-D365InstallAzCopy

All in one script (optional) #

This script is setup most of common used software. It works after setup d365fo tools.

Install-D365SupportingSoftware -Name "microsoft-edge"

Chocolatey (optional) #

Chocolatey - free to use software management solution. Allow to setup/update software from comand line interface.

Setup:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Notepad++ (optional) #

choco install notepadplusplus

Need to setup also plugins for Notepad++: Compare, JSON, XML

VS Code (optional) #

choco install vscode

7zip #

choco install 7zip.install --pre 

Google chrome #

choco install googlechrome

Microsoft edge #

choco install microsoft-edge

power shell SqlServer module #

Install-Module -Name SqlServer
  1. https://github.com/d365collaborative/d365fo.tools/blob/master/docs/New-D365EntraIntegration.md в мене є App Registration в тенанті на який я вішаю всі сертифікати від DEV середовищ щоб працювала функція Import Users + Commerce за необхідності

  2. Також ставлю скрипт звідси https://www.yammer.com/dynamicsaxfeedbackprograms/#/threads/show?threadId=1089438553366528

  3. також інколи ставлю всілякі розширення типу https://github.com/TrudAX/TRUDUtilsD365 https://github.com/shashisadasivan/SSD365VSAddIn https://github.com/shadowchamber/SSD365VSAddIn https://github.com/HichemDax/D365FONinjaDevTools.git https://github.com/ObtainGroup/D365FOLabelEditor.git https://github.com/komrados/D365FOLabelTranslator.git https://github.com/TrudAX/TRUDScripts/blob/master/D365FO/PrepareNewVMScript.ps1

comments powered by Disqus