Jump to content
Software FX Community

cosmin.onea

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by cosmin.onea

  1. This issue was solved for the specific article scenario. If I have a property which is a dataset, returned by a web-service invoke, when I set -dataobject to the property I dont get anything displayed. Can you confirm it, please. I do something like: InvokeService.ps1 | out-chart -dataobject Dataset ....... In InvokeService.ps1 I prepare the object as stated in the article. Thanks, Cosmin
  2. I just updated the gadgets online but this issue is still there. Is it fixed?
  3. Hi, I'm trying to call a webservice over ssl but the certificate is expired and I get: Invoke-WebService : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. How can I go around this? Can we ignore the expired SSL certificate. I can do this in C# so we should have an option on the cmdlet to make this work. The web server runs inside the intranet and it requires windows authentication. How do I tell to Invoke-Webservice to use windows authentication?Thanks,Cosmin
  4. I'm trying to add the "Last Update" title to a refreshing chart but the feature doesn't seem to work anymore. I followed the steps in this blog post http://community.softwarefx.com/blogs/powergadgets_team_blog/archive/2007/02/09/Scriptblock-support-in-chart-parameters.aspx I get a runtime exception and the chart crashes. Can you confirm and fix it please? Thanks, Cosmin.
  5. Is this feature still working? It doesn't seem to work in the latest build. I just copied the code from this article and I get a runtime exception and the whole PS crashes. Cosmin.
  6. Thanks. When is the build going to be available? It is not only a single bar actually. Basically, the details in the drill-down chart include more than one bar. It was just an example to make the things more easy. Cosmin.
  7. Thanks, it works just fine.Are these all effective things documented anywhere? Another question: If I have only one row in a dataset I represent on the chart when refreshing the chart, basically it adds the values to the chart generating multiple instances of the bars(in my case).I need only one instance of the bars and when refreshing the bars should be redrawn with the new values. Is there a way to disable this behavior also? Currently I generate an dummy row along with the real data row. Thanks,Cosmin
  8. Hi,I need to draw some chart which includes negative and positive values. out-chart though is adding a secondary Y axis to the chart. Is this the out of the box behavior?How can I specify that I dont need the secondary axis and draw everything relative to the initial Y axis regardless of the serie values?Cosmin.
  9. I added a dummy record in the dataset with "0" as the Total and "" as the code but it looks ugly.Is there any other way? Cosmin.
  10. I created another WS method that gets the parameter and it seems to work fine. The script looks like this: Invoke-Webservice -wsdl http://myserver/LiveMonitoring/MyMonitor.asmx?wsdl -method GetSingleRecordDataSet -parameters $sCode| out-chart -Label ShortCode -values Total -refresh 0:0:5 -topmost -DataGrid_Visible true -Gallery gantt Another question though: The refresh generates new "Total" bars on the chart due to single line dataset. How can I have the Total bar refresh itself without creating aditional bars. Cosmin
  11. Hi I have a master script which passes a param to a drilldown script. The drilldown script looks like: $sCode = $args[0] Invoke-Webservice -wsdl http://myserver/LiveMonitoring/MyMonitor.asmx?wsdl -method GetDataSet | where {$_.ShortCode -eq $sCode} | out-chart -Label ShortCode -values Total -refresh 0:0:5 -topmost -DataGrid_Visible true -Gallery gantt First time it displays data but after 5 seconds it doesnt refresh and the problem is where cmdlet can not execute because the $sCode param is null. Is this an out-chart issue? How can I get around it? Cosmin.
  12. Hi, The version on the trial page is not the right one. Get the latest from here: ftp.powergadgets.com/currentbuild Cosmin.
  13. Hi, JuanC blogged about a new feature "Using conditional attributes" which is a great one, however if I use a drill-down script and the same -group option when I navigate between the views I lose the coloring of the bars in the parent. http://byfiles.storage.live.com/y1pk5FAYs_Y-GUBsrlbSfJv03vqr_9d5w_i_DMXhuUTvkl0iFkCOfvZvdwzNit9lGQxNaBiKYJ_suA When navigating back..... http://byfiles.storage.live.com/y1pk5FAYs_Y-GUrcEiCTtSeQpacnuEU29BdG021wShAYJU6J7n-a_sTX8v1APuMooLbSm9kh6xoLXY I'm going to have a demonstration to other people in the company. Could you address this as soon as you can, please? Thanks, Cosmin
  14. Just before invoking any powergadget in powershell you need to register it. To do that run the following and then try your command:add-pssnapin powergadgets You can have this command in the powershell profile or try to open the power shell console from the powergadgets program group: Start-> All programs-> PowerGadgets -> Powershell with powergadgets Hope this helps,Cosmin.
  15. In the download area I can see: Size: 30.4 Mb | Version: 1.0.2760.16652 | Updated: 7/23/2007 | US Download | UK Download But the actual file that gets downloaded is the previous version.
  16. More testing...... In latest build (1.0.2755.24126) the refresh works unless you run the command from a ps1 script. From the command line works fine, from a script no refresh. Hope that helps to spot the problem.
  17. I'm using 1.0.2588.21909 and the refresh works on my xp sp2 but not when using 1.0.2755.24126. It seems the behavior is random as on zeppex machine 21909 doesn't work. Get-ExecutionPolicyUnrestricted Or........Initially I had 21909 installed. Uninstalled and installed 2755.24126. Is there any setting or config file maybe left after uninstallation that affects the other builds? Cosmin.
  18. Hi, create a ps1 script and add this to it:get-wmiobject Win32_Processor | out-gauge -value LoadPercentage -refresh 0:0:1 run the script, the gauge/chart doesn't refresh.In version 1.0.2588 it works fine.Cosmin.
  19. I have a ps1 script that I run from powershell command prompt. in the script I have: get-wmiobject Win32_Processor | out-gauge -value LoadPercentage -refresh 0:0:1 The gauge or chart(same thing with the chart) doesn't refresh when using PG last version. I rolled back to version 1.0.2588 and it works fine. Somewhere in the middle the refresh feature was lost. I hope it will be fixed quickly; it is something I really need. Cosmin.
  20. -refresh param for out-chart cmdlet doesn't seem to work with this feature. Is it by design?
  21. this is a cool feature! great job! one typo in the last script "-legendbox_itemattributes_-series_visible false" Cosmin.
  22. Wow! That is exactly what I'm looking for. Thanks Juan, excellent work. One correction to the blog post, last command has a typo "-legendbox_itemattributes_-series_visible false". Most probably you wanted to hide the totals in the "FreeSpace" in the Legend. I couldnt figure the syntax out Cosmin.
  23. I also investigated the distribution thing. It seems that I can create shortcuts and put as the command: "c:\......\powershell.exe -command \\server\share\script.ps1 Basically the same thing as in the article you provided but instead of vbs files I'll have .lnk's. I will create a shared folder with all the shortcuts to all the monitoring scripts. Cosmin
×
×
  • Create New...