From 2cf3e16cb77c7a85b1184be14d29ffbe2f6ae7e0 Mon Sep 17 00:00:00 2001 From: Vyas Devgna Date: Wed, 27 May 2026 22:54:51 +0530 Subject: [PATCH] feat: add argument forwarding to winutil commands in profile --- Microsoft.PowerShell_profile.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 6166cf3c..25e91558 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -94,11 +94,11 @@ function uptime { } function winutil { - Invoke-RestMethod https://christitus.com/win | Invoke-Expression + & ([ScriptBlock]::Create((Invoke-RestMethod https://christitus.com/win))) @args } function winutildev { - Invoke-RestMethod https://christitus.com/windev | Invoke-Expression + & ([ScriptBlock]::Create((Invoke-RestMethod https://christitus.com/windev))) @args } # Git Shortcuts