Font size
Background and font color
Images
Text scoring
Regular version of the site
Created with Sketch.
+34 93 626 4746
+34 93 626 4746
Request a call
Email
info@awara-it.com
The address
Diagonal Hightech, Avenida Diagonal 131, Barcelona, Spain
Working hours
Weekdays: 9:00 - 18:00
Contact us
Products
Services
  • ERP
    • Microsoft Dynamics 365 Finance and Operations
    • Microsoft Dynamics 365 Business Central
    • Microsoft Dynamics NAV
    • Microsoft Dynamics AX
  • CRM
    • Microsoft Dynamics 365 Sales
  • Cybersecurity
  • LowCode/NoCode
    • Power BI
    • Power Apps
    • Power Virtual Agents
    • Power Automate
  • Business Intelligence
    • Solver
  • Go to cloud
    • Microsoft Azure
  • Custom software development
  • Industrial Internet of Things
  • Teamwork
    • Microsoft Teams
    • Microsoft Viva
  • IT outsourcing
  • Licenses sales
Industries
  • Mining industry
  • Retail
  • Construction
  • Manufacturing
  • Agriculture industry
  • Hi-tech
  • Hospitality
Cases
Media center
  • News
  • Events
  • For media and partners
About us
  • Awards
  • Corporate responsibility
    • Environmental initiatives
    • Educational initiatives
    • Inclusion initiatives
  • Partners
  • Blog
  • Contact
Created with Sketch.
Products
Services
  • ERP
    • Microsoft Dynamics 365 Finance and Operations
    • Microsoft Dynamics 365 Business Central
    • Microsoft Dynamics NAV
    • Microsoft Dynamics AX
  • CRM
    • Microsoft Dynamics 365 Sales
  • Cybersecurity
  • LowCode/NoCode
    • Power BI
    • Power Apps
    • Power Virtual Agents
    • Power Automate
  • Business Intelligence
    • Solver
  • Go to cloud
    • Microsoft Azure
  • Custom software development
  • Industrial Internet of Things
  • Teamwork
    • Microsoft Teams
    • Microsoft Viva
  • IT outsourcing
  • Licenses sales
Industries
  • Mining industry
  • Retail
  • Construction
  • Manufacturing
  • Agriculture industry
  • Hi-tech
  • Hospitality
Cases
Media center
  • News
  • Events
  • For media and partners
