Showing results for September 2007 - PowerShell Team

Sep 26, 2007
0
0

Howto: Invoking cmdlets from within a cmdlet…

PowerShell Team
PowerShell Team

A fairly common question cmdlet developers have is "How do I invoke a cmdlet from within a cmdlet". This usually comes up when converting a script or function into a compiled cmdlet. Marco Shaw is writing a nice series of blog posts covering this topic using the PowerGadgets  cmdlets as examples. Check it out at:  http://marcoshaw.bl...

CMDLETSDK
Sep 24, 2007
0
0

Get-WmiHelp & Search-WmiHelp

PowerShell Team
PowerShell Team

Both PowerShell and Windows Management Instrumentation (WMI) are pretty incredible technologies that can do a lot of amazing things, but we're all human, and keeping an encyclopedic mental reference of all of these amazing things would give Good Will Hunting a headache.  For years, when I used WMI I almost al...

WMI
Sep 15, 2007
0
0

Outputting vs. Emitting Objects

PowerShell Team
PowerShell Team

Sunil wrote: Hello, Firstly i am sorry to post an unrelated question to this post. However i dont know where to post my questions. Here is my questionSay I have 2 cmdlet'sGet-locationGet-serviceWhen I create a test.ps1 file out of these 2 command and then run it, it will always do a Get-service |fl  in the outputIe. A full listing of the second com...

Sep 15, 2007
0
0

Documentation One Liner

PowerShell Team
PowerShell Team

I'm constantly amazed and delighted by what people are able to do with a single line of PowerShell. The System Center Virtual Machine Manager (SCVMM) team just released a PowerShell Cmdlet Reference HERE. That is cool – it allows anyone to go take a look at their Cmdlets to either get a better idea for what SCVMM does (or how it does it) or to l...

Sep 10, 2007
0
0

Impersonation and Hosting PowerShell

PowerShell Team
PowerShell Team

Some of you reported that Impersonation doesn’t work while hosting PowerShell in ASP.net applications.  The problem occurs when PowerShell's pipeline is invoked in the following way from an ASP.NET application:          WindowsIdentity winId = (WindowsIdentity)HttpContext.Current.User.Identity;...

ASP.NETImpersonation
Sep 9, 2007
0
0

Controlling WinDbg with PowerShell

PowerShell Team
PowerShell Team

Roberto Farah runs a Debugging Toolbox blog and recently got turned onto PowerShell. He has now written a set of PowerShell functions (PowerDbg Library) which allows PowerShell to control WinDbg. The effect is (almost) the same as if WinDbg had embedded PowerShell as its own scripting language. Roberto considered a couple approaches before dec...

Sep 1, 2007
0
0

Interview with TechTarget

PowerShell Team
PowerShell Team

I recently did an interview with TechTarget here: http://searchwinit.techtarget.com/originalContent/0,289142,sid1_gci1270125,00.html BTW – it was a relatively long interview and the discussion got digested into the article. It is completely accurate but either I misunderstood one question or the digesting process changed the meaning of one conver...

Sep 1, 2007
0
0

New and Improved Cmdlet Help Editor Tool

PowerShell Team
PowerShell Team

The latest version of the Cmdlet Help Editor has been posted on the same link. It contains a few fixes. I recommend you all upgrade to this version: http://www.wassimfayed.com/PowerShell/CmdletHelpEditor.zip Please let me know if you have any specific questions. Wassim Fayed[MSFT]