marco.shaw
-
Posts
249 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by marco.shaw
-
-
-
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.
-
Are we gonna be able to use V2 with powergadgets? I installed v2 but saving and packaging results in error.
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
-
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
-
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
-
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.
-
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
-
We should use the Gold MVP logo, if we use the logo in a signature, a URL should be enabled to click back to powergadgets, etc.
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).
-
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?
-
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?
-
Contents of Bubble.ps1
-----------------------------------------------------
$condition = {
if ($_.Role -eq "R0") {
0;
} else {
if ($_.Role -eq "R1") {
1;
} else {
2;
}
}
}
import-csv C:\Data\BubbleData.csv | out-chart -gallery Bubble -values SuccessPerc,Salary -xvalues Age -axisY_Title_Text "Success Percentage" -axisx_Title_Text "Age" -axisy2_Visible false -axisX_Min 10 -axisX_Max 50 -axisy2_Min 0 -axisy2_Max 4000 -conditionalattributes_0_color red -conditionalattributes_1_color yellow -conditionalattributes_2_color green -condition $condition -conditionalattributes_0_text "Role 0" -conditionalattributes_1_text "Role 1" -conditionalattributes_2_text "Role 2" -legendbox_itemattributes_-series_visible false
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.
-
Those solutions did work however I got the powershell console flash for a quick second every time the refresh happened.
Strange, I've never noticed the console flashing during refreshes. Is this still happening?
Marco
-
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.
-
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?
-
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
-
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
-
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?
-
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.
-
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...
-
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
-
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
-
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).
-
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?
-
It takes some playing around with the Creator, but check out the attached. Date0/1/2 can be pretty much replaced with any string.
How to give -size in -group
in PowerGadgets Discussion
Posted
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?