Hello all,
I was wondering if I could embed a picture from a url in a ps1 script. I want to use Google graphing api, so I want to embed this graph
like this
Thanks for the help,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!
I was wondering if I could embed a picture from a url in a ps1 script. I want to use Google graphing api, so I want to embed this graph
Code:
[URL unfurl="true"]http://chart.apis.google.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|World[/URL]
like this
Code:
$filelocation = "C:\testscript\pwrshl\asshat.html"
$a = @("Rim","Rob")
$s = "" | Select f, l, e
$s.f = "Tim"
$s.l = "Gallagher"
$s.e = "tim@g.com"
$s1 = "" | Select f, l, e
$s1.f = "Michelle"
$s1.l = "Gallagher"
$s1.e = "Michelle@danati.com"
$a = @()
$a += $s
$a += $s1
$a | Select-Object | ConvertTo-Html -Title "Services" -Body "<H2>My Array</H2> " -head "<linkrel='stylesheet' href='asshat.css' type='text/css' />" | Out-File -Append $filelocation
ConvertTo-Html -Title "Services" -Body "<img [URL unfurl="true"]http://chart.apis.google.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|World[/URL] />" | Out-File -Append $filelocation
Thanks for the help,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!