Category Archives : Hint

Home  >>  Hint

Cmdlet clashes

On March 6, 2007, Posted by , In Cmdlets,Grrr,Hint,PowerShell,Rant, With 6 Comments

One of the things that struck me whilst developing Grrr as a snapin is: what do you do when you have a cmdlet with the same verb-noun pair as an existing cmdlet? If someone else had a cmdlet called, say, out-banner, and that cmdlet was already loaded in a snap-in…

Debug and Verbose colouring

On January 29, 2007, Posted by , In Hint,PowerShell, With 2 Comments

Over the weekend, I set about writing an IRC chat client/channel monitoring tool in PowerShell (more on that in a day or so) and one of the things I was doing a lot was writing verbose and debug information to the console. By default, Write-Verbose and Write-Debug cmdlets write nothing…