Many good things for the French MS TechDays 2010 in february !
First, you'll be able to try the upcoming 3.0 release of PoshBoard on a MultiTouch screen on the Nelite Stand !
A lot of functionnalities added, for example:
Silverlight 3.0 MultiTouch GUI
New widget management / edition GUI
"BackConfig" rear-panel that let you pre-configure scripts
a brand new "Page" mode that let you put differents instances of widgets on the same page (with independant thread and configuration for each PowerShell script)
Several rendering mode, that can be changed dynamically with a single click: DashBoard, CoverFlow, ListView, ThumbNail, MultiTouch page...
CoverFlow navigation
The video below present some of these new functionnalities, including MultiTouch support:
I'll also speak on 2 sessions, with real PoshBoard parts inside:
A session on PowerShell 2.0 development with Patrick Guimonet. I'll speak about PowerShell integration in .NET web/win application, with a direct feedback from PoshBoard 3.0 development experience.
A session on Hyper-v R2 with my colleague Sebastien Butrau, with a real-life example of PoshBoard 3.0 integration with Hyper-v and other Microsoft virtualization technologies.
PoshBoard 2.5 is an "under the hood" refactoring of PoshBoard that prepares the way for the next major new release.
The next release will introduce several important new features and innovative designs.
PoshBoard 3.0 will be available in 2 months and showed at the next Microsoft French Techdays in February !
What's new in the 2.5 release ?
First thing : I've rebuild the code with a more object oriented approach (PoshBoard <2.5 was clearly a Scripting Guy development :) ). It will be easier for me with this new architecture to adapt the new features that I want to put in the dashboard.
PoshBoard 2.5 is compatible with previous version scripts. I didn't change the PowerShell snapin.
here's the new stuffs :
New "navigation" Silverlight style
New Object oriented architecture in source code
A lot of refactoring, reducing the size and improving the global speed of the portal
Now entirely based on Silverlight : no more asp.net component except silverlight loader and WCF service
Wider event handling (now nearly every control are possible target for PBEvents)
Super Admins management integrated in the config menu
Reworked a bit the Page manager with subtle changes
hope you like this new version ! feel free to ask questions in the forum. All suggestions are welcomed for PoshBoard 3.0 !
In the previous post, we've seen basic events creation, and -script -target parameters. In this article, we will study the parameter called -References and different ways to set Tartget/Reference attributes.
I've posted a new update for PoshBoard 2.0. This update is the last update (except bugfixes) for the 2.0 release.
I've added several enhancements to the PoshBoard cmdlets.
PBEvent Target, References : PSObject or String attributes
You can now specify either string or PSObject (PBElement) as attribute for Target and references properties of PBEvent (with New-PBEvent or Add-PBEvent)
This is useful when you creates controls on the fly without using a variable. Now these 2 cmdlets check if these attributes are PSObjects or strings. If an attribute is a PSObject, it will retrieve the Name property of the corresponding PBElement.
I changed the -LiveUpdate parameter from a Boolean to a Switch parameter. Now you only need to set -LivePlay to set the Live Update mode for the button
I'm working on a "RefreshTime" parameter that will be added in PoshBoard 2.1. This parameter will let you specify the refresh rate for a script when a "LivePlay" button is pressed.
I released today a new update for both poshBoard.Web and Snapin.
The main reason is the need for a little change in PBEvent model in order to support target as PBElement object, and no more name as string. This is more in line with other PBEvent parameter (this is this model that is presented in the Event tutorials).
I corrected some bugs with the portal, and added new parameters for New-PBDatagrid : now you can add the columns of the datagrid directly with new-pbdatagrid
Now that most of the bugs and missing features are in place for a stable realse, I plan to update the version to 2.1 soon if no more *big* bugs are found. Then there will be 2 kind of PoshBoard release :
Fixed build like 2.1, 2.2,etc ... : these will be "Official" releases, every month I think.
0Day builds for the braves who want to test new features as they arrives.
But I'll separate the two release streams in order to let user who want stable PoshBoard version play with "official" release. I'll publish theses 2 type of release on Codeplex.
It get the "Handles" Property of Get-Process and render it as Column
DPNames parameter
The DPNAmes property let you specify an object property or string collection that will be used as Names for DataPoints names. Here we use the "ProcessName" property as DataPoints names source.
If you set only one value for -DPName, the cmdlet will check for a property with the same name in the pipeline object (case insensitive). If a property is found, it uses it as a Name source. If not, it'll assume that the value provided is a string name. If you want to put your own name, be sure to provide as many names as your number of datapoints !
RenderAs parameter
By default, Rendering of series is of "Column" type. You can set the series rendering type with the -RenderAs Parameter.
Another example : here we take the CPU usage and render a StackedColumn Chart. I HardCode the DAtaPoints name (here: "CPU"). You can set the Boolean Legends parameter. If set to true, it renders the Chart Legend.
You can use every other parameter found in the New-PBChart and New-PBDataSerie object (like title, scrollingEnabled and so on...)
Out-PBChartSerie
It renders ChartSerie from a pipeline Object. Usefull to build chart from different objects, with a small amount of code. Here's a sample on how to use it :
By default, PoshBoard datagrid was set up with "AutoSize" true. When you add your columns, they fit the datagrid width without any scrollbar. This is cool for small grid, but when you want to build "big" datagrid, you may want to set your own Columns width, and activate horizontal scrollbar.
The new ColumnsWidth parameter let you do just that. You can set a global width or specific width for each column.
Example :
get-service|out-pbdatagrid -columnswidth 150
This script transform every property of Get-Service in a datagrid, with a width of 150 pixels for each columns:
As you can see, a horizontal scrollbar appears, and every column are 150 pixels wide.
You can also specify custom width for EACH column :