
PowerShell/Parser.cs at master · PowerShell/PowerShell · GitHub
// module at parse time so we can't use the normal mechanisms to bind the module name for configuration commands. // As an alternative, we extract the base name of the module file and use that as the module name for any keywords exported by this file.