Create a gist now

Instantly share code, notes, and snippets.

PowerShell Oneliner Contest 2016 - my solutions
#happysysadm.com solution 1 - 63 chars
([char[]](71..89)|?{!(gdr $_)2>0}|sort{irm guid.it/api})[0]+':'
#happysysadm.com solution 2 - 61 chars
do{$x=[char]([random]@{}).Next(71,89)}while(gdr($x)2>0)$x+':'
#happysysadm.com solution 3 - 61 chars
''+(ls function:[g-y]:|sls(gdr)-n|sort{[guid]::NewGuid()})[0]
#happysysadm.com solution 4 - 59 chars
''+(ls function:[g-y]:|sls(gdr)-n|sort{irm guid.it/api})[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment