Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Hot Fix If exists

$
0
0

I'm working on a script that will pull the hotfixes installed on a server. The hotfixes i'm looking for is in a text file. 

I use get-content to load the hotfix KB numbers into an array. 

What i want to do is run through the array and test for the hotfix information if one of the hot fixes in the list is not on the server, I want it to show me that.

I was thinking of using if exist, but not sure how to make this work. Any ideas?


Paul Arbogast


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>