Skip to content

Clean up session errors from Get-Command and Get-Help calls #416

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

Closed
daviwil opened this issue Apr 4, 2017 · 0 comments
Closed

Clean up session errors from Get-Command and Get-Help calls #416

daviwil opened this issue Apr 4, 2017 · 0 comments
Labels
Issue-Bug A bug to squash.
Milestone

Comments

@daviwil
Copy link
Contributor

daviwil commented Apr 4, 2017

Looks like our usage of Get-Command to get command information is throwing errors that pollute the $Errors variable:

image

We should probably add -ErrorAction Ignore to all Get-Command and Get-Help invocations.

@daviwil daviwil added the Issue-Bug A bug to squash. label Apr 4, 2017
@daviwil daviwil added this to the April 2017 milestone Apr 4, 2017
@daviwil daviwil changed the title Clean up session errors from Get-Command calls Clean up session errors from Get-Command and Get-Help calls Apr 5, 2017
@daviwil daviwil closed this as completed in 40b9638 Apr 6, 2017
daviwil added a commit that referenced this issue Apr 6, 2017
@daviwil daviwil modified the milestones: April 2017, 0.12.1 Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

1 participant