Jump to content
Software FX Community

marco.shaw

Members
  • Posts

    249
  • Joined

  • Last visited

Everything posted by marco.shaw

  1. Reverse the order of those commands, and it seems out-gauge is completely ignoring the -size parameter alltogether, at least for me. I tried with "-size 200,100" and "-size 400,100" and both are exactly the same size. Can you duplicate?
  2. Solution was: http://www.powershellcommunity.org/Forums/tabid/54/forumid/1/postid/860/view/topic/Default.aspx
  3. What lead up to this? You tried to upgrade to a newer version? Please try re-installing, and this time, make sure to have any PowerShell sessions closed. Give us an update after.
  4. Can you be more specific about what problem you are having? I have the v2 CTP installed, and have played a little with PowerGadgets since, and haven't had any problems (well one with a graph, that I haven't verified worked with PSH v1 yet). Marco
  5. madmagi, Email me at marcos@_oneline.powergadgets.com (remove "_oneline." though). I still feel like there's a synax error in your command. Maybe if we exchange scripts, we can figure this out, at least the cmdlet. As for why the Creator is having issues, I don't know if that's related or not or something else alltogether. Marco
  6. What output do you get now? I'll have to try to find a webservice that requires complex XML as input. I tried it, and just get: PSH> ./invoke.ps1 Invoke-WebService : Unable to connect to the remote server At C:\invoke.ps1:1 char:18 + invoke-webservice <<<< -WSDL http://dcorp77/management/managementservice.asmx?WSDL -Method ProbeService "<?xml versi on=`"1.0`"?><ProbeServiceRequest xmlns:xsd=`"http://www.w3.org/2001/XMLSchema`" xmlns:xsi=`"http://www.w3.org/2001/XMLS chema-instance`" SchemaVersion=`"1`" xmlns=`"http://schemas.compassion.com/management/probeservicerequest/2007-04-01`"> <ServiceName>CRDataProbe</ServiceName></ProbeServiceRequest>" So it appears to accept the syntax for me at least. You are putting everything in one single line? Marco
  7. Could be the formatting is off, but did you use the backslash "\" to escape the quotes? You must use the backtick "`" in PowerShell to escape special characters.
  8. I've seen this type of error when one drops a DLL on top of another DLL, without first unregistering the original DLL properly. Either try a uninstall/reinstall or uninstall/upgrade. Marco
  9. Good ideas... In public forums, I'll use an entry in my signature file pointing back to the PowerGadgets MVP program. I have some other ideas like a MVP desktop background and MVP certificate. I am open to any ideas you may have. Marco PS You can reach me here or at marcos@online.powergadgets.com (remove "online." to email me).
  10. Yes, you will need to upgrade. Email support@online.powergadgets.com (remove "online.") to get the latest download location. As for you -disableauto parameter question, everytime the chart refreshes, things will basically start from scratch: if there's one data point, the graph will only show one, if there's more than one, the graph will show 2 data points. Is that the behaviour you're looking for?
  11. Is there any kind of external access so that we could try it externally by connecting ourselves? Would you be able to try with the invoke-webservice cmdlet to see if it works alone?
  12. NOTE: I tried this with versions 1.0.2806.25474 and 1.0.2855.20057. My entire PowerShell session dies... I'm not quite sure why just yet. Could be an issue with using copy and paste of the code.
  13. Strange, I've never noticed the console flashing during refreshes. Is this still happening? Marco
  14. So along the same lines as Ivan... Drop these lines in a .ps1 script $Url = "http://www.somewebsite.com/dir.txt" $WebClient = New-Object System.Net.WebClient $Random = New-Object system.random $DirResult = $WebClient.DownloadString($Url+"?t="+$Random.nextdouble()) $BytesFree = $DirResult | find "bytes free" $BytesFree = $BytesFree.split(" ")[17] [double]$BytesFree Then pipe that .ps1 to out-gauge. If you decide to leave the original code, and put all of that in a .ps1 script, make sure to invoke the function at the end of the .ps1. Either put the script in your path, or pass the full path to out-gauge.
  15. OK, I'll admit to not knowing exactly what "storyboard" is? I searched a bit. First I though it was Vista's new Aero interface, but I don't think that's it. Search also mentions Windows Movie Maker, and 3rd party apps. So, can you provide a bit more details? What OS exactly? Have you only tried this on one?
  16. David, I'm sorry, have you been provided with a working solution? If not, email me at marcoDOTshawATgmailDOTcom (replace "DOT" with "." and "AT" with "@"), and I'll help with the workaround (after I refresh my memory on how to do it!). Marco
  17. This is a cool PowerShell script that will create a nice GUI help file of all your cmdlets in one place. It doesn't replace the PowerGadgets' help file with the details on each parameter and such, but it is still useful: http://www.powershellcommunity.org/Home/tabid/36/EntryID/7/Default.aspx
  18. Googled for "Provider load failure", and it seems to all be related to WMI issues. Can you check to make sure the WMI service is running?
  19. I've not much to add, except an update: I believe support has provided you with what you're looking for maybe last week or so.
  20. Can I try it somehow? I don't know of a 'public' webservice requiring authentication that I can test. Do you have any strange characters in your username or password? Maybe there's some kind of problem with the string passed... Otherwise, I might be able to whip a test up if I can borrow some C# code online to create my own webservice...
  21. Although it is not documented, invoke-webservice has a -credential parameter. Try this: PSH>$cred=get-credential <enter your username and password> PSH>invoke-webservice -credential $cred -WSDL https://example.com/_vti_bin/QueryData.asmx?wsdl Marco
  22. Another example of the issue: http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=33709 I've not been able to find anything "official", but as you mention, it appears the idle process object has different properties. Thanks for pointing this out. I had never tried this combination of properties. Did you still want to graph this object? I'm sure there's a workaround to manually calculating some of the values and graphing them along with the others. Marco
  23. The dates are static the way I set them up, but I believe you could set them up dynamically in the XML of the template file. How will the gadget be used? Will it be restarted every so often, for example? The gadget would have to be closed/reopened for the dates to get adjusted with the method I'm thinking of (if it works).
  24. These should all work in Vista. I've not tried it though. I can make it look like one gauge by removing the surrounding frame of each innergauge. Will that work?
  25. It takes some playing around with the Creator, but check out the attached. Date0/1/2 can be pretty much replaced with any string.
×
×
  • Create New...