diff --git a/scripts/Install-WinGet.ps1 b/scripts/Install-WinGet.ps1 index e52ec2e..5d6d1c0 100644 --- a/scripts/Install-WinGet.ps1 +++ b/scripts/Install-WinGet.ps1 @@ -8,7 +8,7 @@ $InvokeRestMethodSplat = @{ Method = 'GET' } $InvokeWebRequestSplat = @{ - Uri = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object ${_.name -like '*.appxbundle'}).browser_download_url + Uri = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object {$_.name -like '*.appxbundle'}).browser_download_url Out = "$env:temp\winget.appxbundle" } Invoke-WebRequest @InvokeWebRequestSplat