From 524ad65c35cc7e826c4c0052a2040968ae894e1f Mon Sep 17 00:00:00 2001 From: dfinke Date: Thu, 3 Mar 2016 17:07:37 -0500 Subject: [PATCH] Layout example better --- Examples/Nasa/FireBalls.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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