Converse agora com nosso suporte
Chat com o suporte

StoragePoint 6.2 - PowerShell and API Reference Guide

PowerShell Guide
StoragePoint PowerShell Overview Getting Started Profile and Endpoint Management Cmdlets Timer Job Scheduling Cmdlets BLOB Information and Migration Cmdlets Miscellaneous SharePoint Utility Cmdlets PowerShell Script Examples StoragePoint API Reference
About Us

Get-AllEndpoints

This command will retrieve all StoragePoint endpoints into a list and display all the properties of each endpoint found.

Example

Get-AllEndpoints

Result

EndpointId                : <GUID>

Name                        : MainEndpoint1

AdapterName                : FileSystem

Connection                :PATH=\\Server\blobShare;BUFFERSIZE=8192;SHREDONDELETE=False;

Foldering                        : True

FolderingLevel                : 5

StoreSourceMetadata        :

HandleMissingMetadata        :

IsNew                        : False

UseCompression                : False

UseEncryption                : False

EncryptionProviderId        :

EncryptionPassphrase        :

ProfileState                : 1

Get-Profile

This command will retrieve a profile object.

Parameters

If looking up a profile for a given scope (site coll, content db, web app):

·ProfileType (ptype): The profile type, e.g. SiteCollection, WebApplication, ContentDB to find. Must also specify either SiteUrl or ScopeId

·SiteUrl (s): The URL of the SharePoint site in which a profile is associated with. If ProfileType is SiteCollection, this will cause the command to find the profile for the exact site collection. If ProfileType is ContentDb or WebApplication, then the command will find the profile covering the content database or web application, respectively, of the site collection url specified.

·ScopeId (sid): The scope id of the siteCollection, WebApplication, or ContentDB to find the profile for.

If looking up a profile for an externalized document:

·DocUrl (doc): Url of an externalized document in SharePoint to retrieve the profile for.

If looking up a specific profile by name or profile id:

·ProfileId (id): The Id (GUID) of the StoragePoint profile.

·ProfileName (name): The Name of the StoragePoint profile.

Example

This example retrieves the profile object and list all properties of the object for view.

Get-Profile -name MainProfile1

The following example shows to assign a Profile object to a variable within the PowerShell pipeline for later use.

$profile = Get-Profile -name MainProfile1

The following example retrieves the profile object that a document was externalized under.

Get-Profile -DocUrl http://moss/docs/documents/123.tif

The following example looks up a site collection’s profile.

Get-Profile –ProfileType SiteCollection –SiteUrl http://sharepoint

The final example shows how to retrieve a profile using a scope id value (site id, content db id or web app id). The scope id can be determined in a number of ways but this example uses the StoragePoint cmdlet helper command Get-ContentDbId.

$cid = Get-ContentDbId –s http://sharepoint

Get-Profile –ProfileType ContentDb –ScopeId $cid.Id.ToString()

Get-AllProfiles

This command will retrieve all active StoragePoint profiles into a list and display all properties for the profiles.

Example

Get-AllProfiles

Result

Type                                : SiteCollection

ProfileId                        : <GUID>

IsNew                                : False

IsActive                                : True

ScopeId                                : <GUID>

BlobRetentionDays                : 30

CabinetOn                        : False

CabinetLevel                        : 5

ProfileState                        : 1

ProfileEndpoints                : {MainEndpoint1, MainEndpoint2}

Name                                : MainProfile1

AdapterName                        : FileSystem

Get-AllEndpointsByProfile

This command will show all endpoints that are associated with the specified profile.

Parameters

·Profile (p): The name or Id of the profile. REQUIRED.

Example

The following example will list all endpoints that are associated with the profile 'MainProfile1'

Get-AllEndpointsByProfile -p MainProfile1

Result

EndpointType                : Synchronous

Name                        : MainEndpoint1

EndpointId                : <GUID>

IsActive                        : True

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação