Welcome to MSDN Blogs Sign in | Join | Help

June 2008 - Posts

PowerPack Challenge '08

Quest is holding a PowerGUI scripting contest starting tomorrow July 1. If you are not familar with PowerGUI, it is a PowerShell scripting and execution GUI. If you aren't already a PowerGUI user, here is a great opportunity to kick the tires. If you
Posted by PowerShellTeam | 3 Comments
Filed under: ,

New AD Cmdlets from Quest

Rod Trent from MyITForum.com has the details HERE Enjoy! Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.msp
Posted by PowerShellTeam | 0 Comments
Filed under: ,

#7 Best all time Microsoft Product

Check out what EWeek has declared to be the #7 Best Microsoft Product: http://www.eweek.com/c/a/Security/The-Best-and-Worst-Microsoft-Products/8/ And that is Version 1 - wait until they see Version 2! SNOOPY DANCE! Jeffrey Snover [MSFT] Windows Management

SQL Use of MiniShells

The SQL team has been receiving a lot of bashing lately over some of the decisions they made integrating PowerShell into SQL 2008. I thought I would take a couple minutes to clarify a few things, eat some sin and talk about a constructive engagement model
Posted by PowerShellTeam | 19 Comments
Filed under:

Getting Credentials From The Command Line

When you use the Get-Credential cmdlet, you get a GUI dialog box to enter the credentials. This is the "Common Criteria Certified" way of handling credentials. It is also a pain in the butt at times. If you are an admin, you can alter this and request
Posted by PowerShellTeam | 12 Comments
Filed under:

Group Policy Health Cmdlet

SDMSoftware has just released a Group Policy Health Cmdlet HERE . They have a great, high-quality, 9 minute DEMO VIDEO showing what the cmdlet does and how to work it. Nice stuff. Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows
Posted by PowerShellTeam | 1 Comments
Filed under:

Windows PowerShell Virtual User Group Meeting #6 - June 24th.

