PSModuleInfo.Definition Property

Definition

If this is a script module, then this property will contain the PowerShell source text that was used to define this module.

C++
public:
 property System::String ^ Definition { System::String ^ get(); };

Property Value

Applies to

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