During the 2013 Scripting Games, I won three subscriptions, each good for six months of video training at Interface Technical Training. I have a subscription already so I asked Don Jones about re-gifting my prizes since I don’t need more than one subscription so here’s your chance to win one.
The first video training subscription that I won was given to Rohn Edwards who is the co-founder of the Mississippi PowerShell User Group. We exclude ourselves from the normal swag giveaways we have during our official meetings each month so I wanted Rohn to have one of these. Speaking of the Mississippi PowerShell User Group, our meetings are virtual so anyone from anywhere can attend. Where else can you find a PowerShell User Group whose founders are the 2012 Scripting Games advanced track winner (Rohn Edwards) and the 2013 Scripting Games advanced track winner (Mike F Robbins)?
I tweeted out a mini-competition for the second video training subscription that I won which Rob Campbell won for being the first person to find my script in one of the events where our names were no longer listed on our entries and no one had voted on that particular entry of mine yet.
That leaves me with one voucher good for a six month subscription to Interface Technical Training’s video training collection. Here’s the puzzle you need to solve with PowerShell in order to win:
Your task is to write a short PowerShell one-liner that returns a list of PowerShell cmdlet names that do not have repeating characters in them:
- Only PowerShell commands that are classified as “Cmdlets” should be returned.
- Return only the name of the cmdlets.
- Non-repeating characters means the cmdlet name doesn’t contain two or more of the same characters,
Get-Helpwould not be in the results because it contains two of the letter “E” and
Copy-Itemwould be in the results because it doesn’t contain any repeating characters.
- For the purposes of this contest, case does not matter. “E” and “e” are considered to be the same character. (Thanks to Rob Campbell for bringing this to my attention).
The shortest answer wins! Be aware, a space is a character too. In case of a tie, the person who submits a solution first wins.
The winner will be announced on Thursday, June 27th on this blog and the prize will be awarded at that time.
Note: Entries (comments) will not be made public until after the submission deadline.
The winner is Carlo with the following entry which was 24 characters in length and produced the desired results:
gcm -c c|sls '(.).*1'-N
Thank you to everyone who competed in this contest!