Partager via


PSModuleInfo.OnRemove Property

Definition

Optional script that is going to be called just before Remove-Module cmdlet removes the module.

public:
 property System::Management::Automation::ScriptBlock ^ OnRemove { System::Management::Automation::ScriptBlock ^ get(); void set(System::Management::Automation::ScriptBlock ^ value); };
public System.Management.Automation.ScriptBlock OnRemove { get; set; }
member this.OnRemove : System.Management.Automation.ScriptBlock with get, set
Public Property OnRemove As ScriptBlock

Property Value

Applies to