PowerShell Team
Automating the world one-liner at a time…
Latest posts
Object Serialization Directives
Longhorn Server TAP presentation
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 - please feel free to use any PPT, Script, etc that we post here in any way you like. Jeffrey Snover [MSFT]Windows Management Partner ArchitectVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the Windows PowerShell ScriptCenter at:...
Fun with Paths
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.) There are some newbies here, right? In a thread about Move-Item on Microsoft.Public.Windows.PowerShell, PowerShell tester-extraordinaire Marcel Ortiz Soto suggested a clever method for deleting the current directory from a path. You might want to study this method and store it away for future use. As a bonus, it shows how do string manipulation on PathInfo an...
How to tell if you are driving behind Snover
See attached 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 PowerShellLicensePlate.jpg
Feedback Request: What language do you use to write Cmdlets?
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. The content that I’m writing is the Programmer’s Guide and SDK that you find on MSDN Thank you in advance, and if you have any other documentation questions don’t hesitate to send me an e-mail at stevenel@microsoft.com Steve Nelson
PowerShell Training
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. Any why not, with PowerShell, teams can do a little bit of work and then deliver an incredibly powerful (there is that word again) experience to end users. It is clearly one of the best deals going in terms of benefit per line of code written. Customer feedback was almost uniformly very positive. We got quite a bit of feedback indicating that we ha...
PowerShell Integrated with Windows WorkFlow
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. I just spent a few minutes describing what it does and then decided to erase it because in this case, a picture really is worth a thousand words. Go check it out – it's very cool. Jeffrey Snover [MSFT]Windows Management Partner ArchitectVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the Win...
Active Directory Cmdlets
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. To open the console, click: Start | All Programs | Quest Software | ActiveRoles Server | ActiveRoles Management Shell for Active Directory (beta). Quest graciously used a "QAD" prefix on their nouns, instead of "AD" to leave room for "offic...
Windows Installer Cmdlets
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. In his blog introducing the Cmdlets, Heath states: The goal is to effectively replace the Windows Installer scripts in the Windows Installer SDK as well as msiinv.exe though that's still a ways off. You can see some example one-liners HERE. Another really exciting aspect of this is that Heath is doing this work as a Shared ...