diff --git a/Run-FromGithub.ps1 b/Run-FromGithub.ps1 index df35d85..5b56edc 100644 --- a/Run-FromGithub.ps1 +++ b/Run-FromGithub.ps1 @@ -1,4 +1,3 @@ - -$ScriptFromGithHub = Invoke-WebRequest https://raw.githubusercontent.com/tomarbuthnot/Run-PowerShell-Directly-From-GitHub/master/Run-FromGitHub-SamplePowerShell.ps1 -Invoke-Expression $($ScriptFromGithHub.Content) +# oneliner +Invoke-Expression $(Invoke-WebRequest "https://raw.githubusercontent.com/tomarbuthnot/Run-PowerShell-Directly-From-GitHub/master/Run-FromGitHub-SamplePowerShell.ps1").Content