TheJumpCloud / support

Public scripts and examples for managing JumpCloud managed systems and service endpoints
267 stars 152 forks source link

Changelog date change #540

Closed kmaranionjc closed 11 months ago

kmaranionjc commented 11 months ago

Issues

What does this solve?

This change fixes issue where a device associated to a command gives error due to duplicate keys in the hash. Another issue is when a dynamic parameter -type is set, it does not get the right targetType.

Is there anything particularly tricky?

N/A

How should this be tested?

  1. First run these 2 commands before importing the fix module: Get-JCAssociation -id YOURSYSTEM and a system bound to a command Get-JCAssociation -id YOURSYSTEM -type system. Both commands should return an error
  2. Import-module
  3. Run same commands, validate the results should not have error