Version
This solution applies to all versions.
Issue
When accessing the Carbon Black API using a custom Powershell script, incomplete JSON content is returned.
Symptoms
The JSON content appears malformed, or otherwise incomplete. The issue might also be observed following an upgrade to v5.1.
Solution
This is not a Carbon Black issue. This is a known limitation of Powershell. By design, the maximum data Powershell will deserialize into JSON is 2mb. Refer to the following link for more details: https://stackoverflow.com/questions/16854057/convertfrom-json-max-length