Powershell script to get list of top level folders
AnsweredHello. I need a Powershell script (or some other type of script) that I can run to get a list of top level folders for my organization and/or a list of our Box account licenses. I am thinking this can be done using the API.
I need to compare that list to one that we manually maintain in SharePoint.
Thank you for any code samples or suggestions.
-
The Box CLI is a good way to integrate with PowerShell, and allows you to get a list of users and enumerate the top-level folders in each account.
-
I created an app and generated a key but when I run this command from the documentation I get an error. The following command gives me a "Not a true config file." error. I replace config.json with my file which is called 7645002_lu0bc0c2_config.
box configure environments add ~/Downloads/config.json --name CLI
Please sign in to leave a comment.
Comments
3 comments