chocolatey / ChocoCCM

PowerShell module for interacting with Chocolatey Central Management
Apache License 2.0
9 stars 8 forks source link

[BUG] Get-CCMSoftware Not Returning All Software #58

Open jmkloz opened 3 years ago

jmkloz commented 3 years ago

What You Are Seeing?

Get-CCMSoftware is not returning all software in CCM

What is Expected?

Get-CCMSoftware should return all software in CCM

How Did You Get This To Happen? (Steps to Reproduce)

Get-CCMSoftware

Issue

Get-CCMSoftware calls on 'api/services/app/Software/GetAll', which appears to limit the max results to 10 by default. Instead, it should call on '/api/services/app/Software/GetAllWithoutFilter' when not using the -Software, -Package, or -Id switches.