none
deploy Java on all domain machines using script RRS feed

  • Question

  • Hi All,

    I want to install Java in all my domain machines using script, please suggest !

    Note: required only Script to install java on remote machines (domain added)

    Thanks,

    NTRao


    • Edited by NTRao Tuesday, June 27, 2017 2:59 PM
    Tuesday, June 27, 2017 2:58 PM

Answers

  • Hi All,

    Got Solution!!

    Invoke-Command -Computername <IP/System Name> -ScriptBlock {Start-process -FilePath "path.exe" /s -Wait} -Credential $Credentials

    Thanks,

    NTRao

    • Marked as answer by NTRao Tuesday, July 4, 2017 3:35 PM
    Tuesday, June 27, 2017 9:00 PM

All replies