invoke-command

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Joshua Taylor Joshua Taylor 2 years, 3 months ago.

  • Author
    Posts
  • #18722
    Profile photo of Itamar Tziger
    Itamar Tziger
    Participant

    invoke-command -computername $computer -scriptblook { Start-Process -FilePath "c:\CrystalDiskInfo\DiskInfo.exe" -ArgumentList "/CopyExit" -Wait}

    this does work for me

    pleas help

    Tnx
    Itamar

  • #18723
    Profile photo of Joshua Taylor
    Joshua Taylor
    Participant

    I assume you mean it doesn't work. Including the error message would help to determine where the problem lies. If this was copied and pasted I can tell you scriptblook is not a valid parameter.

You must be logged in to reply to this topic.