GetPackage Members
This element is introduced in Windows PowerShell 5.0.
The following tables list the members exposed by the GetPackage type.
Public Constructors
Name | Description | |
---|---|---|
GetPackage | This element is introduced in Windows PowerShell 5.0. |
Top
Public Fields
(see also Protected Fields)
Name | Description | |
---|---|---|
Force | (Inherited from CmdletBase) | |
ForceBootstrap | (Inherited from CmdletBase) | |
MessageResolver | (Inherited from CmdletBase) |
Top
Protected Fields
Name | Description | |
---|---|---|
_failing | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) |
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
CommandOrigin | Gets the origin of the command. The command can be invoked within a runspace or it could be an external request (such as invoking the command from the command line). This property is introduced in Windows PowerShell 2.0. (Inherited from InternalCommand) | |
CommandRuntime | Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline. (Inherited from Cmdlet) | |
CurrentPSTransaction | Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet) | |
DynamicOptions | (Inherited from CmdletBase) | |
DynamicParameterDictionary | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
Events | Gets the event manager for the current session where the cmdlet is running This property is introduced in Windows PowerShell 2.0. (Inherited from PSCmdlet) | |
Host | Gets information about the host that is being used by the session where the cmdlet is running. (Inherited from PSCmdlet) | |
InvokeCommand | Gets utility routines for executing scripts and creating script blocks. (Inherited from PSCmdlet) | |
InvokeProvider | Gets provider information that is used to access a data store. (Inherited from PSCmdlet) | |
JobManager | Gets or sets the job manager for the registered JobSourceAdapter objects. (Inherited from PSCmdlet) | |
JobRepository | Get the active jobs available in the current session where the cmdlet is running. This property is introduced in Windows PowerShell 2.0. (Inherited from PSCmdlet) | |
MaximumVersion | (Inherited from CmdletWithSearch) | |
MinimumVersion | (Inherited from CmdletWithSearch) | |
MyInvocation | Gets invocation information about the cmdlet. (Inherited from PSCmdlet) | |
Name | (Inherited from CmdletWithSearch) | |
PagingParameters | If the cmdlet declares paging support (via SupportsPaging), then PagingParameters property contains arguments of the paging parameters. Otherwise PagingParameters property is null . (Inherited from PSCmdlet) |
|
ParameterSetName | Gets the name of the parameter set that is used by the cmdlet. (Inherited from PSCmdlet) | |
ProviderName | (Inherited from CmdletWithProvider) | |
RequiredVersion | (Inherited from CmdletWithSearch) | |
SessionState | Gets information about the current state of the current session where the cmdlet is running. (Inherited from PSCmdlet) | |
Sources | (Inherited from CmdletBase) | |
Stopping | Gets an indicator that the pipeline is stopping. The pipeline can be stopped for numerous reasons, such as when the user has entered the key combination CTRL+C, a terminating error has occurred, the hosting application requested a stop, and so on. (Inherited from Cmdlet) | |
WhatIf | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) |
Top
Protected Properties
Name | Description | |
---|---|---|
Confirm | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
IsInvocation | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
IsPackageByObject | (Inherited from CmdletBase) | |
IsPackageBySearch | (Inherited from CmdletBase) | |
IsSourceByObject | (Inherited from CmdletBase) | |
SelectedProviders | (Inherited from CmdletWithProvider) | |
UnprocessedNames | This element is introduced in Windows PowerShell 5.0. | |
UnprocessedProviders | This element is introduced in Windows PowerShell 5.0. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
AskPermission | (Inherited from CmdletBase) | |
BeginProcessingAsync | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
CallCount | (Inherited from CmdletBase) | |
CompleteProgress | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ConsumeDynamicParameters | Overridden. (Inherited from AsyncCmdlet) | |
CurrentProviderLocation | Returns the fully-qualified path of the current working directory for the specified provider. (Inherited from PSCmdlet) | |
Debug | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
Dispose | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
DropMsgPrefix | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
EndProcessingAsync | Overridden. This element is introduced in Windows PowerShell 5.0. | |
Equals | (Inherited from Object) | |
Error | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ExecuteOnMainThread | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
FormatMessageString | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
GenerateDynamicParameters | Overridden. (Inherited from AsyncCmdlet) | |
GetCredentialPassword | (Inherited from CmdletBase) | |
GetCredentialUsername | (Inherited from CmdletBase) | |
GetDynamicParameters | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
GetHashCode | (Inherited from Object) | |
GetMessageString | Overridden. (Inherited from AsyncCmdlet) | |
GetOptionKeys | (Inherited from CmdletBase) | |
GetOptionValues | (Inherited from CmdletBase) | |
GetResolvedProviderPathFromPSPath | Returns the resolved provider path from a specified Windows PowerShell path. (Inherited from PSCmdlet) | |
GetResourceString | Gets a resource string that corresponds to the specified resource base key and identifier. (Inherited from Cmdlet) | |
GetType | (Inherited from Object) | |
GetUnresolvedProviderPathFromPSPath | Returns the fully-qualified provider path of a specified relative Windows PowerShell path. (Inherited from PSCmdlet) | |
GetVariableValue | Overloaded. Returns the value of a specific session-state variable. The variants of this method can return a variable value with or without a default value. (Inherited from PSCmdlet) | |
Invoke | Overloaded. Invokes a cmdlet object. The variants of this method can invoke a cmdlet that returns a collection of results or a strongly-typed enumerator. (Inherited from Cmdlet) | |
IsCancelled | The provider can query to see if the operation has been cancelled. This provides for a gentle way for the caller to notify the callee that they don't want any more results.This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
IsInteractive | (Inherited from CmdletBase) | |
MasterCompleteProgress | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
Message | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ProcessRecordAsync | Overridden. This element is introduced in Windows PowerShell 5.0. | |
Progress | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ResolveExistingFilePath | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ResolveExistingFolderPath | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ResolvePath | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ShouldBootstrapProvider | (Inherited from CmdletBase) | |
ShouldContinue | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ShouldContinueAfterPackageInstallFailure | (Inherited from CmdletBase) | |
ShouldContinueAfterPackageUninstallFailure | (Inherited from CmdletBase) | |
ShouldContinueRunningInstallScript | (Inherited from CmdletBase) | |
ShouldContinueRunningUninstallScript | (Inherited from CmdletBase) | |
ShouldContinueWithUntrustedPackageSource | (Inherited from CmdletBase) | |
ShouldProcess | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ShouldProcessPackageInstall | (Inherited from CmdletBase) | |
ShouldProcessPackageUninstall | (Inherited from CmdletBase) | |
StartProgress | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
StopProcessingAsync | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
ThrowTerminatingError | Reports a terminating error when the cmdlet cannot continue, or when you do not want the cmdlet to continue to process records. (Inherited from Cmdlet) | |
ToString | (Inherited from Object) | |
TransactionAvailable | Determines whether the Start-Transaction cmdlet has been called and that there is a Windows PowerShell transaction available that the cmdlet can participate in. This method is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet) | |
Verbose | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
Warning | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
WriteCommandDetail | Writes information to the execution log of the pipeline. (Inherited from Cmdlet) | |
WriteDebug | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
WriteError | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
WriteMasterProgress | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
WriteObject | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
WriteProgress | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
WriteVerbose | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
WriteWarning | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) |
Top
Protected Methods
(see also Extension Methods)
Name | Description | |
---|---|---|
BeginProcessing | Overridden. This element is introduced in Windows PowerShell 5.0. (Inherited from Cmdlet) | |
CancelWhenStopped | This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
Dispose | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
EndProcessing | Overridden. This element is introduced in Windows PowerShell 5.0. (Inherited from Cmdlet) | |
Error | Overloaded. This element is introduced in Windows PowerShell 5.0. (Inherited from AsyncCmdlet) | |
FilterProvidersUsingDynamicParameters | (Inherited from CmdletWithProvider) | |
Finalize | (Inherited from Object) | |
Init | Overridden. (Inherited from AsyncCmdlet) | |
IsPackageInVersionRange | This element is introduced in Windows PowerShell 5.0. | |
MemberwiseClone | (Inherited from Object) | |
ProcessNames | This element is introduced in Windows PowerShell 5.0. | |
ProcessProvider | This element is introduced in Windows PowerShell 5.0. | |
ProcessRecord | Overridden. This element is introduced in Windows PowerShell 5.0. (Inherited from Cmdlet) | |
SelectProviders | Overloaded. (Inherited from CmdletBase) | |
StopProcessing | Overridden. This element is introduced in Windows PowerShell 5.0. (Inherited from Cmdlet) |
Top
Extension Methods
Name | Description | |
---|---|---|
As | Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
As | This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
As | Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
Extend | Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
Extend | This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
Extend | Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
ToEnumerable | This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.) |
Top
See Also
Reference
GetPackage Class
Microsoft.PowerShell.OneGet.CmdLets Namespace