Skip to main content
Question

Resources for scripting Box CLI commands

  • May 22, 2025
  • 2 replies
  • 28 views

Forum|alt.badge.img

I'm still learning Box CLI but I've got a pretty good understanding of how to do single line stuff. However, I'm really struggling with the best way to script things. I know powershell fairly OK, but I'm not sure how to combine them. 

Ultimately, I want to be able to feed in CSV files to do the same command line over and over again. Like a CSV with a list of userIDs and corresponding Folder I want to create in their accounts. Do you know of any resources that can help me learn how to script Box CLI commands? Thanks. 

2 replies

Forum|alt.badge.img

Hi ,

 

Take a look at the PS example here, that should give you some guidance on how to combine the commands with the Box CLI.


Forum|alt.badge.img

This is great, thank you. Hopefully my post and your reply will help others, as I've been searching for this info and never came across this example.