Get-PnPAppInstance

Returns a SharePoint AddIn Instance

Syntax

Get-PnPAppInstance
   [-Includes <String[]>]
                     [-Identity <AppPipeBind>]
                     [-Web <WebPipeBind>]
                     [-Connection <SPOnlineConnection>]

Description

Returns a SharePoint App/Addin that has been installed in the current site

Examples

------------------EXAMPLE 1------------------

Get-PnPAppInstance

This will return all addin instances in the site.

------------------EXAMPLE 2------------------

Get-PnPAppInstance -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe

This will return an addin instance with the specified id.

Optional Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Identity

Specifies the Id of the App Instance

Type:AppPipeBind
Position:0
Accept pipeline input:True
Accept wildcard characters:False
-Includes

Specify properties to include when retrieving objects from the server.

Type:String[]
Position:0
Accept pipeline input:False
Accept wildcard characters:False
-Web

The web to apply the command to. Omit this parameter to use the current web.

Type:WebPipeBind
Position:Named
Accept pipeline input:False
Accept wildcard characters:False

Outputs

List<Microsoft.SharePoint.Client.AppInstance>