Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • API, CLI, and SDK Documentation
  • Command-line Interface

CLI: Sample Scripts

Learn about the available scripts in the CLI project.

Written by Andrea Harvey

Updated at April 28th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Insights
    Prebuilt Insights Custom Insights
  • Content
  • Accounts
  • Activity Log
  • Content Scans
  • Migrations
    Migration Jobs Migration Reports Maps Flagged Items Migration Tools
  • Connections
    Supported Platform Connections Creating Connections Connection Maintenance Connection Pools
  • Entity Types
    DryvIQ Available Entity Types Custom Entity Types Entity Type Maintenance
  • Action Sets
    Creating Action Sets Action Sets Maintenance
  • Settings
    License Performance Notifications Extensions Entity Types Settings Display Settings Configuration
  • API, CLI, and SDK Documentation
    REST API Documentation Command-line Interface SDK Development
  • POC Offering
  • Release Notes
+ More

Table of Contents

Overview Node Powershell Basic NFS to Box Copy Job Sample

The CLI references “skysync.” This is expected.

 

Overview

The skysync-cli project contains PowerShell and Node example scripts at ~skysync-cli/samples. Below is a summary of the available scripts.

Node

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

  • Obtain SkySyncClient object with the 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.
cli scripts scripting node powershell command-line

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • DryvIQ CLI for Migrations
  • CLI: Authentication
  • CLI: Jobs
  • CLI: Connections

Copyright 2025 – DryvIQ, Inc.

Knowledge Base Software powered by Helpjuice

Expand