If you have been an administrator for any length of time you have found yourself being unable to script an installation or change software because you don’t know what the switches are for that software. We recently had the same problem and found a very cool solution.
We needed to run the new Microsoft Windows Update tool through command line but it is officially unsupported and therefore undocumented… very annoying. The tool is called USOClient.exe and when you run USOClient.exe /? or /??? or ? you get nothing.
SysInternals (now operated by Microsoft) has an awesome free tool that lets you see all of the ASCI text strings inside an .EXE and here is how you use it:
STRINGS64 <NAME-O-EXE>
Remember that the coders of the software are human and prefer plain English so they likely used simple verbs you can understand for switches.
We used this method to determine the switches for the command line of Windows Update and have the results HERE if you are interested.
This website uses cookies.