-
-
Notifications
You must be signed in to change notification settings - Fork 67
Description
This is kind of an odd one and I can fork and fix if you want, but in the PSSQLite.psm1 file you're using the alias for Select-Object as part of the function export process (at the end). Under normal circumstances this is totally ok, however I've been banging my head over the last few days trying to figure out why I can't get the PSSQLite module to work as part of a constrained endpoint (JEA) and after doing a lot of debugging the use of the Select alias is not playing nice with a locked down endpoint\shell (SessionType='Empty'
and LanguageMode='RestrictedLanguage'
). I tried defining Select as a valid alias with VisibleAliases
but the only way I could get it to work is if I edited the module and spelled out the alias as Select-Object.
So anyway we can get the Select alias removed and the full cmdlet name put int the PSSQLite module file? I can do it if you want, but it seems like a really small change :)