Chat now with support
Chat with Support

StoragePoint 6.0 - 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

Remove-Endpoint

This command allows the removal of an endpoint from StoragePoint. If a successor endpoint can be selected, the endpoint can be retired.

Parameters

·EndpointName (e): The Id or name of the endpoint. REQUIRED

·Retire: Flag to indicate that the endpoint will be Retired.

·SuccessorEndpoint (se): Name or ID of the successor endpoint to which the blobs will be migrated. If Retire option is set, this option it is REQUIRED.

·NumberOfThreads (threads): Number of threads to run the job.

·EmailDefault: If specified (-EmailDefault), send status email to the default notification group setup in General Settings.

·NotificationEmailOther (email): Other email addresses (not in default notification group) to send status emails to.

Examples

Delete an endpoint that is not associated to any profile

Remove-Endpoint –e “EP1”

Delete an endpoint with Retire option

Remove-Endpoint –e “EP1” –Retire –se “EP2”

Delete an endpoint with Retire option and additional parameters

Remove-Endpoint –e “EP1” –Retire –se “EP2” –threads 5 –EmailDefault –email “test.example@dominio.com”

 

Reset-DefaultValues

This command will reset the default settings to the initial state of the StoragePoint configuration.

Example

Reset-DefaultValues

reset-defaultvalues

 

Timer Job Scheduling Cmdlets

The StoragePoint cmdlet library includes a number of commands to schedule the various StoragePoint timer jobs. The commands cover the BLOB Health Analyzer, Unused BLOB Cleanup, Externalization, Recall, (Bulk) Migrate, Backup, Records & Holds, Aging, Versioning and Metadata archiving jobs.

Scope Parameter Definition

When selecting scopes for select timer jobs, the following format needs to be used for -JobScope. Not all parameters are available for all timer jobs.

[Target=WebApp]

-JobScope 'wa:<WebApp ID>'

 

[Target=CDB]

-JobScope 'wa:<WebApp ID>/cdb:<CDB ID>'

 

[Target=Site Collection]

-JobScope 'wa:<WebApp ID>/cdb:<CDB ID>/s:<Site Collection ID>'

 

[Target=Site (Web)]

-JobScope 'wa:<WebApp ID>/cdb:<CDB ID>/s:<Site Collection ID>/w:<site (Web) ID>'

 

[Target=List]

-JobScope 'wa:<WebApp ID>/cdb:<CDB ID>/s:<Site Collection ID>/w:<site (Web) ID>/l:<List ID>'

 

 

Set-BLOBHealthAnalyzerJob

This command schedules a BLOB Health Analyzer timer job. This timer job will analyze and optionally try to restore profile content. Analyzer will fix from the following:
 
- Missing BLOB files.
- Restore BLOBs if RepoulateIfMissing is used.
- BLOB references with mismatched size.
- BLNK (link) files with invalid content.
- BLNK files optimized and updated.
- Various system cache metrics.

 

Parameters

·Profile (p): The name or Id of the profile in which to run the job under. REQUIRED

·Type (schedtype): The type of schedule to use when setting up this job. Valid values are OneTime, Daily, and Weekly. If not specified, the timer job will run immediately.

·DayOfWeek (dow):  The day of the week to run the job when the schedule type is set to Weekly.

·JobStartDate (startdate): The start date/time. The time portion is used to set the start time for Daily and Weekly jobs.

·JobEndDate (enddate):  The end date/time. Not used for OneTime jobs. The time portion is used to set the end time for Daily and Weekly jobs.

·EmailDefault: If specified (-EmailDefault), send status email to the default notification group setup in General Settings.

·NotificationEmailOther (email): Other email addresses (not in default notification group) to send status emails to.

·RunNow: If specified (-RunNow), then run the job immediately. Ignores any scheduling options provided.

·EmailOnErrorOnly: If specified (-EmailOnErrorOnly), then send status email only if an error occurs when running the job.

·RepopulateIfMissing: Repopulates missing blobs, if available. Default is false. Set value to 1 to enable this feature, 0 to disable.

·JobScope: See parameter definitions in Timer Job Scope Parameter.

Example

This example schedules BLOB Health Analyzer job to run immediately.

 

Set-BlobHealthAnalyzerJob –p MainProfile1 –EmailDefault –RunNow

 

This example schedules BLOB Health Analyzer job to run weekly on Wednesday between 2 and 5 am..

 

Set-BlobHealthAnalyzerJob –p MainProfile1 -schedtype Weekly -dow Wednesday -startdate "08-15-15 2:00" -enddate "08-15-15 5:00" –EmailDefault

 

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating