PowerShell PowerShell if(Get-Package | Where-Object name -eq "posh-git") { "Lo tengo instalado" } else { Install-Package posh-git } 12345678 if(Get-Package | Where-Object name -eq "posh-git"){ "Lo tengo instalado"}else{ Install-Package posh-git }