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

PowerShell 5 support broken #57

Open
indented-automation opened this issue Oct 3, 2019 · 1 comment
Open

PowerShell 5 support broken #57

indented-automation opened this issue Oct 3, 2019 · 1 comment

Comments

@indented-automation
Copy link

PowerShell 5.1 on Windows 10.
PSGitHub 0.15.179

The module uses the FollowRelLink of Invoke-WebRequest / Invoke-RestMethod. This does not exist prior to PowerShell 6.

Should you wish to retain support for PS 5, I wrote an implementation of this as an example. You can find that here:

https://github.com/PacktPublishing/Mastering-Windows-PowerShell-Scripting-Third-Edition/blob/25406afc2395e0e5d68e3f26219a4f42b098baa6/Chapter13/2.2.4_Invoke-WebRequest_FollowRelLink.ps1

Thanks!

@felixfbecker
Copy link
Collaborator

felixfbecker commented Oct 15, 2019

Looks good, wanna do a PR?

@felixfbecker felixfbecker changed the title PowerShell 5 support PowerShell 5 support broken Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants