locked
Invalid Verb Switch when run wmic RRS feed

  • Question

  • wmic process call create "cmd.exe /c c:\temp"
    Invalid Verb Switch.

    wmic process call create "cmd.exe /c cd c:\temp"
    Invalid Verb Switch.

    wmic process call create "cmd.exe /c cd c:/temp"
    Invalid Verb Switch.


    WMIC /node:"unknown" /user:administrator /password:123123 pro
    cess call create "cmd.exe /c dir"
    Invalid Verb Switch.

    can not choose absolute uri, why there are still choices?

    • Moved by Bill_Stewart Monday, July 27, 2015 8:20 PM Off-topic/unanswerable drive-by question
    Monday, May 25, 2015 10:53 AM

All replies

  • What is it you are trying to do?
    Monday, May 25, 2015 2:08 PM
  • WMIC is a utility and not a script. You are posting in a scripting forum.

    Your question about URI has nothing to do with WMIC.


    \_(ツ)_/

    Monday, May 25, 2015 2:51 PM
  • try to run command on a group of computers

    can not choose absolute uri, why there are still choices?

    Friday, May 29, 2015 2:38 PM
  • try to run command on a group of computers

    wmic /node:PC1 /user:VMan /password:12345 process call create "cmd.exe /c dir d:\temp & pause"

    Psexec.exe might be easier to use but as JRV pointed out, this is not a scripting question.

    • Proposed as answer by Frederik Long Friday, May 29, 2015 3:57 PM
    Friday, May 29, 2015 3:57 PM