PowerShell Team

Automating the world one-liner at a time…

Case Insensitivity

This VIDEO explains the real reason why PowerShell is case-insensitive.  (just joking - the video is deadly funny!). 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://...

Manage winrm settings with wsman provider

PowerShell remoting is built on top of Windows Remote Management (WinRM), which is Microsoft’s implementation of WS-Management protocol. You can use winrm.cmd command line tool to query and manage winrm settings. PowerShell V2 CTP3 contains a wsman provider for you to manage winrm settings with the standard *-Item cmdlets . Let’s try it ...

Checkout Out-WPF

Joel (Jaykul) Bennett has a cool post HERE where he is experimenting with some GUI scripting toolkits and a utility Out-WPF.  You can also checkout a Screencast of Out-WPF working HERE.  It is very cool and very short so give it a look-see. Scripting GUIs with PowerShell is going to be a REALLY BIG DEAL going forward. Jeffrey ...
Comments are closed.0 0
WPF

Invoking Methods Using Variables

You can have a lot of fun with PowerShell.  Makes sense right - we're busting our butts off and we get to define it so why wouldn't we make it fun? Your busting your butts off at your job as well so why shouldn't your tools be fun?  Right? In particular, our late binding of names allows you to do some really cool, really powerful...
Comments are closed.0 0

Scott Herold – Getting Started With PowerShell and PowerGUI in your Virtual Infrastructure

Scott Herold has published the first of a three part series called Getting Started With PowerShell and PowerGUI in your Virtual Infrastructure.  I believe that MOST admins should spend time getting  PowerGUI in focus and especially those admins that are intimidated by the command line interface.  Scott only has part 1 of his ...
Comments are closed.0 0

Revisiting Old Posts: Get-Process | Dir (about ValueFromPipelineByPropertyName)

A number of PowerShell MVPs and PowerShell team members are helping me to compile a table of contents for our blog, which basically means that I’m getting to go back and revisit all of the fun stuff posted to the PowerShell blog over the past few years.  It’s a fun an educational process, and, hopefully, when we’re done the blog ...

PS> Dir –A D The Screencast

I decided to experiment with a screencast.  This is my first and I have no idea what I’m doing so please forgive me if it sucks.  I’d like to know whether you find this format useful or not and then specific feedback about how to make the screencast better (e.g. I recorded it at 1024x768  - is that good or too large?). In my...

Extending and/or Modifing Commands with Proxies

There are so many powerful features in V2, it is hard to know where to begin.  This one is going to blow to top of your head off when you understand what it enables you to do. In this blog, I talk about Proxy Cmdlets which is the ability for one Cmdlet to call another.  You could always do this but to do it right has always been very...

Programming PowerShell_ISE

I recently wrote a blog Powershell_Ise Can Do a Lot More Than You Think where I described the ability to program it to do new stuff.  Karl Prosser has picked up the baton and written some cool scripts programming the PowerShell_ISE to make it do some of the features that he had put into his amazing PowerShell Analyzer.  I encourage ...
Comments are closed.0 0

Diagnosing Here-Strings With PowerShell_ISE

James Brundage posted a blog entry How To Write a Console Application in PowerShell with Add-Type which used a here-string.   One user (lcr) copied and pasted the text and got the following error: Unrecognized token in source text. At line:1 char:72 + Add-Type -OutputType ConsoleApplication -OutputAssembly HelloWorld.exe&#...