: : Login
menuleft menuright
submenu
 
Oct 18

Written by: cadams
10/18/2007 1:48 PM  RssIcon

Hello there to everyone. I hope everyone forgives the bit of nervousness but it's been sometime since I've had a blog or one as public as this. First off I suppose it'd be proper to introduce myself to you all. I work as a QA Engineer, writing test cases, test documentation, test automation, etc. I'm one of the lucky few (or poor sod) that makes certain software does what it should. Or ideally, it doesn't do what it shouldn't.


I'll be writing about several things I will be writing about many things. Most of which I mention in my blog description. I'll be blogging about: Writing Cmdlets in C#, Pipeline/Runtime, Writing Scripts/Functions, Quality Assurance specific interests (automation, reporting, messaging, etc). In addition to anything I may come across during my general explorations and meddling that I find of interest or blogworthy while using PowerShell.

I want to thank Don Jones who gave me my blog account. Thank you Don! I hope to be a helpful contributer to our growing happy PowerShell community and family. I also want to thank Eric Rachner a long time friend of mine since my HS days who's regular pestering me to start a PowerShell related blog was the original inspiration for this blog.

So a little bit about myself, I've been in the tech industry since 1997. I'm a geek by nature even down to my perenial RPG playing. I have been in QA since my first job and continue to be involved in various QA areas to this day. I have a love for QA and hope to champion QA; which I feel has something of a beleagured relationship with other disciplines among most companies in the tech industry. I originally cut my teeth doing *nix related job and other assorted geekery. One of the things I enjoyed (and continue to this day) is the very robust and mature shell environment on *nix system. One of the biggest areas of dissatisfaction on Windows systems was the rather poor and altogether crappy shell or shell environment. It was a fantastic day when one day cruising the Channel9 site I came across a video that discussed a new prototype shell called "Monad" at the time. I watched the video and was in love. I grabbed the Beta the instance it was publically available and have been using it ever since, through the RC period till the day it shipped 1.0. It became a favorite of mine and after a bit of time I moved onto writing Cmdlets to better suit my own specific needs. I hope to actually start my own company writing and selling various Cmdlets I've written. I'll do my best to keep my entrepeneural blogging to a minimum. I'll have plenty of blog-worthy fodder to post as I debug or develop various Cmdlets for my fledgling software company. All the better to entertain you with instead of the banal dross and minutae of starting up and running your own company.

I originally heard about this community site from the PowerScripting Podcast group on Facebook. Which is a great podcast that I recommend. I also recommend the PowerShell group on Facebook as well. Both are nice groups; albeit a little on the quiet side. I suppose we're all just bashful and shy. I hope in time the groups and this site will grow to be indespensible resources for our growing community. If any of you would like to; feel free to give me a poke, message or friend request on Facebook.

So to start off my first blog post I'm going to talk about doing some tweaks within Visual Studio which folks may find helpful and a few other helpful hints. First things first; do yourself a favor and snag the PowerShell template from Channel9. The biggest advantage that this template provides is the creating the PSSnapIn.cs file. Inside this file it creates the PSSnapIn class for your Cmdlet; it will helpfully pre-populate various strings. These are the strings displayed when you run the Get-PSSnapIn Cmdlet. It will create the Vendor/Description strings (or resources for those that have localization needs); the description string being the one primarily of interest. It also will create a generic AssemblyInfo.cs file which will have the versioning, company information, etc. Pretty usual stuff to be honest.

I usually name my projects in the format of: 'Cmdlet-[Verb][Noun]' for easy recognition. I'd actually like to modify this template, mostly a minor change having do with a persnickity naming detail. However the big change I would like to make with the template would be (and my suggestion to you; take note):

  • Add a post-build event command line similar to: "C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\installutil.exe" "[path]\Visual Studio 2005\Projects\[solution Cmdlet-[Verb][Noun]]\[project Cmdlet-[Verb][Noun]]\bin\Debug\Cmdlet-[Verb][Noun].dll"
  • Debug Settings:
    • Start External Program similar too: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    • (persnickity naming detail is here actually) Start Options: Command Line Arguments: -noexit -command Add-PSSnapIn [cmdlet name]PSSnapIn


I should spend sometime and release a modified template that includes those changes (and a fix for my
persnickity naming annoyance). However those post-build steps and the debug settings should prove to be very helpful when your working out any kinks with any Cmdlet your developing. One day when I am bored, lacking anything else to do or when the annoyance has gotten too much to endure I'll do some reading on how to make a project template and what Visual Studio variables I can use to have The One True PowerShell Cmdlet Template.

One other tool I would really recommend people to use is: Cmdlet Help Editor. This tool can be useful for anyone who has a Cmdlet that is going to be used by someone other than them. Also for doing helpful things like hammering out trivial details like having a functional '-?' operand for your Cmdlet. This tool should be bloody well required for any tech writer working on a PowerShell project. If a suitable editor doesn't exist for Visual Studio 2008 I will be sad. I should check and see if PrimalScript 2007 has a comparable feature. That's one thing that I've found while writing my own Cmdlets. Having solid documentation and help features shows the degree of polish and professionalism one puts into ones work.

It's the little things that matter.

Well I hope folks find that first entry useful and if you have any questions or anything plese feel free to shoot me a message or reply. I hope to follow-up with other useful things which people may find useful and helpful in the future. I hope to have things much smoother and more polished as I get back into blogging more regularly.

Tags:
Categories:

5 comment(s) so far...


Re: Hello World!

PrimalScript doesn't include functionality to create a help file. Well, unless you want to write *a lot* of XML... Use the editor provided by the PowerShell dev team, and you'll be sure to stay within best practices.

