irm christitus.com/windev | iex loads version **26.03.04** instead of **26.03.13**
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
when i run irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 | iex
working with irm https://github.com/ChrisTitusTech/winutil/releases/download/26.03.13/winutil.ps1 -OutFile "$env:TEMP\winutil.ps1"; & "$env:TEMP\winutil.ps1"
dose it work in your vm?
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
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.
so i can confirm that a fresh copy off windows did not fix this issue.
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
@GabiNun same thing. i truly don't understand why even pulling other links its just pulls the stable release
@GabiNun same thing. i truly don't understand why even pulling other links its just pulls the stable release
![]()
@GabiNun same thing. i truly don't understand why even pulling other links its just pulls the stable release
![]()
i updated the gist try it now
@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.
@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
so i have tried this on other pcs today and the same thing is happening. so it not just my machine.
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
yeah still loads the stable branch and not the dev
also got someone else to run it and its the same for them
yeah still loads the stable branch and not the dev
than there is nothing we can do
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
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
ok