Wednesday, July 15, 2015

how to get patch information from a remote machine

If you ever want to find out the installed patches on a remote machine, run following command;
psexec \\server wmic qfe >C:\location\output.txt

-    Make user you use an account to run above command with appropriate privileges on the network.
-    Replace machine name with actual machine name
-    Replace C:\location\output.txt to actual location to store the output file

2 comments:

  1. Please advise how you would run this same action for multiple machines?
    Thanks.

    ReplyDelete
  2. Hi there,
    You need to use a text file as input then save the results same as about

    ReplyDelete