Install Office 365 ProPlus with powershell

Welcome Forums General PowerShell Q&A Install Office 365 ProPlus with powershell

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
1 week, 2 days ago.

  • Author
    Posts
  • #144428

    Participant
    Points: 53
    Rank: Member

    I have done Office 365 ProPlus installs with Office Deployment Tool (ODT) and I have bat script for is as shown in ODT overview. I would now to do it with powershell, without succeed. Exe and conf files are both on the same folder in the network share and works with bat

    I have tried now these in Powershell

    "\\path\setup.exe" /configure "\\tpath\configuration.xml"

    and

    $OfficeInstaller = '\path\setup.exe'
    $OfficeArguments = '\path\configuration.xml'
    
    Start-Process -FilePath $OfficeInstaller -ArgumentList $OfficeArguments -Wait

    both of these don't start the install of office. Next tips what to try?

  • #144500

    Participant
    Points: 1,633
    Helping Hand
    Rank: Community Hero

    Don't know how the execution from a remote path will work. If you can have the setup available locally,

    Start-Process -FilePath $OfficeInstallerLocalPath -ArgumentList '/configure \\tpath\configuration.xml' -Wait

  • #144894

    Participant
    Points: 53
    Rank: Member

    Thanks for the tip!

You must be logged in to reply to this topic.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort