ActiveDirectoryManagementFramework / ADMF

Module for managing configuration contexts for Active Directory
MIT License
27 stars 2 forks source link

Set-AdmfContext - Write warning message with Context & filename in case of error on callback #15

Closed FriedrichWeinmann closed 3 years ago

FriedrichWeinmann commented 4 years ago

When executed during callbacks (e.g.: When using the automatic UI prompt for config selection on running Test-AdmfDomain), if there is an error in the configuration definition, it will not properly print the source on the screen.

This is caused by Stop-PSFFunction not writing warnings on terminating errors.

May need to be fixed/updated in PSFramework

Referenced in https://admf.one/documentation/advanced/contexts-advanced.html

FriedrichWeinmann commented 4 years ago

Awaiting next PSFramework version, which will natively support this

FriedrichWeinmann commented 3 years ago

resolved