By marco.shaw on   10/18/2007 4:33 PM

Re: Hello World!

@marco.shaw: Thanks for the reply. Thanks for the tip about PrimalScript as well. Regrettably I haven't had a chance to play around with it as much as I'd like. :( It was probably just wishful thinking on my part, but I do think having an IDE or some kind of package that serves as a complete solution for Cmdlet creation would be really great if not awesome. Where you can neatly tie in the Cmdlet written with the documentation written for it. Sort of a one-stop-shop workflow during development. I suppose it'd depend on the nature of your development really however. If it's a one-man affair then it'd be valuable; but it'd serve little purpose other than to frustrate the already overworked documentation team or any tech writers assigned to the project possibly.

By cadams on   10/19/2007 6:55 AM
Gravatar

Re: Hello World!

Inchanel bagsline, various series that all sold extreme well, such as the chanel 2.55 and chanel coco line. The detail design which are definitely appear to be quite beautiful and exciting. All girls would love to own suchchanel handbags in hand. They all consider such handbags can make one a higher status and show elegant appearance. Come to our chanel outletonline to get one.




In Gucci handbagsline, the new versions are designed for men series which appear to be exposure, and luxury colorways that designed in order to attract much more consumers. For the gucci bags2011 winter, all bags that come along with extreme colorways for you to choose from. So to make yourself fashion enough then just come to our gucci outlet store .




Herve Leger bandagenbsp;is a well-know cloth brand in the world, all the time it is committed to shaping women’s physical beauty and showing gentle sense of female silhouettes. Wearing;Herve Leger Dressnbsp;which beautiful designed and made by high quality materials will make you look charming and sexy. The winter is on the way, so it is necessary for to to own the herve leger saleto make yourself upstate.




Remember Gucci outletspring series women show;floor that dazzling high-saturation of bright colors, and full of “Forest Queen” feel of the tassels, decorative knot it? The gucci handbags designer embodies the intrinsic taste, gucci bagsis sought after by celebrities and fashion objects.;In winter season, the gucci handbags sale would be a great topic.




For these fashion ladies and wealth women, they all like to make themselves in unique style in a share. Quality and style would be the main point of these handbags, especially for the louis vuitton bags. For so many years, the company definitely released quite a lot of louis vuitton handbags in the market, and follow the fashion trend up to now. always theseLouis Vuitton outlet that sold at high price, however you can get the discount louis vuitton handbags in our bags outlet online.




Offering its just potential purchasers within of the previous just one hundred fifty extended time, Louis Vuitton pouches coupled with components are developed with one another with enhanced concerning the repaired pursuit to the caliber.Louis Vuitton Handbagsaccessories tend to be abominable advised for ambrosial application alternating with appearing a faculty authority that’s a lot of apparently in actuality why a lot of higher profile, ?many of the fashion ladies abounding approved afterwards purses and handbags,louis vuitton wallets and sun shades. To buy the excellent bags louis vuitton outletwould be a great choice.






One way for some people to get duped into buying Gucci handbags is when they hear about and come to bargained items sales, midnight markets, and the like. You'll find there, amasingly low priced, products of all kinds, but rarely will the actual items there be the real thing. Bargains aren't bad on their own, but if you're looking for the real Gucci bags, it's best to find trusted stores. The Gucci outlet store can point you to stores in your vicinity.




Louis Vuitton outlet store as one of the most luxurious brand in the world, is famous for leather goods loved by so many enthusiasts, which brings a huge business opportunity for market. We are professional trader for wholesale Louis Vuitton handbags, aiming at filling large demands as well as leading fashion trends.

By hexi on   9/26/2011 7:57 PM
Gravatar

Re: Hello World!


International brand to emerging coach purses outlet markets as the main theme. European and American brands

in an effort to seek development coach handbags outlet in emerging markets, Italy's Prada and United States

coach followed by the Hong Kong cheap coach purses Exchange is typical. Despite Japan effects of the

earthquake and tsunami, by Mercedes-Benz's name coach purses for sale is Japan fashion week brought a new

atmosphere, and equally fast pace of fashion week. The other hand, international coach factory store brands

on the culture occupied the commanding heights for everyone to see. Unprecedented coach outlet stores luxury

market coach factory outlet showing strong growth. Many international luxury brands in the top Museum

exhibition, through cheap coach active showing its long cultural tradition and to deepen interaction with

consumers. Reporter seen on the COACH's coach outlet online online shop, on the shop mainly sells merchandise to

handbags, cover accessories, jackets, watches, coach factory online jewelry and
href="http://www.coachforsale.org/" rel="nofollow">coach factory online store
other products. COACH also went out for special offers up to 50 Taobao Taobao shop,
href="http://www.coachforsale.org/" rel="nofollow">coach for sale
selling only on Taobao Mall. Taobao Mall cooperation coach

factory outlet
and for the, COACH, President and CEO, Jonathan Seliger, the store will help COACH understand the needs
href="http://www.coachcrossbody.com/" rel="nofollow">coach factory online
and preferences of domestic online shopping customer and accumulated experience in
href="http://www.coachcrossbody.com/" rel="nofollow">coach online store
the field of coach factory outlet online e-

commerce, for future market opening in prepare long-term COACH online sales channels.

By lidi on   2/16/2012 5:00 PM
Gravatar

Re: Hello World!

very good!

By jeremy scott adidas on   3/28/2012 1:34 AM
 
Blogs
  
Search Blogs
  
Archives
  
   
footer Many thanks to our original sponsors: Quest Software • SAPIEN Technologies • Compellent • Microsoft footer
footer