1
1
Is there a way that you can get WMIC to prompt you for a node name each time? I will be running a similar command for different machines on different occasions.
I.e. to get a remote computer model.
I would like to run the WMIC as a BAT file which then prompts for a node name?
wmic /node:"PROMPT computersystem list brief /format:list
Thanks,
Shane
From
Set /?
: "The /P switch allows you to set the value of a variable to a line of input entered by the user. Displays the specified promptString before reading the line of input." – Ƭᴇcʜιᴇ007 – 2013-12-11T17:08:15.993