GetPackageProviderCommand

Namespace: AnyPackage.Commands

The Get-PackageProvider command.

public sealed class GetPackageProviderCommand : System.Management.Automation.PSCmdlet

Inheritance Object → InternalCommand → Cmdlet → PSCmdlet → GetPackageProviderCommand

Properties

Name

Gets or sets the provider name(s).

public String[] Name { get; set; }

Property Value

String[]

ListAvailable

Gets or sets if available providers are returned.

public SwitchParameter ListAvailable { get; set; }

Property Value

SwitchParameter

Events

public PSEventManager Events { get; }

Property Value

PSEventManager

Host

public PSHost Host { get; }

Property Value

PSHost

InvokeCommand

public CommandInvocationIntrinsics InvokeCommand { get; }

Property Value

CommandInvocationIntrinsics

InvokeProvider

public ProviderIntrinsics InvokeProvider { get; }

Property Value

ProviderIntrinsics

JobManager

public JobManager JobManager { get; }

Property Value

JobManager

JobRepository

public JobRepository JobRepository { get; }

Property Value

JobRepository

MyInvocation

public InvocationInfo MyInvocation { get; }

Property Value

InvocationInfo

PagingParameters

public PagingParameters PagingParameters { get; }

Property Value

PagingParameters

ParameterSetName

public string ParameterSetName { get; }

Property Value

String

SessionState

public SessionState SessionState { get; }

Property Value

SessionState

CommandRuntime

public ICommandRuntime CommandRuntime { get; set; }

Property Value

ICommandRuntime

Stopping

public bool Stopping { get; }

Property Value

Boolean

CommandOrigin

public CommandOrigin CommandOrigin { get; }

Property Value

CommandOrigin

Constructors

GetPackageProviderCommand()

public GetPackageProviderCommand()

Methods

BeginProcessing()

Initializes the command.

protected void BeginProcessing()

ProcessRecord()

Processes input.

protected void ProcessRecord()