mercredi 9 décembre 2009
jeudi 15 octobre 2009
PoshBoard in Get-Scripting PodCast
lundi 12 octobre 2009
PoshBoard Out-PBChart and new PBDataGrid parameter
vendredi 9 octobre 2009
PoshBoard 2.0.1027 available
vendredi 2 octobre 2009
Now MVP PowerShell :)
A great news that confort me to continue working on this fabulous language and promote it as much as I can :)
mardi 29 septembre 2009
PoshBoard 2.0 available !
jeudi 18 juin 2009
PoshBoard Cmdlets Part 1
The first part of the PoshBoard cmdlets tutorial is available here on poshboard.com
mardi 16 juin 2009
Poshboard PowerShell Snapin
General Snapin and objects Architecture
Poshboard comes with a PowerShell Snapin with several cmdlets that generate PowerShell custom objects. These objects are then converted to Silverlight controls in Poshboard. The properties / methods used for these cmdlets are equivalent of Silverlight controls properties.
The logic of Silverlight objects is respected: you’ll find the corresponding properties of Silverlight controls in the PowerShell objects (It ease the learning process as you’ll find Silverlight sample on internet that you can convert to Poshboard PowerShell objects).
Note: not every Silverlight controls properties are available in Poshboard cmdlets, because they are not useful in the context of Poshboard (or due to a lack of time..). But the main idea was to keep the object model simple to understand. In the future, if some properties prove to be really needed, they will be added to the solution easely in future updates.
.NET developer that got previous experience on Silverlight development will also be able to rapidly develop PowerShell controls, as the logic is the same (but with the benefice of the Dynamic and model of PowerShell! )
Snapin relationship with PoshBoard and Silverlight
Poshboard use WCF to enable communicate between Silverlight clients (your web page) and the Poshboard server. PowerShell objects are created by the user scripts, and these objects are then converted to Silverlight control and dynamically added to the Silverlight GUI, along with the results of other PowerShell cmdlets (you can re use any kind of script that you already designed, or downloaded from internet)
Sample Architecture of Poshboard Silverlight conversion of Visifire charts
Snapin Installation
Installing the snapin is really simple, you don’t even need to have Poshboard installed to use it and to design your future Silverlight objects.
Copy the two Dll from the Snapin zip file in a directory of your server or workstataion (Example : c:\ressources)
Launch the following line in a console (with administrator privilege in Vista / Seven / W2K8) :
- For x86 Systems:
c:\Windows\Microsoft.NET\Framework\v2.0.50727\installutil.exe c:\ressources\poshboard.dll
- For x64 systems:
c:\Windows\Microsoft.NET\Framework64\v2.0.50727\installutil.exe c:\ressources\poshboard.dll
You’re ready to script :
- Open a PowerShell console, and type :
Add-PSSnapin poshboard
- List all cmdlets
get-command *PB*
The Cmdlets
Here’s the list of these cmdlets:
We will describe all these cmdlets and the corresponding controls in the next post.
jeudi 11 juin 2009
Poshboard Beta 1 rev 3 available
lundi 8 juin 2009
Poshboard V1 Beta 1 Available Today !
jeudi 30 avril 2009
Poshboard v1 : Technical preview 1
I'll present the following functionnalities :
1) "Live update" with WCF push server mode.
Poshboard now use the polling duplex feature of WCF that let us refresh dynamically script results in widgets (string output, charts, datagrids...). 2) Poshboard Tester widget This widget use this push server mode et let you test your scripts. You'll see different examples and you'll discover a first preview of statistic mode. 3) Poshboard Powershell Snapin : Chart object Poshboard will provide several PowerShell snapins to enhance the experience. This first series of cmdlets let you design and debug your charts widgets, and permit widget objet creation directly in a standard PowerShell console. Pipeline, objet visualization will ease the development process. Feel free to share your feelings and suggestions on the Poshboard Forum ! Your feedback will help me finalize the portal ;)
vendredi 20 mars 2009
Poshboard installation guide available for W2K8 - IIS7
jeudi 12 mars 2009
PoshBoard Community website is open !
jeudi 5 mars 2009
PoshBoard 0.4.2 update (bugfix)
mardi 3 mars 2009
Some infos on PoshBoard 0.4
Edit : release has been updated (0.4.1) to add correction of Christopher. Thank you !
After several discussions with early poshboarders, here is some infos.
How to install the PoshBoard website
a Thread is open on this subject with usefull info on installation. The user guide will be updated soon, you can take the previous version here.
Refreshers
The two refreshers (the one on the Header and the widget) don’t have the same behavior.
Header Refresher
The Header refresher adds an URL parameter : /Default.aspx?Refresh=true
This parameter is checked in each widgets at Postback. If Refresh is true, scripts are launched. The “refresh enabled” button activate this parameter, the other button changes it to false.
edit : a bug is identified when you switch pages, this will be corrected soon.
The Refresher widget
Like a pack of beer, this widget is a simple thing, but it do it's job. This will be much improved in the V1. For now, it takes a small strings in CSV format :
SourceArg;TargetArg
This one create a session variable. As for the header, this session variable is checked when the widgets are reloaded on postback.
if the variable contains something, the widget try to change the the first arg with the second (yes, a basic replace). If nothing is found, nothing changes.
Example
Put this script in the PowerShellOutput widget :
gwmi Win32_logicalDisk –Filter “DriveType = 3” -ComputerName @MachineName@
In the Refresher widget, put :
@MachineName@;MYSERVER001
Important point : the original script (saved in the widget) isn’t modified. This permit to keep the original script and update the page with other parameters without changing sourceArg.
After the Page load, the Session variable is discarded brutally.
The final version of the Refresher will let you define more advanced refresher webforms / silverlight forms, more infos in the near future.
This conclude the first post about PoshBoard 0.4, more to come !
(like the fun story behind these strange variables generated for BlackLight/Flip book widget, filled with £,µ, ¤ or even §…)
lundi 2 mars 2009
PoshBoard 0.4 is out !
vendredi 20 février 2009
PoshBoard 0.4 : webcast on the Techdays 2009 version
PoshBoard 0.4 Techdays 2009 edition from Antoine Habert on Vimeo.
jeudi 19 février 2009
Poshboard 0.4 video available today
vendredi 13 février 2009
Back From Techdays 2009
mardi 3 février 2009
Dashboard in Dashboard : Techdays, Blacklight, new PoshBoard version
I’ll present next week a session on Powershell adn PoshBoard at the French Techdays 2009. I’ll talk about the last development of PoshBoard and new features.
What is scheduled ?
Creation from scratch of a dashboard page on Active Directory, Exchange and Windows 2008, in 10 minutes
PowerShell and webservices : how to use powershell directly from within Silverlight control in PoshBoard ?
New widgets based on the great Blacklight controls :
Yes, this is dashboard in dashboard :)
We’ll discover how to build the widget above in only 4 lines of PowerShell code.
This new version of poshboard will be available just after at codeplex, and several videos in english will be published on how to use, build and share widgets/pages with the coming PoshBoard 1.0 !
More news after the Techdays ;)