共用方式為


ApplicationInfo Class

Definition

Provides information for applications that are not directly executable by PowerShell.

public ref class ApplicationInfo : System::Management::Automation::CommandInfo
public class ApplicationInfo : System.Management.Automation.CommandInfo
type ApplicationInfo = class
    inherit CommandInfo
Public Class ApplicationInfo
Inherits CommandInfo
Inheritance
ApplicationInfo

Remarks

An application is any file that is executable by Windows either directly or through file associations excluding any .ps1 files or cmdlets.

Properties

CommandType

Gets the type of the command.

(Inherited from CommandInfo)
Definition

Gets the path of the application file.

Extension

Gets the extension of the application file.

Module

The module that defines this cmdlet. This will be null for commands that are not defined in the context of a module.

(Inherited from CommandInfo)
ModuleName

The module name of this command. It will be empty for commands not imported from either a module or snapin.

(Inherited from CommandInfo)
Name

Gets the name of the command.

(Inherited from CommandInfo)
OutputType

An application could return nothing, but commonly it returns a string.

Parameters

Return the parameters for this command.

(Inherited from CommandInfo)
ParameterSets

Gets the information about the parameters and parameter sets for this command.

(Inherited from CommandInfo)
Path

Gets the path for the application file.

RemotingCapability

The remoting capabilities of this cmdlet, when exposed in a context with ambient remoting.

(Inherited from CommandInfo)
Source

Gets the source of this command.

Version

Gets the source version.

Visibility

Determine the visibility for this script...

Methods

ResolveParameter(String)

Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using PowerShell's standard parameter resolution algorithm.

(Inherited from CommandInfo)
ToString()

For diagnostic purposes.

(Inherited from CommandInfo)

Applies to