< Back

Enable-D365CeException

Mon Jan 13, 2020 8:41 am

NAME Enable-D365CeException



SYNOPSIS

Enable exceptions to be thrown





SYNTAX

Enable-D365CeException [<CommonParameters>]





DESCRIPTION

Change the default exception behavior of the module to support throwing exceptions



Useful when the module is used in an automated fashion, like inside Azure DevOps pipelines and large PowerShell

scripts





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Tags: Exception, Exceptions, Warning, Warnings



Author: M????tz Jensen (@Splaxi)



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Enable-D365CeException



This will for the rest of the current PowerShell session make sure that exceptions will be thrown.











RELATED LINKS