Hello All,
I'm trying to create a Vertical Gauge chart type using through the PowerGadgets UI. The data is in an Access db locate on the network location. Here are the steps:
1. Launch PowerGadgets
2. Vertical Gauge, Next
3. User Windows PowerShell
4. in the PowerShell Script, I enter the following:
invoke-sql -connection "Provider=Microsoft.Jet.OLEDB.4.0;DataSource=\\TestLocation\Customer\Customer.mdb" -sql "select company,Sales,Budget from Orders where company=wood" | out-gauge -MainValue {$_.Sales} -MainScale_Max {$_.Budget} -refresh 0:0:1
when I hit test the following show in the result:
The term 'invoke-sql' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At line:1 char:11+ invoke-sql <<<< -connection "Provider=Microsoft.Jet.OLEDB.4.0;DataSource=\\TestLocation\Customer\Customer.mdb" -sql
The term 'out-gauge' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At line:2 char:73+ "select company,Sales,Budget from Orders where company=wood" | out-gauge <<<< -MainValue {$_.Sales} -MainScale_Max {$_.Budget} -refesh 0:0:1
Can you please tell me what is wrong with the syntax? Your help/suggestion is greatly appreciated.