invoke-command

Welcome Forums General PowerShell Q&A invoke-command

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

 
Participant
4 years, 3 months ago.

  • Author
    Posts
  • #18722

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 2
    Rank: Member

    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.

The topic ‘invoke-command’ is closed to new replies.