Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Little More Feedback Would Be Nice #59

Closed
GeorgeSchiro opened this issue Feb 2, 2020 · 2 comments
Closed

A Little More Feedback Would Be Nice #59

GeorgeSchiro opened this issue Feb 2, 2020 · 2 comments

Comments

@GeorgeSchiro
Copy link

These commands offer feedback upon successful completion:

Complete-ACMEChallenge
Export-ACMECertificate (in the form of a PFX file)
Get-ACMEServiceDirectory
New-ACMEAccountKey
New-ACMEOrder
New-ACMEState
Update-ACMEOrder

These don't:

Complete-ACMEOrder
Get-ACMEAuthorization
New-ACMEAccount
New-ACMENonce

It would be nice if at least "Complete-ACMEOrder" offered some feedback.

Thank you again for all of your great effort Thomas. The tool is excellent.

@glatzert
Copy link
Collaborator

glatzert commented Feb 2, 2020

You can use the -PassThru switch (most of the commands implement that switch), which will send the results to the output as well.
Get-AcmeAuthorization should already return something (else $auth = Get-AcmeAuth would not work).
Perhaps, it would be an option to leverage PowerShells Information-Stream, but you need to opt-in to get the outputs of that stream.

@glatzert glatzert closed this as completed Feb 2, 2020
@GeorgeSchiro
Copy link
Author

Got it. Didn't get the purpose of "-PassThru". Do now. Thanks!

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

No branches or pull requests

2 participants