PowerShell Team

Automating the world one-liner at a time…

Latest posts

Apr 27, 2007
Post comments count 1
Post likes count 0

Fun with Paths

PowerShell Team

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...

Apr 26, 2007
Post comments count 0
Post likes count 0

How to tell if you are driving behind Snover

PowerShell Team

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

Apr 25, 2007
Post comments count 0
Post likes count 0

Feedback Request: What language do you use to write Cmdlets?

PowerShell Team

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

Apr 15, 2007
Post comments count 0
Post likes count 0

PowerShell Training

PowerShell Team

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...

Apr 13, 2007
Post comments count 0
Post likes count 0

PowerShell Integrated with Windows WorkFlow

PowerShell Team

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...

Apr 12, 2007
Post comments count 0
Post likes count 0

Active Directory Cmdlets

PowerShell Team

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...

Apr 11, 2007
Post comments count 0
Post likes count 0

Windows Installer Cmdlets

PowerShell Team

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 ...

Apr 10, 2007
Post comments count 0
Post likes count 0

MMS 2007: BOF Transcript

PowerShell Team

<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.  I never thought about doing that before but it was just another example of how the insane flexibility and power of PowerShell saved the day.  Cheers! Jeffrey Snover [MSFT]Windows Management Partner Architect...

Apr 3, 2007
Post comments count 0
Post likes count 0

FullArmor Workflow Studio

PowerShell Team

The MMS 2007 audience at Jeffrey's Advanced PowerShell Scripting talk on Friday got a double treat -- Windows PowerShell instruction by Jeffrey Snover, and an amazing demo of FullArmor's new Workflow Studio by its developer, FullArmor CTO Danny Kim.   Danny created a Windows PowerShell-based tool that lets system administrators automate the management of Group Policy, Active Directory, web servers, and virtual machines with an interface that looks more like Visio than Cmd.exe.   More proof that the uses of Windows PowerShell are limited only by our imagination.   For more information about FullArm...