PowerShell Team

Automating the world one-liner at a time…

Latest posts

Jan 9, 2009
Post comments count 0
Post likes count 0

Multiple Shell Reference Guide

PowerShell Team

Sylvain Galineau just sent me a pointer to a cool site which has reference information for multiple shells:  CMD, PS, BASH, ORACLE, and SQLSERVER.  It's not complete but it is a nice reference point.  Enjoy it HERE.   Thanks Sylvain! 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.mspx

Jan 9, 2009
Post comments count 0
Post likes count 0

Managing Remote Desktop services (aka Terminal services) using Windows PowerShell

PowerShell Team

Hello everyone, We are pleased to announce that the Beta release of Windows server 2008 R2 supports managing Remote Desktop services using PowerShell.  You can now configure and manage all RDS role services and components using PowerShell.  For example, below are few management tasks that you can now do with PowerShell 1.       View and edit configuration settings of Remote Desktop server 2.       Publish RemoteApp applications 3.       Configure License Server 4.       Create and con...

Jan 8, 2009
Post comments count 0
Post likes count 0

Case Insensitivity

PowerShell Team

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://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Jan 6, 2009
Post comments count 0
Post likes count 0

Manage winrm settings with wsman provider

PowerShell Team

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 out: PS C:\> cd wsman:PS WSMan:\> dir   WSManConfig: Microsoft.WSMan.Management\WSMan::WSManComputerName                          &nbsp...

Jan 5, 2009
Post comments count 0
Post likes count 0

Checkout Out-WPF

PowerShell Team

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 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.mspx

Jan 5, 2009
Post comments count 0
Post likes count 0

Invoking Methods Using Variables

PowerShell Team

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 stuff.  Here is an example: PS> $d=Get-Date PS> foreach ($p in "Day","hour","minute") {"$p :  " + $d.$p } Day :  5 hour :  8 minute :  53 This allows you to write some very fun c...

Jan 5, 2009
Post comments count 0
Post likes count 0

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

PowerShell Team

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 series available and while it applies to Virtual Infrastructure (VMWare), the points Scott makes are generic so I encourage everyone that isn’t already a PowerGUI user to go give it a read.  When you are done then go to PowerGUI.Org, download the latest version and give it...

Jan 5, 2009
Post comments count 0
Post likes count 0

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

PowerShell Team

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 will be a much simpler place to explore. I’m trying to keep my eye on the ball, and compile the table of contents instead of expounding more on previous posts, but some things are just too cool to resist. For instance, check out this post from September 17th, 2006: Get-Process | D...

Jan 4, 2009
Post comments count 0
Post likes count 0

PS> Dir –A D The Screencast

PowerShell Team

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 previous blog – I mentioned that Proxy cmdlets are super important and powerful and that they can look complex but are actually pretty simple if you follow the steps.  I decided that a video was worth a thousand words.  In this screencast (~ 5.5 minutes long), I show ...