Invoke-Command

Welcome Forums General PowerShell Q&A Invoke-Command

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

 
Participant
1 year, 7 months ago.

  • Author
    Posts
  • #68889

    Participant
    Points: 1
    Rank: Member

    What is the best way to run this on multiple computers using Powershell v2
    invoke-command -computername msiexec.exe /i CiscoJabberSetup.msi /quiet CLEAR=1

  • #68898

    Participant
    Points: 0
    Rank: Member

    If you have SCCM or Group Policy in your organization, I would push out the msiexec command with one of those toolsets.

    Do you have PSRemoting enabled in your environment? The more "Powershell-y" options for what you're looking to do involve either PSRemoting or PSExec. Comparison linked here

The topic ‘Invoke-Command’ is closed to new replies.