Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

V2 Interview: Universal Code Execution Model

At TechEd, I did an interview with Kevin Remde where I discussed the V2 Universal Code Execution model in detail. You can see it at : Universal Code Execution Model (UCEM)—a vision of how PowerShell scripts can run anywhere, anytime in just the right

Some WMI instances can have their first method call fail and get-member not work in PowerShell V1

Due to a problem retrieving the available methods in V1 that we have worked around for the upcoming version of PowerShell, you might experience that the first method call to a WMI object fails with a message that mentions: Exception calling GetType()
Posted by PowerShellTeam | 2 Comments
Filed under: ,

When NOT To Use "WHERE"

I've seen a number of scripts that look like this: GET-XXXX | Where {$_.name -eq "foo"} or GET-XXXX | Where {$_.name -like "A*"} Whenever you see code like this, it is a sign that the GET-XXXX is not designed correctly. (NOTE: GET-XXXX is NOT a porn retrieval

PowerShell Abstractions & the Community

Smart guy Don Jones has a good blog entry where he discusses ABSTRACTIONs with the question, " Do I need .NET, WMI, COM, and all that to use PowerShell?" I agree that the correct abstraction for users (admins, etc) is Cmdlets (and Providers [Don didn't

All About Modules

One of the coolest new features of Windows PowerShell is PowerShell modules.  I've just written a tutorial about how to use them on my personal blog . You can check out the full post for more details, but here are some easy things to remember about

VMWare PowerShell Cmdlets Released (And Opportunity to Win $$$$)

On Monday VMWare offically released their PowerShell cmdlets in a ship vehicle called the VMWare Infrastructure (VI) Toolkit. What could be better than that? Yup - you guessed it - it's FREE!! Check out the details HERE . Download the free toolkit HERE

Invoking PowerShell from VBScript (COM)

There are a number of scenarios where you might want to call PowerShell from VBScript. You might already have an VBScript that does some function and you want to update it to include some PowerShell operation but don't want to convert the entire script

Naming Shells and Consoles

Recently a product team asked me what entries they should put into their Program Groups folder. They need an entry to launch their admin GUI and to launch PowerShell with their snapin (they could do this by launching a Minishell which is a non-extensible

PowerShell Build Environment for Windows SDK

The Windows SDK team would like your feedback on what features you would like most in a future Windows SDK. One of your choices is a PowerShell Build Environment. If this is something that would be useful to you, go HERE and take the survey and let them

PowerShell Laptop Stickers

I think I've blogged about this in the past but I keep getting asked about the cool PowerShell sticker I have on my laptop so I'll mention it again. The superstars at Nsoftware are giving away free PowerShell stickers HERE . No laptop is complete without

Shift-FileIndex

Klaus Graefensteiner has a great blog entry HERE where he publishes a great function called Shift-FileIndex. He was scanning files which created names with indexes (e.g. Vacation_0021.jpg ). Being the real world - things went wrong and he had duplicated

PowerShell ASP - Too cool!

For the longest time, people have been asking me when they'll be able to use PowerShell in ASP. It makes perfect sense - PowerShell is a great language that let's you do amazing things quickly. Sadly, my answer has always been: At Microsoft, to ship is

Dude, Where's My Manual?

Windows PowerShell comes with a lot of help files and documents, but, somehow, my favorite and most frequently used help is the help that I get by typing "Get-Help" in the console. And I have always wondered why this help is not readily available as a

Atlanta Talk

I has a blast talking to a group of customers in Atlanta today about where PowerShell is and where it is going. Attached is the deck I presented. Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Posted by PowerShellTeam | 7 Comments

Attachment(s): Atlanta.pptx

Translating Literature Into PowerShell

James O'Neill got it into his head that he could translate literature into PowerShell. He has a hilarious one-line Waiting for Godot and a one screen MacBeth HERE . Dmitry Sotnikov picked up the challenge and has a Hamlet blog HERE . I like the idea and
More Posts Next page »
 
Page view tracker