<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
    <title>Untitled - pastebin.zyrex.org</title>
    <description>Untitled - pastebin.zyrex.org</description>
    <atom:link href="https://paste.zyrex.org/view/rss/9ac144d8" rel="self" type="application/rss+xml" />
    <link>https://paste.zyrex.org/</link>
    <language>en</language>
<item>
    <title>Re: Untitled updated</title>
    <link>https://paste.zyrex.org/view/98a93004</link>
    <pubDate>Sun, 10 Nov 2019 22:15:58 +0000</pubDate>
    <dc:creator>Walloping Bongo</dc:creator>
    <guid isPermaLink="false">https://paste.zyrex.org/view/98a93004</guid>
    <description><![CDATA[[xml]$Weather = Get-Content &quot;C:\Users\Morten\Downloads\GetMeasuredWeatherData.xml&quot; $IDLygna = &quot;206&quot; $IDBekkehallum = &quot;&quot; $Lygna = $Weather.d2LogicalModel.payloadPublication.siteMeasurements&#8230;]]></description>
    <content:encoded><![CDATA[<div class="powershell" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#91;</span><span style="color: #008080;">xml</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$Weather</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">Get-Content</span> <span style="color: #800000;">&quot;C:\Users\Morten\Downloads\GetMeasuredWeatherData.xml&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #800080;">$IDLygna</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;206&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #800080;">$IDBekkehallum</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #800080;">$Lygna</span> <span style="color: pink;">=</span> <span style="color: #800080;">$Weather</span>.d2LogicalModel.payloadPublication.siteMeasurements <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span> <a href="about:blank"><span style="color: #000080;">$_</span></a>.measurementsitereference.id <span style="color: #FF0000;">-eq</span> <span style="color: #800080;">$IDLygna</span> <span style="color: #000000;">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #800080;">$LygnaAirTemp</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$lygna</span>.measuredValue <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><a href="about:blank"><span style="color: #000080;">$_</span></a>.index <span style="color: #FF0000;">-eq</span> <span style="color: #800000;">&quot;101&quot;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>.innertext</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #800080;">$LygnaRoadTemp</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$lygna</span>.measuredValue <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><a href="about:blank"><span style="color: #000080;">$_</span></a>.index <span style="color: #FF0000;">-eq</span> <span style="color: #800000;">&quot;801&quot;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>.innertext</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #800080;">$LygnaPrecipitation</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#40;</span><span style="color: #800080;">$lygna</span>.measuredValue <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">Where-Object</span> <span style="color: #000000;">&#123;</span><a href="about:blank"><span style="color: #000080;">$_</span></a>.index <span style="color: #FF0000;">-eq</span> <span style="color: #800000;">&quot;2501&quot;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>.innertext</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #008080; font-style: italic;">-BackgroundColor</span> White <span style="color: #008080; font-style: italic;">-ForegroundColor</span> Red <span style="color: #800000;">&quot;Status RV4 Lygnasæter&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #008080; font-style: italic;">-ForegroundColor</span> Yellow <span style="color: #800000;">&quot;###################################&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #008080; font-style: italic;">-ForegroundColor</span> Green <span style="color: #800000;">&quot;Nåværende lufttemperatur på Lygna er $lygnaairtemp °C&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #008080; font-style: italic;">-ForegroundColor</span> Green <span style="color: #800000;">&quot;Nåværende veibanetemperatur på Lygna er $lygnaroadtemp °C&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008080; font-weight: bold;">Write-Host</span> <span style="color: #008080; font-style: italic;">-ForegroundColor</span> Green <span style="color: #800000;">&quot;Nåværende nedbørintensitet på Lygna er $lygnaPrecipitation mm/t&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
</ol></div>]]></content:encoded>
</item>
</channel>
</rss>
