WMIC help RRS feed

  • Question

  • Dear Fellows,

    I need your support, to provide passwords for respective nodes from text file, could this be possible? I am not very found  of scripting and just a novice

    wmic /node:@"D:\wmic_command_automation\machines.txt" /user:".\Administrator" /Password:@"D:\wmic_command_automation\passwords.txt" qfe get CSName,HotFixID,InstalledBy,InstalledON /format:CSV >>"D:\wmic_command_automation\output.csv"


    Monday, May 21, 2018 8:33 AM

All replies

  • Sorry but this is a PowerShell forum.  In PowerShell we would use "Get-WmiObject" or "Get-CimInstance"

    help about_wmi
    help about_WMI_Cmdlets


    Monday, May 21, 2018 10:31 AM
  • To add detail. WMIS is not a script. It is a system utility.  The Windows General forum is for utility command help.

    Start with reading the help for the program to learn what is possible.

    WMIC /?


    • Edited by jrv Monday, May 21, 2018 11:31 AM
    Monday, May 21, 2018 11:29 AM