Hi All,
I am trying to install dot netframework 4.5.2 on remote machine also getting 16389 error
$DotNetInst="E:\temp\IE11andPowershellv4\NDP452-KB2901907-x86-x64-AllOS-ENU.exe"
$process = (Start-Process -FilePath $DotNetInst -Argumentlist "/q /norestart" -Wait -Verb RunAs)
Write-Host -Fore Red "Errorcode: " $process.ExitCode
$process.ExitCode returns 16389
Invoke-Command -ComputerName "Server01" -ScriptBlock { Start-Process -FilePath $DotNetInst -ArgumentsList "/q /norestart" } -Crdential $cred
Can anyone help me out on the same?