Home > Enterprise >  PowerShell, auto load functions from internet on demand
PowerShell, auto load functions from internet on demand

Time:05-01

It was pointed out to me (in enter image description here

If you name the wrapper and wrapped functions differently, you can check whether the function has been declared with something like...

enter image description here

Otherwise, you need to get more creative.

This said, PROCEED WITH CAUTION. Remote code execution, like this, is fraught with security issues, especially in the way we're talking about it i.e., no validation of Test-ConnectionAsync.ps1.

  • Related