This, when run from the PowerShell console, launches Internet Explorer, just as expected:
$ie_command = "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
&$ie_command
If I put the same exact code inside a function within a module, it does nothing. And, yes, other code within the same function works properly, so it's not an issue of the module not being imported or anything.
Am I missing something? Why wouldn't this work?