Error "command unknown" when using command delete-library-content with many items.
book
Article ID: KB0080633
calendar_today
Updated On:
Products
Versions
Spotfire Server
All Versions
Description
Using command delete-library-content -i with more than 219 items/GUIDs does not work in Windows Command Prompt (cmd) or PowerShell.
This is due to a command-line string limitation in Windows cmd at 8191 characters.
Issue/Introduction
Using command delete-library-content -i with more than 219 items/GUIDs does not work in Windows Command Prompt (cmd).
This is due to a command-line string limitation in Windows cmd at 8191 characters.
Environment
TIBCO Spotfire Server on Windows
Resolution
Running config delete-library-content -i 65fa8a40-ab47-410e-b18b-9978f5bed755, ... for 219 GUIDS, each with 37 characters, makes 219*37=8103 characters which will work. For 220 GUIDs it will end up with an error.