I am attempting to use WMIC to obtain the value ONLY for a program like:
wmic product "Symantec Endpoint Protection" get identifyingnumber /value
But this command gives me "identifyingnumber=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
How do I get just the value without the "identifyingnumber" in its return. My goal is to take that value and attach it to another script like so.
msiexec.exe /q/x %Identifyingnumber%
Microsoft Legacy OSActive DirectoryMicrosoft Server OS