I know there are varioud menthods for finding the hotfix installation status, but I felt this as very easy one.
To find the hotfix installation status on local machine:
wmic qfe where hotfixid="KB958644" list full
To find on a remote machine:
wmic /node: qfe where hotfixid="KB958644" list full
To find on list of machines:
o Place all machines into a text file(machine.txt)
o Run the below batch file
=== File name: get-hotfix-status.bat ===
echo off
for /f "tokens=* delims= " %a in (test.txt) do wmic/Node:%a qfe where hotfixid="KB958644" list full
=== End of file ===
Please comment if you know any better way.
Happy Learning,
Sitaram Pamarthi,
To find the hotfix installation status on local machine:
wmic qfe where hotfixid="KB958644" list full
To find on a remote machine:
wmic /node:
To find on list of machines:
o Place all machines into a text file(machine.txt)
o Run the below batch file
=== File name: get-hotfix-status.bat ===
echo off
for /f "tokens=* delims= " %a in (test.txt) do wmic/Node:%a qfe where hotfixid="KB958644" list full
=== End of file ===
Please comment if you know any better way.
Happy Learning,
Sitaram Pamarthi,
No comments:
Post a Comment