Chat now with support
Chat with Support

Metalogix StoragePoint 5.8 - 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

Get-WebApplicationId

This command gets the Web Application Id for the web application of the specified site collection.

Parameters

·SiteUrl (s): The URL of the SharePoint site with which a profile is associated. REQUIRED.

Find-SharePointItem

This command will return a list of SharePoint list items based on the query submitted.

Parameters

·SiteUrl (s): The URL of the SharePoint site to query. REQUIRED.

·List (l): The SharePoint list to query. If not specified, the query will be run on the site.

·Query (q): The CAML query to run on the site or list. Can be left out if List parameter is specified (to get all items in the list).

Set-LargeFileUpload

This command allows the uploading of a large file to a library. It only processes one file at a time, and the destination must be a library; this command doesn't work on sites or subsites. Please see Large File Uploads for more information.

Parameters

·ffn: Full File Name, Full UNC path of the file to be uploaded.

·lu: List URL, Destination URL of the Document Library where the file will be uploaded. This needs to be a basic URI+list name.

 

Example

 

Example to upload a text file to the 'Doc Lib 1' document library.

Set-LargeFileUpload -ffn "C:\Users\Public\Documents\1.4 GB file.txt" -lu "http://sp2013a-wfe1:20264/sites/monet/doc%20lib%201"

PowerShell Script Examples

The following are examples of PowerShell scripts that utilize various StoragePoint cmdlets. These scripts should serve as templates for many common scenarios and can be customized as needed.

Related Documents