i will create(with powershell script) a table and add the result(Positive/negative) to it. i have a Text File computers.txt, in it are all Pcs listed.
like this
- CSNAME----------Hotfixinfo
- PC1-------------is installed
- PC2-------------is not installed
- PC3-------------is installed ect.
with my actual Script: i can only see the positive Result:
get-content .\computers.txt | Where {$_ -AND (Test-Connection $_ -Quiet)} | foreach{ Get-Hotfix -id KB4012212 -computername $_ | Select CSName,HotFixID | convertto-csv | out-file "C:\$_.csv" }
Aucun commentaire:
Enregistrer un commentaire