Shane 的个人资料Knowledge Is Power(shell...照片日志列表 工具 帮助

日志


1月19日

Convert From-Markdown

A colleague at work came to me with a new idea for creating html documentation using lightweight text files and a simple markup language.  The project was called Markdown by John Gruber.

This was fine and all but I have been trying to find a way to do everything I come across in Powershell just to get practice in solving different problems using the language.

I quickly found a project that ported the Perl based project to .NET by Milan Negovan called Markdown.NET.  Using the binary from this project I simply created a wrapper around the core method, gave it some advanced function documentation and gave credit to the two parties involved.

The next step would be to port it over to purely Powershell but I really don't feel like reinventing the wheel today ;)

The module .zip can be found here.  It requires CTP3 of Powershell V2.  Try it out.  If you find any bugs, have any comments or suggestions, please let me know.

-Shane

1月17日

nSoftware Powershell Server V2 Part 2

So far so good with Powershell Server from nSoftware.  Found a couple issues but for the most part it is handling just about everything we throw at it.  We rely heavily on remote runspaces and the performance seems to be better than remoting in CTP1 of Powershell.
 
The really nice thing about Powershell Server that I have been enjoying is the event logs.  Every command that is run in a remote runspace is logged which makes troubleshooting and debugging much easier.  We had a script that was throwing a strange error and when I went to check what was being run on the remote side I noticed that a variable wasn't making it to the other side.  Come to find out the string being sent over was double quoted without escaping the variable by mistake.
 
Overall, I am pleased with Powershell Server.  Good features.  Good price.  Support has been responsive.  It is looking like this will get us by until V2 of Powershell goes gold.
 
Part 3 I will attempt to use CTP3 of Powershell over Powershell Server to overcome the lack of support for remoting on Windows XP and Windows Server 2003.
 
-Shane
1月2日

Looking Ahead to 2009

I'm having my first sleepless night of 2009 thinking about what I want to accomplish this year.  Some personal. some work related.

  1. Complete "Version 2" of our automation solution at work.  "Version 1" has been focused purely around building a solid Powershell framework and has us moving in the right direction.  Looking at VMWare Lab Manager to really take it to the next level.
  2. Get some paperwork behind my knowledge.  Targets are CCNA, MCSA/E and MCAD.  I tend to learn stuff without taking tests to show I know the subject.  I think employers would rather have experience over certs but the wife wants me to get them anyways.  Better keep her happy ;)
  3. Start digging into a couple technologies that I use but am not intimate with.  These include C#, SQL Query, ASP.NET, Web Services.  Just those (and of course Powershell) should keep me busy this year.
  4. Get some landscaping done around the house.  Dirt and rocks are getting really boring to look at.  Need to spice things up a bit.
  5. Teach my son how to play all the sports I know.  Time to start finding out which ones he likes or is good at.
  6. Do what I can to help my wife get through another year of school on her way to a degree.

-Shane