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 $_}




_____________________________________________________________________________________________________________

Regards
Biswajit Biswas
My Blogs|TechnetWiki Ninja