Configuring a OneDrive scan using the CLI

Prev Next

Configure and start a continuous OneDrive scan using the CLI.

Prerequisites

  • Administrator access to the File Protect appliance.

  • A OneDrive storage.

To configure a scan for OneDrive storage:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Create a OneDrive scan.

    hostname (config) # fmps scan create from share <MyOneDriveStorage>

    MyOneDriveStorage is the OneDrive storage on which the scan will run.

    The scan ID is displayed.

    <scanID> configured
  3. Save your changes.

    hostname (config) # write memory

To start a scan from an existing scan:

  1. Enable the CLI configuration mode:

  2. hostname > enable
    hostname # configure terminal
  3. Start a OneDrive continuous scan from an existing scan.

    hostname (config) # fmps scan start <scanID> continuous

    <scanID> is the ID of the existing scan.

  4. Save your changes.

    hostname (config) # write memory