Get-PnPStorageEntity

Retrieve Storage Entities / Farm Properties from either the Tenant App Catalog or from the current site if it has a site scope app catalog.

Syntax

Get-PnPStorageEntity
   [-Key <String>]
                       [-Scope <StorageEntityScope>]
                       [-Connection <SPOnlineConnection>]

Examples

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

Get-PnPStorageEntity

Returns all site storage entities/farm properties

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

Get-PnPStorageEntity -Key MyKey

Returns the storage entity/farm property with the given key.

------------------EXAMPLE 3------------------

Get-PnPStorageEntity -Scope Site

Returns all site collection scoped storage entities

------------------EXAMPLE 4------------------

Get-PnPStorageEntity -Key MyKey -Scope Site

Returns the storage entity from the site collection with the given key

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
-Key

The key of the value to retrieve.

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Scope

Defines the scope of the storage entity. Defaults to Tenant.

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