Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 258290

Re: issue with HTML output

$
0
0

Hi LucD,

 

Thanks a lot for your quick reply.

 

How can I get this exported to html file ?

 

I tried the below, it is not working

 

$VMInfo=$null

$VMInfo+="<th><center>VM Name</th><th><center>IP Address</th>"

 

Get-VM-Namedb1-PipelineVariablevm|

ForEach-Object-Process {

    $_.guest.IPAddress |

    ForEach-Object-Process {

        $VMInfo+="<th><center>$($vm.Name)</th><th><center>$($_)</th>" | ConvertTo-Html >> D:\report.html

    }

}


Viewing all articles
Browse latest Browse all 258290

Trending Articles



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