When PowerShell serializes an object (e.g. when using Export-CLIXML) , we first look for serialization directives in the extended type system and then fall back to some default heuristics. We have not documented those serialization directives yet but Hitesh Raigandhi took the time to provide a few examples below.
A few weeks ago, Kenneth Hansen gave a presentation at the Longhorn Server TAP meeting here in Redmond. Attached are his slides and demo scripts.
These are pretty useful if you want to give an overview presentation about PowerShell.
BTW – Some people have asked about this so I thought I would make it clear –
Jeffrey wrote a great post for wizards about the scope of variables in PowerShell, so to maintain balance, I thought I’d weigh in with one for newbies. (Although, to be honest, Jeffrey’s description is clear enough for the rest of us.)
I told you I loved PowerShell… 🙂
Jeffrey Snover [MSFT]Windows Management Partner ArchitectVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
Hello everyone. I’m the programming writer for the PowerShell developer audience and I would like to know what language you use to write cmdlets. This is a very unscientific survey, yet getting your replies will help me decide how to add VB.NET and C++ sample code in the documentation.
PowerShell had a really big presence at MMS2007. There was a good presence at the exhibition center with a number of vendors demonstrating their PowerShell support. We had a good number of dedicated sessions and it was include in quite a few of the other sessions.
Danny Kim, the CTO of Full Armor, has a great 7 minute demo of PowerShell integrated into Windows Workflow up on the DFO Show HERE. He then creates and runs a workflow which takes a CSV file containing a set of WebSites that he wants to create of a set of machines and provisions them.
More great cmdlets from our partners. Quest Software, known for its ActiveRoles Server and PowerGUI, is offering its new Active Directory cmdlets to the community free of charge.
To get them, click: PowerShell Cmdlets for Active Directory.
The ZIP file includes a Setup.exe executable that registers the PsSnapin and adds it to a custom console.
Heath Stewart as recently released a beta of some very cool and useful cmdlets to access WIndows Installer information. It is a very small number of commands that are easy to get your head around and it is quite useful so you should take sometime and try them out.
<Sorry for the delay on this one>
Greg Ramsey and I did a BOF session on scripting and we created a transcript of the demo session which I have attached to this entry. Please note that we forgot to start the transcript at the beginnning of the demo so the first couple of entries are me trying to figure out how to re-run the commands in the command history so that they could be recorded.