Find-TppObject -Class 'X509 Server Certificate' -Recursive
Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'Recursive' Key being added: 'Recursive'"
At C:\Program Files\WindowsPowerShell\Modules\VenafiPS\5.1.1\Public\Find-TppObject.ps1:181 char:13
Find-TppObject -Class 'X509 Server Certificate' -Recursive
Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'Recursive' Key being added: 'Recursive'" At C:\Program Files\WindowsPowerShell\Modules\VenafiPS\5.1.1\Public\Find-TppObject.ps1:181 char:13
The above error is due to line 161 adding the recursive param to the body as there isn't a path specified and then the switch adding it at line 181.