-
Notifications
You must be signed in to change notification settings - Fork 101
Load individual files or dot source the files
Mötz Jensen edited this page Nov 2, 2018
·
4 revisions
When we release a new version of the module all functions are compiled into one big commands.ps1 file. This is because we want the module to load as fast as possible.
It has some drawbacks in relation to troubleshooting and tinkering with the module after you have installed it from www.powershellgallery.com
If you need to change any on the functions on the machine where you installed the module, you can adjust the loading logic, before loading the module and have it load every single function from its source file instead of the compiled commands.ps1.
Exit you current powershell console and start a entirely fresh powershell console, without loading the module.
Set-PSFConfig d365fo.tools.Import.IndividualFiles -Value $true
Set-PSFConfig d365fo.tools.Import.DoDotSource -Value $true
Import-Module d365fo.tools -Force -Passthru
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services