Marco Shaw is hosting the 6th PowerShell Virtual User Group meeting on June 24th. (See http://marcoshaw.blogspot.com/2008/06/windows-powershell-virtual-user-group.html for details and sign-up). He has graciously allowed Wassim and I to present some of

Push-Noun

We looked at a lot of CLI models when designing PowerShell.  One of them was netsh.  One of the things I had a love/hate relationship with was netsh's use of context.  In netsh, you can set context via navigation and then you don't need
Posted by PowerShellTeam | 4 Comments
Filed under:

Attachment(s): push-noun.ps1

PowerShell V1 and V2 Running On WS08 Server Core

Yup- that's right. Check it out at superstar Karl Prosser's blog HERE . He even has a video of it working. The blog is somewhat of a tease in that he is going to wait till tomorrow to tell us how he did it. I'm constantly amazed by what the community
Posted by PowerShellTeam | 0 Comments
Filed under:

When Will PowerShell V2 Ship?

By far, the most frequently asked question at TechEd 2008 was, "When will PowerShell V2 Ship?". We are expressly prohibited from answering that question and I know that that can be frustrating. I can say this: We are now feature complete with V2. History

Windows, PowerShell and WMI - Unveiling Microsoft's Best Kept Secret

I mentioned that one of my favorite TechEd 2008 talks was Ben Pearce's talk, "Windows, PowerShell and WMI - Unveiling Microsoft's Best Kept Secret". Attached is Ben's presentation. You can get his demos at the following locations: http://blogs.technet.com/benp/archive/2008/06/12/tech-ed-2008-demo-1-administering-windows.aspx
Posted by PowerShellTeam | 1 Comments
Filed under:

Attachment(s): SVR387_Pearce.pptx

Explaining Objects To Non-Programmers

One of my favorite TechEd 2008 talks was Ben Pearce's talk, "Windows, PowerShell and WMI - Unveiling Microsoft's Best Kept Secret". It was a great talk all up but the one thing I walked away saying, "I've got to steal that", was Ben's explaining of Objects.
Posted by PowerShellTeam | 5 Comments

Attachment(s): WhatAreObjects.pptx

Working With Web Services (Post CTP2 V2 Feature)

Let me start by first apologizing for sharing some information that you are not going to be able to go out and try right away.  During one of the interactive Q&A sessions at TechEd, people asked about working with Web Services.  I referred
Posted by PowerShellTeam | 8 Comments
Filed under:

Block Comments in V2

Smith Catar was looking at my Tech Ed demos and noticed that I used block comments. These are not in the CTP that you have so I guess I sorta let this one leak out. Yes - V2 will have BLOCK COMMENTS!!! Block comments start with "<# and end with "#>".

Get-OSSku.ps1

Nitin Bhat the WMI PM recently pointed HERE to answer the question, how do know what OS SKU a machine is running? You can run the expression $((gwmi win32_operatingsystem).OperatingSystemSKU) to the the value and then look it up on that table. I decided
Posted by PowerShellTeam | 3 Comments
Filed under:

Attachment(s): Get-OSSKU.ps1

Best of Tech Ed: Breakthrough Product of the year => PowerGUI

The Best of Tech Ed 2008 were awarded and PowerGUI won Breakthrouth Product of the Year . WOW what an honor and acknowledgement of great work! Congratulations to Dmitry, Kirk and the rest of that team! You guys have brought a lot of great visibility to
Posted by PowerShellTeam | 1 Comments
Filed under: ,

PowerShell & OpenXML

Eric White just posted an amazing set of Cmdlets on CodePlex .  They allow you to use PowerShell to manipulate OpenXML documents to do all sorts of fun things, like create graphs from the output of PowerShell, automatically generate documents from
Posted by PowerShellTeam | 2 Comments
Filed under:

Yes, But What About The FLAVOR?

Kirk Munro posted a blog entry HERE saying how thrilled he was at level of presence PowerShell had at TechEd 2008. It was a VERY good TechEd for PowerShell. There were lots of breakout sessions, lots of hands on labs and interactive Q&A, lots of vendor
Posted by PowerShellTeam | 1 Comments
Filed under:

TechEd: MGT384 What's Coming In PowerShell V2 - DEMOs

Attached are the demos I used in that talk. Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.msp
Posted by PowerShellTeam | 1 Comments
Filed under:

Attachment(s): WhatsComingInV2Demos.zip

TechEd: MGT384 What's Coming In PowerShell V2

Attached are the slides I presented at TechEd yesterday. Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.msp

PowerShell Eventing QuickStart

The second CTP of PowerShell V2 (CTP2) introduces another new feature called PowerShell Eventing. PowerShell Eventing lets you respond to the asynchronous notifications that many objects support. We didn’t get a chance to fully document these cmdlets
Posted by PowerShellTeam | 6 Comments
Filed under:

Windows PowerShell Sessions @ TechEd IT Pro

Windows PowerShell Sessions Breakout Sessions MGT253 Introduction to Windows PowerShell Tuesday, June 10 1:15 PM - 2:30 PM, S220 C Speaker(s): Wassim Fayed Level: 200 - Intermediate MGT384 What’s Coming in Windows PowerShell V2? Wednesday, June 11 1:00
Posted by PowerShellTeam | 3 Comments
Filed under:

PowerShell Access to Windows Mobile Devices

Check out Osin Grehan's new Windows Mobile PowerShell Provider . It allows you to mount your mobile device, copy and convert files to/from it, get device information, start/stop syncing, and invoke applications. I can't want to give it a try! Cheers!

CredSSP for second-hop remoting

PS C:\> $r = New-Runspace PS C:\> icm $r {Get-PfxCertificate c:\monad\TestpfxFile.pfx} Enter password: Invoke-Command : The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be
Posted by PowerShellTeam | 1 Comments
Filed under:

V2: Custom Enums

Once again MOW proves what a clever guy he is. Check out his blog entry PowerShell V2 CTP2: making Custom Enums using Add-Type . He shows how you can make your own enums using a very simple function he wrote (Add-Enum) which leverages our new Add-Type
Posted by PowerShellTeam | 2 Comments
Filed under:

Show-PowerShell / Hide-PowerShell

During the Week of WPF, someone requested an example of how to minimize the PowerShell window. Here's a quick module to make it happen.  Copy/paste the code below into Documents\WindowsPowerShell\Packages\PowerShell\PowerShell.psm1 $script:showWindowAsync
Posted by PowerShellTeam | 5 Comments
Filed under:
 
Page view tracker