Skip to content

Fix exception when remoting from Windows to non-Windows #760

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

Conversation

SeeminglyScience
Copy link
Collaborator

Checking for DSC capability is currently done by attempting to import a drive qualified path to where we would expect the DSC module. This fails during parameter validation due to an invalid drive.

This change broadens the scope of the catch block to account for this exception.

Checking for DSC capability is currently done by attempting to import
a drive qualified path to where we would expect the DSC module. This
fails during parameter validation due to an invalid drive.

This change broadens the scope of the catch block to account for this
exception.
@TylerLeonhardt
Copy link
Member

Thanks for jumping on this!!

@TylerLeonhardt TylerLeonhardt merged commit 80920c6 into PowerShell:master Oct 8, 2018
@SeeminglyScience SeeminglyScience deleted the fix-remoting-drive-exception branch October 8, 2018 02:01
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

Successfully merging this pull request may close these issues.

2 participants