• Sign up
  • Docs
  • Guides
  • API Reference
  • Sample Code
  • SDKs & Tools
  • Support
  • Developer Changelog
  • Elsewhere
  • Blog
  • Forum
  • Feedback
  • International sites
  • United States (English)
  • 日本 (日本語)
Box Developer Documentation
  • United States (English)
  • 日本 (日本語)
  • Quick Starts
  • Guides
  • API Reference
  • Sample Code
  • SDKs & Tools
  • Support
    • Developer Changelog
    • UnreadJun 2nd, 2023

      Box CLI v3.9.0 released

      Featurecli
    • UnreadJun 1st, 2023

      Box Node SDK v3.1.0 released

      Featuresdksnode
    • UnreadMay 26th, 2023

      Box Python SDK v3.7.2 released

      sdkspython
Log in
CLI
Use Box CLI with OAuth 2.0 Quick Start
1. Configure a Box App 2. CLI Installation and Configuration 3. Building Commands and Help Feature 4. Using Options and Bulk Commands 5. Using PowerShell Scripts with the Box CLI Next steps
CLI sample scripts
Provision users and folders Update user zones Report inactive users Extract metadata Manage groups and collaborations Deprovision users and archive folders
CLI guides
Box CLI with JWT Authentication CLI bulk commands

CLI sample scripts

Guides CLI CLI sample scripts
Edit this page

CLI sample scripts

Box CLI scripts are designed to help you automate your tasks. Currently, the sample scripts library provides several PowerShell scripts you can use and customize. In order to run them, you will need to have the Box CLI installed and configured. You can follow the quick start guide to get that done.

Most of the below scripts require the user you run commands with to have Box administrative privileges.

PowerShell scripts

  • Provision users and folders
  • Deprovision users and archive folders
  • Manage groups and collaborations
  • Report inactive users
  • Extract metadata
  • Update user zones
  • Box & Community
  • About Us
  • Platform Twitter
  • Developer Blog
  • Developer Newsletter
  • Changelog
  • GitHub
  • Community GitHub
  • Tooling
  • Node SDK
  • Java SDK
  • Python SDK
  • .NET SDK
  • iOS Content SDK
  • Android Content SDK
  • Box CLI
  • Box Skills Kit
  • Samples
  • Platform Samples
  • Skills Samples
  • Support
  • Support & Community
  • Create a ticket
  • Platform Forum
  • Product Feedback
  • API Status
  • International sites
  • United States (English)
  • 日本 (日本語)
  • ©2023 Box
  • Sitemap
  • Newsletter Unsubscribe
  • Terms of Use
  • Privacy Policy
  • Cookie Notification
  • Code samples provided under Unilicense