About us
  • Awards
  • Corporate responsibility
    • Environmental initiatives
    • Educational initiatives
    • Inclusion initiatives
  • Partners
  • Blog
  • Contact
    Contact us
    +34 93 626 4746
    Email
    info@awara-it.com
    The address
    Diagonal Hightech, Avenida Diagonal 131, Barcelona, Spain
    Created with Sketch.
    Products
    Services
    • ERP
      • Microsoft Dynamics 365 Finance and Operations
      • Microsoft Dynamics 365 Business Central
      • Microsoft Dynamics NAV
      • Microsoft Dynamics AX
    • CRM
      • Microsoft Dynamics 365 Sales
    • Cybersecurity
    • LowCode/NoCode
      • Power BI
      • Power Apps
      • Power Virtual Agents
      • Power Automate
    • Business Intelligence
      • Solver
    • Go to cloud
      • Microsoft Azure
    • Custom software development
    • Industrial Internet of Things
    • Teamwork
      • Microsoft Teams
      • Microsoft Viva
    • IT outsourcing
    • Licenses sales
    Industries
    • Mining industry
    • Retail
    • Construction
    • Manufacturing
    • Agriculture industry
    • Hi-tech
    • Hospitality
    Cases
    Media center
    • News
    • Events
    • For media and partners
    About us
    • Awards
    • Corporate responsibility
      • Environmental initiatives
      • Educational initiatives
      • Inclusion initiatives
    • Partners
    • Blog
    • Contact
      +34 93 626 4746
      Request a call
      Email
      info@awara-it.com
      The address
      Diagonal Hightech, Avenida Diagonal 131, Barcelona, Spain
      Working hours
      Weekdays: 9:00 - 18:00
      Contact us
      Created with Sketch.
      Telephones
      +34 93 626 4746
      Request a call
      Created with Sketch.
      • Products
      • Services
        • Services
        • ERP
          • ERP
          • Microsoft Dynamics 365 Finance and Operations
          • Microsoft Dynamics 365 Business Central
          • Microsoft Dynamics NAV
          • Microsoft Dynamics AX
        • CRM
          • CRM
          • Microsoft Dynamics 365 Sales
        • Cybersecurity
        • LowCode/NoCode
          • LowCode/NoCode
          • Power BI
          • Power Apps
          • Power Virtual Agents
          • Power Automate
        • Business Intelligence
          • Business Intelligence
          • Power BI
          • Solver
        • Go to cloud
          • Go to cloud
          • Microsoft Azure
        • Custom software development
        • Industrial Internet of Things
        • Teamwork
          • Teamwork
          • Microsoft Teams
          • Microsoft Viva
        • IT outsourcing
        • Licenses sales
      • Industries
        • Industries
        • Mining industry
        • Retail
        • Construction
        • Manufacturing
        • Agriculture industry
        • Hi-tech
        • Hospitality
      • Cases
      • Media center
        • Media center
        • News
        • Events
        • For media and partners
      • About us
        • About us
        • Awards
        • Corporate responsibility
          • Corporate responsibility
          • Environmental initiatives
          • Educational initiatives
          • Inclusion initiatives
        • Partners
        • Blog
        • Contact
      Contact us
      • +34 93 626 4746
        • Telephones
        • +34 93 626 4746
        • Request a call
      • Diagonal Hightech, Avenida Diagonal 131, Barcelona, Spain
      • info@awara-it.com
      • Weekdays: 9:00 - 18:00

      Home
      —
      Blog
      —Microsoft Dynamics 365 Business Central installation. Easy as 1,2,3

      Microsoft Dynamics 365 Business Central installation. Easy as 1,2,3

      04.06.2018

      Awara IT shares how to install Dynamics 365 Business Central using Power Shell with just a few clicks

      Hello Team!

      I’ve tried to create most shortly instruction how to install D365 Business Central using Power Shell only because I hate to do many clicks. For using this script you need local or virtual machine running on Windows 10 or Windows Server 2016 and PowerShell ISE running as administrator. Let’s go.

      WINDOWS 10

      1. Preparing environment (Skip this step if you already run any containers on your machine):

      Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V, Containers -All
      
      Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
      choco feature enable -n allowGlobalConfirmation
      choco install visualstudiocode 
      choco install docker-for-windows
      Restart-Computer -Force

      Answer Yes to all questions except Restarting. It will be done in the end. Here we enable needed windows features and install docker and visual studio code. Chocolatey is a easy to use package manager. After Executing – your PC will be restarted.

      2. Container run.

      Before script executing be sure that Docker for windows is running (also switch it to Windows mode if it still not). And paste NAV2018 development license file into some simple folder (C:Temp for example). If you doesn’t have dev license – remove – licensefile parameter from script.

      set-executionpolicy remotesigned
      install-module navcontainerhelper -force
      import-module navcontainerhelper
      
      new-navcontainer -accept_eula `
                      -containername bctest `
                      -imageName microsoft/bcsandbox `
                      -licensefile "c:temp2018.flf" `
                      -includecside `
                      -doNotExportObjectsToText

      After run – you need to input your windows credentials. If you run this script first time – you can have a cup of coffee. It’s not a quick process.

      3. Start work and development

      After script execution you’ll get next info:

      All shortcuts for work you’ll find on your desktop.

      Download *.vsix file, install it to vscode, input Dev server address and instance and you’re ready for developing some new cool features.

      WINDOWS SERVER 2016

      1. Preparing environment (Skip this step if you already run any containers on your machine):

      Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
      Install-Package -Name docker -ProviderName DockerMsftProvider
      
      Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
      choco feature enable -n allowGlobalConfirmation
      choco install visualstudiocode
      
      Install-WindowsFeature -Name Hyper-V,Containers  -IncludeManagementTools -Restart

      Answer Yes to all questions except Restarting. It will be done in the end. Here we enable needed windows features and install docker and visual studio code. Chocolatey is a easy to use package manager. After Executing – your PC will be restarted.

      2. Container run.

      Before script executing paste NAV2018 development license file into some simple folder (C:Temp for example). If you doesn’t have dev license – remove -licensefile parameter from script.

      install-module navcontainerhelper -force
      
      new-navcontainer -accept_eula `
                      -containername bctest `
                      -imageName microsoft/bcsandbox `
                      -licensefile "c:temp2018.flf" `
                      -includecside `
                      -doNotExportObjectsToText

      3. Start work and development

      After script execution you’ll get next info:

      All shortcuts for work you’ll find on your desktop.

      Download *.vsix file, install it to vscode, input Dev server address and instance and you’re ready for developing some new cool features.

      Feel free to comment and share Andrey Baludin’s blog at Dynamics 365 Community.

      Back to the list

      About company
      Awards
      Corporate responsibility
      Partners
      Blog
      Contact
      Services
      ERP
      CRM
      Cybersecurity
      LowCode/NoCode
      Business Intelligence
      Go to cloud
      Custom software development
      Industrial Internet of Things
      Teamwork
      IT outsourcing
      Licenses sales
      Industries
      Mining industry
      Retail
      Construction
      Manufacturing
      Agriculture industry
      Hi-tech
      Hospitality
      Cases
      Products
      Media center
      +34 93 626 4746
      +34 93 626 4746
      Request a call
      Email
      info@awara-it.com
      The address
      Diagonal Hightech, Avenida Diagonal 131, Barcelona, Spain
      Working hours
      Weekdays: 9:00 - 18:00
      info@awara-it.com
      © Copyright by Awara IT 2023
      Standard Agreement / Privacy policy
      Main Contacts Services Product Reviews Partners Company Projects