Skip to main content
SnapCenter 4.9 cmdlets

Upload-SmPluginPackage

Contributors

Uploads a custom plug-in package to SnapCenter.

Syntax

Upload-SmPluginPackage [-FullPath]  <String>

Detailed Description

A custom-developed plug-in is zipped along with plug-in description file. This zip file is uploaded to SnapCenter and is later pushed to specified host.

Parameters

Name Description Required? Pipeline Input Default Value

FullPath

Specifies the path to the custom plug-in zip file.

true

false

Examples

Example 1: Uploading a plugin from SnapCenter Server

 Open-SmConnection -Credential nbsdsm\administrator
          PS C:\Users\administrator.NBSDSM> Upload-SmPluginPackage -AbsolutePath c:\Mongo1.zip

Uploading Custom named Mongo, version 1.0 from SnapCenter Server Host.

Successfully uploaded the plug-in package.
CustomPluginName: Mongo
CustomPluginVersion : 1.0
CustomPluginType: Mongo
OsInfo  : SMCoreContracts.SmOperatingSystemInfo
Resources   : {SMCoreContracts.SmSCCustomResoureceType}
RequireFileSystemPlugin : False
UploadedFileName: Mongo_1.0.zip

Example 2: Uploading a plugin from a nonSnapCenter Server Windows host

 Upload-SmPluginPackage -AbsolutePath c:\customplugin\MongoDB_1.zip -UserCredential nbsdsm\administrator

This example syntax uploads a custom plug-in named MongoDB, version 1.0 from a non-SnapCenter Server Windows Host.

Successfully uploaded the plug-in package.
CustomPluginName: MongoDB
CustomPluginVersion : 1.0
CustomPluginType: Perl
OsInfo  : SMCoreContracts.SmOperatingSystemInfo
Resources   : {SMCoreContracts.SmSCCustomResoureceType}
RequireFileSystemPlugin : False
UploadedFileName: DB2_1.0.zip