function Start-V2ray { & "D:\v2ray\v2ray.exe" run -c "D:\v2ray\config.json" } Set-Alias v2 Start-V2ray function Start-Hy { param ( [Parameter(ValueFromRemainingArguments = $true)] [string[]]$Args ) $hyPath = "D:\bin\hysteria.exe" $defaultConfig = "D:\bin\hysteria.yml" if ($Args.Count -eq 0) { & $hyPath -l debug -c $defaultConfig } else { & $hyPath @Args } } Set-Alias hy Start-Hy