Ejecuta este comando en PowerShell de forma segura:
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/aitor74/prueba/main/Scripts/Get-OSInfo.ps1' -OutFile 'C:\Temp\Get-OSInfo.ps1'; PowerShell.exe -ExecutionPolicy Bypass -File 'C:\Temp\Get-OSInfo.ps1'