snazy2000 / SnipeitPS

Powershell API Wrapper for Snipe-it
MIT License
181 stars 47 forks source link

Get-SnipeitLicenseSeat prompting for id when using -all #234

Closed yaroz closed 3 years ago

yaroz commented 3 years ago

Just updated to 1.10.205 to verify...

When I do Get-SnipeitLicenseseat -id 86 -limit 1000 -all, it prompts for the id. If I take the -all out, it gets all 1000 seats fine.

PetriAsi commented 3 years ago

Thanks for reporting this, I have look at this closer. I already have an idea how to fix this, cause of this is that id parameter gets dropped out on recursive calls.

PetriAsi commented 3 years ago

@yaroz this is fixed on latest release

yaroz commented 3 years ago

@PetriAsi Thanks.