Chat now with support
Chat mit Support

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

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.

Creating a Site Collection Profile with No Encryption or Compression

This example creates a basic profile for a site collection. It uses the included FileSystem adapter and does not enable compression and encryption support. It creates a new endpoint which is then added to the profile.  

 

 $siteid = Get-SiteCollectionId –s "http://sharepoint/site"

 

Add-Endpoint –epn "NAS Endpoint 1" –adn "FileSystem" –conn "path=\\NAS\FILESTORE"        

 

Add-Profile –pn "Site Collection 1 Profile" –ptype SiteCollection –sid $siteid –eid "NAS Endpoint 1"

Creating a Content Database Profile with Encryption and Compression

This example creates a basic profile with a content database scope. Also note that the endpoint is set to enable compression and encryption.

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

Add-Endpoint –epn "NAS Endpoint 1" –adn "FileSystem" –conn "path=\\NAS\FILESTORE" –UseCompression –UseEncryption –EncryptionPassphrase "anypassword"

Add-Profile –pn "Content Database Profile" –ptype ContentDb –sid $cid –eid "NAS Endpoint 1"

Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen