IModuleAssemblyCleanup.OnRemove(PSModuleInfo) Method

Definition

Gets called when the binary module is unloaded.

C++
public:
 void OnRemove(System::Management::Automation::PSModuleInfo ^ psModuleInfo);

Parameters

psModuleInfo
PSModuleInfo

Applies to

Производ Верзије
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0