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

Invoke-RestMethod instead of Invoke-WebRequest -UseBasicParsing #144

Closed
couleurm opened this issue Sep 15, 2022 · 2 comments
Closed

Invoke-RestMethod instead of Invoke-WebRequest -UseBasicParsing #144

couleurm opened this issue Sep 15, 2022 · 2 comments

Comments

@couleurm
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I like nitpicking on making one-liners as small as possible

Describe what you'd suggest

The current command to run the tool is

iwr -useb https://christitus.com/win | iex

but you can also do

irm https://christitus.com/win | iex

or even

iex(irm https://christitus.com/win)

or if you live on the edge

iex(irm christitus.com/win)

Depending on how reliable Invoke-RestMethod (irm) is compared to Invoke-WebRequest (iwr), feel free to replace them in the README

@ChrisTitusTech
Copy link
Owner

This is pretty damn awesome. Thanks for this.

@ChrisTitusTech
Copy link
Owner

added to readme Thanks @couleurm

get543 added a commit to get543/winutil that referenced this issue Dec 11, 2022
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