3 ms·
Or a bit shorter: ((iwr wttr.in/Brussels).AllElements | ? tagname -eq pre).outerText We could also wrap it into a function: function Get-Weather($Loc
by ygra 11y ago
Or a bit shorter:
((iwr wttr.in/Brussels).AllElements | ? tagname -eq pre).outerText
We could also wrap it into a function:
function Get-Weather($Location){((iwr wttr.in/$Location).AllElements | ? tagname -eq pre).outerText}