Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

find-tppcertificate -CreatedAfter returns all certs, not the after date. #117

Closed
doyle043 opened this issue Oct 8, 2020 · 5 comments
Closed

Comments

@doyle043
Copy link

doyle043 commented Oct 8, 2020

find-tppcertificate -createdafter "2020-10-1" returns all certs in the system not the 5 that should be in that range

Environment

v19.3.2

Operating System: Windows 10
VenafiTppPS version:  1.0.0      VenafiTppPS                         PSGallery
PowerShell version: PSVersion                      5.1.18362.1110

Steps to reproduce

Expected behavior

Actual behavior

Screenshots

@doyle043
Copy link
Author

doyle043 commented Oct 8, 2020

Had 1.0 in my profile, uninstalled, reinstalled 2.0.4 and see same behavior.

@doyle043
Copy link
Author

doyle043 commented Oct 8, 2020

Also doesn't matter whether date has leading zero's or not
find-tppcertificate -createdafter "2020-10-07"

@gdbarron
Copy link
Owner

Hey there @doyle043. Can you please post a screenshot of the command with -verbose?

@gdbarron
Copy link
Owner

Nevermind. I see that some filters were never implemented, not sure how they got missed. I'll look to add those in.

@gdbarron
Copy link
Owner

@doyle043, resolved in v2.0.5. #118

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants