Showing archive results for 2008

Jun 20, 2008
Post comments count0
Post likes count0

Getting Credentials From The Command Line

PowerShell Team

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 credentials via the command line as follows:   PS> $key = "HKLM:\SO...

Get-Credential
Jun 19, 2008
Post comments count0
Post likes count0

Group Policy Health Cmdlet

PowerShell Team

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 ArchitectVisit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShellVisit the W...

Group Policy
Jun 19, 2008
Post comments count0
Post likes count0

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

PowerShell Team

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 the new post-CTP2 things that the PowerShell team is working on. This should be an excellent oppor...

Jun 19, 2008
Post comments count0
Post likes count0

Push-Noun

PowerShell Team

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 to provide that context on the command line.  For instance you navigate into the FIREWALL and...

Push-Noun
Jun 18, 2008
Post comments count0
Post likes count0

PowerShell V1 and V2 Running On WS08 Server Core

PowerShell Team

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 can do if you give them the right tools! Thanks Karl! Jeffrey Snover [MSFT]Window...

Server Core
Jun 17, 2008
Post comments count0
Post likes count0

When Will PowerShell V2 Ship?

PowerShell Team

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 has shown that when we reach this stage of development, it takes us a y...

Jun 17, 2008
Post comments count0
Post likes count0

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

PowerShell Team

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 http://blo...

WMI
Jun 17, 2008
Post comments count0
Post likes count0

Explaining Objects To Non-Programmers

PowerShell Team

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. Anyone that has every tried to explain PowerShell to friends or co-workers will inevit...

Jun 14, 2008
Post comments count0
Post likes count0

Working With Web Services (Post CTP2 V2 Feature)

PowerShell Team

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 to a feature that we were working on and then Hal Rottenberg asked me to blog about some of the ...

Web Service
Jun 14, 2008
Post comments count0
Post likes count0

Block Comments in V2

PowerShell Team

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 "#>".  e.g. <#  This isablock comment#> Happy happy.  Block commen...