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 1024×768 – 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 you how to create a function DIR.PS1 which proxies Get-ChildItem and adds a parameter –A which allows you to specify the “D” value which says you want just the directories. In all other ways it works the same.
After I completed the screencast I realized that I didn’t do a very good job highlighting what I did. I have done the following to highlight the power:
PS> .\dir c:\ps,c:\temp,c:\jps -rec -a d
Give it a view and let me know what you think.
[1/5/09 UPDATE – I realize that the text is too hard to read during much of this and will be looking for either better settings or better software. -jps]
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
0 comments