ScriptBlock.Module Property

Definition

Get the PSModuleInfo object for the module that defined this scriptblock.

C++
public:
 property System::Management::Automation::PSModuleInfo ^ Module { System::Management::Automation::PSModuleInfo ^ get(); };

Property Value

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0