Open kev1010 opened 1 month ago
This might be able to help you: https://stackoverflow.com/questions/9742775/why-is-my-locally-created-script-not-allowed-to-run-under-the-remotesigned-execu#:~:text=When%20you%20run%20a%20.,change%20the%20Execution%20Policy%20setting.
This doesn't seem to be a functions issue.
This might be able to help you: https://stackoverflow.com/questions/9742775/why-is-my-locally-created-script-not-allowed-to-run-under-the-remotesigned-execu#:~:text=When%20you%20run%20a%20.,change%20the%20Execution%20Policy%20setting.
This doesn't seem to be a functions issue.
The ps file has to be signed by a trusted Certificate Authority (CA) in order to run under Powershell's best practices .
The run command does not work because func.ps1 is not digitally signed.