Prerequisites
Windows
Install the latest version of dotnet core.MacOS & Linux
Install PowerShell. Run thepwsh command to test the installation.
If you encounter issues make sure you installed both
dotnet core and
PowerShell.
Box CLI
To use the script, you will need the Box CLI installed and configured. You can get this done by going through our quick start guide.Configure the script
-
Clone the
boxcliGitHub repository and cd into this example’s folder or download the files fromexamplesdirectory. -
Specify the
folderIDanduserIDparameters to tell the script which folder to scan, and who is the user running the script.If you don’t want to specify the parameters directly in the script, you can either pass them as flags or allow the script to prompt you to enter them. A sample command with flags looks as follows:
Run the script
-
Run the Powershell command.
-
Run the script.
When the script finishes, you will see the following output or a similar one.
Logging
Logs are stored in alogs folder located in the main folder.
You have access to these log files:
Metadata-extraction_all.txtthat contains all log entries.Metadata-extraction_errors.txtthat contains only errors.
