winutil icon indicating copy to clipboard operation
winutil copied to clipboard

irm christitus.com/windev | iex loads version **26.03.04** instead of **26.03.13**

Open seanh1995 opened this issue 8 months ago • 17 comments

What part of Winutil are you having issues with?

None

Provide a clear and concise description of the issue.

Description

The command:

irm christitus.com/windev | iex

is currently loading winutil version 26.03.04 instead of the latest release 26.03.13.

It appears the same issue occurs when using the direct release URL with a pipe:

irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 | iex

However, downloading the script first and then executing it works correctly and runs the expected version:

irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 -OutFile "$env:TEMP\winutil.ps1"; & "$env:TEMP\winutil.ps1"

Expected behavior

Both of the following should execute the 26.03.13 version:

irm christitus.com/windev | iex

and

irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 | iex

Actual behavior

Both commands appear to execute version 26.03.04, while downloading the file first executes the correct version.

Additional notes

This may be related to caching or redirect behavior when piping irm output directly into iex.

Paste the full error output (if available) or Screenshot.

when i run irm christitus.com/windev | iex

Image

when i run irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 | iex

Image

working with irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 -OutFile "$env:TEMP\winutil.ps1"; & "$env:TEMP\winutil.ps1"

Image

seanh1995 avatar Mar 15 '26 02:03 seanh1995

dose it work in your vm?

ghost avatar Mar 15 '26 09:03 ghost

same thing sadly. i try all the same commands it the same as my main. irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 -OutFile "$env:TEMP\winutil.ps1"; & "$env:TEMP\winutil.ps1" works

Image

so ill create a fresh win11 from the tool and install and test. just in case there is a problem with that iso that i use on both my main and my vms. ill get back to u with the results.

seanh1995 avatar Mar 15 '26 12:03 seanh1995

so i can confirm that a fresh copy off windows did not fix this issue.

seanh1995 avatar Mar 15 '26 13:03 seanh1995

so i can confirm that a fresh copy off windows did not fix this issue.

irm https://gist.github.com/GabiNun/ead1347c73eaae468b245983002a7648/raw/winutil.ps1 | iex

ghost avatar Mar 15 '26 13:03 ghost

@GabiNun same thing. i truly don't understand why even pulling other links its just pulls the stable release

Image

seanh1995 avatar Mar 15 '26 14:03 seanh1995

@GabiNun same thing. i truly don't understand why even pulling other links its just pulls the stable release

Image
Image

ghost avatar Mar 15 '26 14:03 ghost

@GabiNun same thing. i truly don't understand why even pulling other links its just pulls the stable release

Image

i updated the gist try it now

ghost avatar Mar 15 '26 14:03 ghost

@GabiNun same things. but when i output ur link to a file that works. so there must be a problem with Invoke expressions on my pc.

seanh1995 avatar Mar 15 '26 14:03 seanh1995

@GabiNun same things. but when i output ur link to a file that works. so there must be a problem with Invoke expressions on my pc.

okay than

/close

ghost avatar Mar 15 '26 14:03 ghost

so i have tried this on other pcs today and the same thing is happening. so it not just my machine.

seanh1995 avatar Mar 15 '26 21:03 seanh1995

so i have tried this on other pcs today and the same thing is happening. so it not just my machine.

rerun

irm https://gist.github.com/GabiNun/ead1347c73eaae468b245983002a7648/raw/winutil.ps1 | iex

ghost avatar Mar 15 '26 21:03 ghost

yeah still loads the stable branch and not the dev

seanh1995 avatar Mar 15 '26 21:03 seanh1995

also got someone else to run it and its the same for them

seanh1995 avatar Mar 15 '26 21:03 seanh1995

yeah still loads the stable branch and not the dev

than there is nothing we can do

ghost avatar Mar 15 '26 21:03 ghost

so when i look at the code u sent it has

$script = if ($PSCommandPath) {
        "& { & `'$($PSCommandPath)`' $($argList -join ' ') }"
    } else {
        "&([ScriptBlock]::Create((irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1))) $($argList -join ' ')"

should that not be something like https://github.com/ChrisTitusTech/winutil/releases/download/$latestTag/winutil.ps1

seanh1995 avatar Mar 15 '26 21:03 seanh1995

so when i look at the code u sent it has

$script = if ($PSCommandPath) { "& { & '$($PSCommandPath)' $($argList -join ' ') }" } else { "&([ScriptBlock]::Create((irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1))) $($argList -join ' ')" should that not be something like https://github.com/ChrisTitusTech/winutil/releases/download/$latestTag/winutil.ps1

message me on dis so we can talk properly to each other

ghost avatar Mar 15 '26 21:03 ghost

ok

seanh1995 avatar Mar 15 '26 21:03 seanh1995