VmmAddInBase.PowerShellContext Property

 

Applies To: System Center 2016 - Virtual Machine Manager

Gets the PowerShell context object which provides scripting access.

Namespace:   Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly:  Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)

Syntax

protected PowerShellContext PowerShellContext { get; private set; }
protected:
property PowerShellContext^ PowerShellContext {
    PowerShellContext^ get();
    private: void set(PowerShellContext^ value);
}
member PowerShellContext : PowerShellContext with get, private set
Protected Property PowerShellContext As PowerShellContext
    Get
    Private Set
End Property

Property Value

Type: Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.PowerShell.PowerShellContext

Type: PowerShellContext

The PowerShell context scripting object.

See Also

VmmAddInBase Class
Microsoft.SystemCenter.VirtualMachineManager.UIAddIns Namespace

Return to top