Generate a Report for installed Hotfix for Bulk Servers using PowerShell

 Function Get``-ComInfo {

 
param(
## Computers
$computers
 
)
 
"#"*80
"Server HotFix Report"
"Generated $(get-date)"
"Generated from $(gc env:computername)"
"#"*80
 
Get-HotFix -ComputerName $computers
 
}
 
Get-Content computers.txt | ForEach-Object { Get-ComInfo -computers $_}




_____________________________________________________________________________________________________________