cmdlet to run .msp file remotely

Welcome Forums General PowerShell Q&A cmdlet to run .msp file remotely

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

2 years, 6 months ago.

  • Author
  • #56650

    Topics: 16
    Replies: 9
    Points: 0
    Rank: Member

    hi ,

    we are installating office clients on remote machines using OCT (office customization tools ) for this .msp file need to be pushed to remote machines and make them install .

    i'm looking for PS script or cmdlet for the same .

    thank you .

    i tried executing below cmd but hangs with no time limits and errors , please suggest .

    setup.exe /adminfile \\server\share\mychanges\custom.msp.

  • #56653

    Topics: 1
    Replies: 1331
    Points: 1,680
    Helping Hand
    Rank: Community Hero

    What do you use to run this setup on the remote machines?

  • #56666

    Topics: 0
    Replies: 18
    Points: 0
    Rank: Member

    If you don't have anything to deploy your software you're probably best off getting something that can. Or you could use group policies to deploy the software, which still isn't great but it's free and you probably already have it. PowerShell wouldn't be my tool of choice to deploy office software to a whole bunch of machines.

  • #56738

    Topics: 1
    Replies: 111
    Points: 89
    Rank: Member

    I reiterate Sonny's comment that powershell would not be the tool of choice for deploying office. But that aside, if using OCT if you save the MSP in the Updates (I believe, it's in the OCT documentation) folder in your office source files directory or administrative install directory the setup will use the MSP file as intended by just running setup.exe without the need to add any additional command line switches. The same is true for patches that you may want to install at the time of installing office.

    Also take note of the double hop credential issue if you're executing this command against remote hosts as without CredSsp authentication a network share will not be accessible.

The topic ‘cmdlet to run .msp file remotely’ is closed to new replies.

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