diff --git a/Examples/Nasa/FireBalls.ps1 b/Examples/Nasa/FireBalls.ps1 index 8cd723e..b0582c4 100644 --- a/Examples/Nasa/FireBalls.ps1 +++ b/Examples/Nasa/FireBalls.ps1 @@ -10,4 +10,11 @@ $header = echo ` 'Total Radiated Energy (J)' ` 'Calculated Total Impact Energy (kt)' -Import-Html http://neo.jpl.nasa.gov/fireballs/ 5 -Header $header -FirstDataRow 1 \ No newline at end of file +$splat=@{ + url='http://neo.jpl.nasa.gov/fireballs/' + index=5 + Header=$header + FirstDataRow=1 +} + +Import-Html @splat \ No newline at end of file