need formatting

Hi ,

 

Function Get-ComInfo { 

 

param( 

 

$computers 

 

 

 "#"*80 

"Server HotFix Report" 

"Generated $(get-date)" 

"Generated from $($env:COMPUTERNAME)" 

"Generated for $Computers"

"#"*80 

 

Get-HotFix -ComputerName $computers

 

 

Get-Content C:\listofcomputer.txt | ForEach-Object { Get-ComInfo -computers $_} | 

Out-File C:\HotFixReport.txt

i have this patch report . only issue is that the output wht i get dosenot fit on txt file.

i need complate output .plz hlp me 

Parents
No Data
Reply Children
No Data