Remote_SilentSoftwareInstall.ps1
|
function Remote-SilentSoftwareInstall { param( [string]$ComputerName, [string]$SoftwarePath ) Invoke-Command -ComputerName $ComputerName -ScriptBlock { Start-Process -FilePath $using:SoftwarePath -ArgumentList "/quiet" -Wait } } |