tmaestrini / easyGovernance

governance and validation for configuration baselines in M365 – made as easy as possible
MIT License
11 stars 4 forks source link

File pops up in Notepad (or text editor) #37

Open sympmarc opened 1 week ago

sympmarc commented 1 week ago

When a validation is run, \src\Public\UnattendedScriptRun.psm1 loads in Notepad (or your default text editor).

This occurs in line 10 of Validation.psm1 when $import.fullname = .\src\Public\UnattendedScriptRun.psm1. This library comes from $PublicCommon.

This is caused by trying to load a psm1 file.