Hello Varma ,
Thanks for reaching out in the Microsoft Q&A!
To install Git silently on your target machine using PowerShell, replace C:\path\to\Git-2.39.0-64-bit.exe
with the actual path to your downloaded installer and run this command:
$installerPath = "C:\path\to\Git-2.39.0-64-bit.exe"
# Run the installer in silent mode with specified installation directory
Start-Process -FilePath $installerPath -ArgumentList "/SILENT", "/NORESTART", "/DIR=C:\Program Files\Git" -Wait -NoNewWindow
Please let me know if you have further questions.
If the response helped, do "Accept Answer" and up-vote it to close the thread! Thanks!