-
Notifications
You must be signed in to change notification settings - Fork 102
Exception handling
Mötz Jensen edited this page May 8, 2019
·
3 revisions
If you need to make sure that the different cmdlets / functions break execution, you will have to change your console preferences to enable that.
The simplest way is to tell PowerShell to stop when ever it hits a warning.
$WarningPreference="Stop"
If you want the module to specific throw an exception when executing, you need run the following command.
$PSDefaultParameterValues['*:EnableException'] = $true
- 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