CLI: Sample Scripts



On This Page

 


The CLI references “skysync.” This is expected.



PowerShell and Node example scripts can be found within the skysync-cli project at ~skysync-cli/samples.  A summary of the available scripts is below.


Node

This sample demonstrates how to natively use client SDK in node for following steps:

  • Obtain SkySyncClient object with provided credentials

  • Create an NFS connection

  • Create Office 365 connection

  • Create a sync job

  • Start the job

  • Delete all sample jobs

  • Delete all sample connections

 


Powershell

Basic NFS to Box Copy Job Sample

This sample encompasses the following steps:

  • Authenticate using an external file

  • Create an NFS connection

  • Create a Box connection

  • Create a copy job

  • Start the job

  • Delete all transfer jobs (preserve system jobs)

  • Delete all connections, except for the 'My Computer' connection












DryvIQ Migrate Version: 5.6.3.4210
Release Date: April 4, 2024