Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DriveCmdletProvider Members

Serves as a base class for providers that access a data store through Windows PowerShell drives.

The following tables list the members exposed by the DriveCmdletProvider type.

  Name Description
  DriveCmdletProvider Creates a new DriveCmdletProvider object.
Top

(see also Protected Properties)
 NameDescription
public propertyCredential  Gets the credentials used by the provider to perform its operations. (Inherited from CmdletProvider)
public propertyCurrentPSTransaction  Gets information about the current active transaction. (Inherited from CmdletProvider)
public propertyExclude  Gets the wildcard patterns that are used to determine which items are excluded when performing an action. (Inherited from CmdletProvider)
public propertyFilter  Gets the provider-specific filter supplied by the caller. (Inherited from CmdletProvider)
public propertyForce  Gets a Boolean value that indicates whether the provider should do everything possible to perform an operation. (Inherited from CmdletProvider)
public propertyHost  Gets the host that is used as the interface between the Windows PowerShell runtime and the user. The Windows PowerShell runtime uses this host to communicate to the user. (Inherited from CmdletProvider)
public propertyInclude  Gets the wildcard patterns used to determine which items will be included when performing an action. (Inherited from CmdletProvider)
public propertyInvokeCommand  Gets the instance of the command invocation application programming interfaces (APIs) for the current runspace. (Inherited from CmdletProvider)
public propertyInvokeProvider  Gets the instance of the provider interface APIs for the current runspace. (Inherited from CmdletProvider)
public propertySessionState  Gets the global session state for the current runspace. (Inherited from CmdletProvider)
public propertyStopping  Gets a Boolean value that indicates whether a stop request has been made on the provider. (Inherited from CmdletProvider)
Top

  Name Description
protected property DynamicParameters  Gets the dynamic parameters object populated with the values specified by the user. (Inherited from CmdletProvider)
protected property PSDriveInfo  Gets the drive that is being used for the current operation. (Inherited from CmdletProvider)
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetResourceString  Gets a resource string that corresponds to the specified resource base key and identifier. (Inherited from CmdletProvider)
public methodGetType  (Inherited from Object)
public methodShouldContinue  Overloaded. Sends a query to the user to confirm that the operation should be performed. The variants of this method can send the query with or without providing yes-to-all and no-to-all options. (Inherited from CmdletProvider)
public methodShouldProcess  Overloaded. Confirms an operation with the user by sending a query to the user. The variants of this method can be used to send the name of the resource to be changed; send the resource name and the action to be taken; and send a description of the action to be taken, a query asking whether the action should be taken, and a caption. (Inherited from CmdletProvider)
public methodThrowTerminatingError  Sends an error record to Windows PowerShell when a terminating error occurs and the provider cannot continue. (Inherited from CmdletProvider)
public methodToString  (Inherited from Object)
public methodTransactionAvailable  Determines if there is a transaction available for the provider. Transactions are started by running the Start-Transaction cmdlet. This method is introduced in Windows PowerShell 2.0. (Inherited from CmdletProvider)
public methodWriteDebug  Writes a debug message to the host application. (Inherited from CmdletProvider)
public methodWriteError  Writes a nonterminating error record to the error pipeline when the provider encounters an error but can still continue to process records. (Inherited from CmdletProvider)
public methodWriteItemObject  Writes an item to the output as a PSObject object with extra data attached as notes. (Inherited from CmdletProvider)
public methodWriteProgress  Writes a progress record to the host application. (Inherited from CmdletProvider)
public methodWritePropertyObject  Writes a property object to the output as a PSObject with extra data attached as notes. (Inherited from CmdletProvider)
public methodWriteSecurityDescriptorObject  Writes a security descriptor object to the output as a PSObject object with extra data attached as notes. (Inherited from CmdletProvider)
public methodWriteVerbose  Writes a general user-level message to the host application. (Inherited from CmdletProvider)
public methodWriteWarning  Displays warning information. (Inherited from CmdletProvider)
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodInitializeDefaultDrivesGives the provider the ability to map drives after initialization.
protected methodMemberwiseClone  (Inherited from Object)
protected methodNewDriveCreates a new drive based on a specified PSDriveInfo object. Overriding this method gives the provider an opportunity to validate or modify the drive information before the drive is created.
protected methodNewDriveDynamicParametersReturns any additional parameters required by this instance of the New-Drive cmdlet.
protected methodRemoveDriveRemoves a Windows PowerShell drive. Implementing this method gives the provider an opportunity to clean up any provider-specific data for the drive that is going to be removed.
protected methodStart  Starts the specified provider. This method is called by the Windows PowerShell runtime to initialize the provider when the provider is loaded into a session. (Inherited from CmdletProvider)
protected methodStartDynamicParameters  Adds parameter definitions to the Start method implemented by the provider. These dynamic parameters are added at runtime based on conditions specified by the Start method.  (Inherited from CmdletProvider)
protected methodStop  Frees resources before the provider is removed from the runspace. The Windows PowerShell runtime calls this method to allow the provider a chance to stop and clean up its resources before the runtime removes the provider. (Inherited from CmdletProvider)
Top

  Name Description
public extension method 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.)
public extension method 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.)
public extension method 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.)
public extension method 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.)
public extension method 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.)
public extension method 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.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show:
© 2015 Microsoft