Welcome to MSDN Blogs Sign in | Join | Help

June 2007 - Posts

Free PowerGadgets

That got your attention didn't it? The guys over at PowerGadgets have introduced a PowerGadgets MVP Program. It sounds like it is modeled a bit after the Microsoft MVP program where if you are influential within the community, you get treated really nice

No PowerShell at LISA

If you were thinking about attending a PowerShell talk at LISA (Large Installation System Administration conference), the answer is NO. Someone suggested that the attendee's of this conference would love a PowerShell talk so I submitted my Monad Manifesto

Partying with Join-Path

Did you realize that you can Join-Path can work on multiple items? PS> Get-Help Join-Path -parameter *path - path <string [] > Specifies the main path (or paths) to which the child-path is appended. Wildcards are permitted. The value of Path

Heterogeneous Job Scheduling With PowerShell

JAMS (Job Access & Management System) is a commercial software product that provides job scheduling for Windows, OpenVMS, UNIX and Linux systems. It now provides full PowerShell support. What does that mean? They say that they support PowerShell in

Do You Really Want To Use –EQ?

Sebastien posted a cool simple script HERE which effectively does a reverse lookup on aliases. Here is the code: function Get-AliasShortcut([string]$CommandName) { ls Alias: | ?{ $_.Definition -eq $CommandName } } Set-Alias gas Get-AliasShortcut Notice

Hosting Windows PowerShell Part 2 of 3

David Aiken is at it again. In his latest segment of the DFO show – Hosting Windows PowerShell Part 2 , he converts the code he produced in Part 1 to use strong types by casting the PSObject.BaseObject. From there, he add the ability to select one the

Why Isn't PowerShell.exe Authenticode Signed?

This question came up on our internal forum last week, and Jeffrey, knowing of my sharp wit and keen hand for prose, asked me to blog about the answer. So here goes: It is Authenticode signed. Just in a special way. The Windows PowerShell update packages

Surfing the Web the PowerShell Way

I spend a lot of my time in the command line (surprised?). That said, I also spend a lot of time surfing the web. Here is a script that I wrote that lets me surf the web from PowerShell: UrlTemplateMap = @{ "bs" = "http://blogsearch.google.com/blogsearch?hl=en&q={0}&ie=UTF-8&scoring=d"

VBScript -> PowerShell

Are you a VBscripter in the process of becoming a PowerShell scripter? Once you become a PowerShell scripter, you'll find incredible gains in productivity but first you have to becoming a PowerShell scripter. There are a few things that can help. First

PowerShell Community Extensions (PSCX) V1.1.1

Keith Hill reports in his blog HERE , that the PowerShell Community Extensions project has release Version 1.1.1. If you aren't already turned on to PSCX, this is a good time to start. This is a maintenance release which resolves 30 issues but it also

Even More PowerShell Training

The 2 day course PYGPOWER – PowerShell for Administrators is being offered in London by Pygmalion. I've been told by a couple of sources that the European demand for PowerShell training is huge – even more so than in the US. I would love to hear any theories

Hosting PowerShell in a GUI – the Movie

You've just got to stop and take 4 minutes to watch David Aiken's demonstration of how easy it is to host PowerShell in a GUI. Seriously, it is a 4 minute video! Even if you aren't a developer, it is worth looking at so you understand the concept and

Demo SQL Provider Code

Hi, Attached is the code we used today in the Web cast for the SQL demo provider. Please note this is not a SQL management provider. It simply allows you to query data from a SQL server directly from the cmd line. Install the Snapin: PS>$env:Windir\Microsoft.NET\Framework\v2.0\.50727\InstallUtil.exe
Posted by PowerShellTeam | 17 Comments

Attachment(s): SQLProvider.zip

PowerShell Analyzer is Now Available for Purchase

Karl Prosser has been doing great things with PowerShell Analyzer for quite some time now and has finally decided to join forces with Dr. Tobias Weltner and go commercial with it. Given the amazing amount of time and creative thinking that Karl has put

Figuring Things Out

In my last blog entry, I showed how a script can get the directory it resides in. Jvierra commented: So being a team member doesn't make one know everything. Sad but true! The interesting thing about this is that at some point I knew this information

Get-ScriptDirectory to the Rescue

The other day I was writing a script and decided that I wanted to break it into a couple of files and have the main script dot-source a library script in the same directory. Here is the problem that I ran into: PS> Get-ChildItem Directory: Microsoft.PowerShell.Core\FileSystem::C:\Temp\test

Using a DSL to generate XML in PowerShell

A while back, Jeffrey posted an article on how to use string expansion and XML casts to build XML documents in-line in a PowerShell script: http://blogs.msdn.com/powershell/archive/2007/05/29/using-powershell-to-generate-xml-documents.aspx The overall
Posted by PowerShellTeam | 2 Comments
Attachment(s): XmlBuilder.zip

PowerScripting Podcast

Jonathon has a PowerShell podcast over at http://powerscripting.wordpress.com/ . It is definitely worth checking out. He has got a ton of great information there. I'm very impressed. Each podcast is composed of a set of segments: News, Resources, Tips,

WMI, PowerShell - How well do they gel?

< Kapil Mathur is in the process of learning PowerShell to work with WMI and wrote up his findings to date – jps> Automating admin scenarios using PowerShell The preferred scripting language for the WMI world has been vbscript. But if you are a

Registration-Free AD Cmdlets

In Dmitry's PowerBlog , he said that one of the biggest complaints they got about their FREE AD Cmdlets was that you had to register to download them. Now you can download them directly without having to register. I must say that I've got mixed feelings

TechEd Webcast Available – PowerShell: The Future of Server Administration

Last week Don Jones gave a great talk at TechEd: Microsoft Windows PowerShell: The Future of Server Administration. Here is the abstract: Windows PowerShell is Microsoft's next generation command line scripting solution which combines the interactivity

Become a HanselFan

I had the pleasure of doing a Channel 9 interview of Scott Hanselman of Corillian and the ever popular HanselMinutes podcast. Scott explains what Corillian does and how they use PowerShell in detail. They are doing a number of very creative things with

Ben Pearce’s Top 5 PowerShell Questions

Ben Pearce manned the PowerShell booth at Tech Ed 2007 in Orlando and posed the top 5 questions he got HERE . Here are they are (navigate to the link to find the answers! J ): How can I learn PowerShell Can I script active directory? Does PowerShell work

What’s for DinnerNow? Alphabet Soup.

DinnerNow is a .NET demo application that uses the latest and greatest .NET technologies. The nice thing about it is that it shows you how to use these technologies working together in the context of a real-world application. The individual teams typically

PowerShell Wins Best of Tech-Ed from Windows IT Pro Magazine!

Windows IT Pro magazine awarded PowerShell the Best of Tech-Ed Award in its category last night. PowerShell won on the basis of strategic importance to the market, competitive advantage and value to the customers. It's wonderful to see the superstars

PowerShell Hits a Million Downloads in the First Six Months

Having come up with the initial idea of Windows PowerShell and then worked on it for a (really) long time, I was very optimistic about how it would be received and widely it would be adopted. I have to admit that even I'm shocked at where we are just

New and Improved Start-Demo

Attached is a new and improved Start-Demo script. Here is a brief list of the differences: Fix bug for demo files that have a single line Intro text explains that this is a REAL demo Cleaned up HELP and added some usage notes Now emulates TYPING by introducing
Posted by PowerShellTeam | 5 Comments

Attachment(s): start-demo.ps1
 
Page view tracker