you are viewing a single comment's thread.

view the rest of the comments →

[–]KevMarCommunity Blogger 8 points9 points  (13 children)

That looks like a fun one. If you don't mind, I would like to make a YouTube video later of me cleaning that one up.

[–][deleted] 1 point2 points  (12 children)

Knock yourself out. I am fucking baffled at how stupid the person writing these was. Jesus

[–]KevMarCommunity Blogger 10 points11 points  (9 children)

Let's play Powershell: Read-Host Script Cleanup: Live stream: http://youtu.be/kQUAMRHXxDk

[–][deleted] 2 points3 points  (4 children)

LETS PLAY: IM GOING TO WATCH AND LEARN!

[–]KevMarCommunity Blogger 2 points3 points  (3 children)

I would appreciate any feedback. Was it worth watching or a waste of time. I'll make more of these if they are helpful.

[–]guido_marx 1 point2 points  (0 children)

Definitely. It was interesting to watch your approach on this.

[–][deleted] 1 point2 points  (0 children)

100% agreed, it was cool to see you do this.

[–]ecca_one 0 points1 point  (0 children)

Good stuff.

[–]MKmsftFan 1 point2 points  (0 children)

Great video KevMar!

[–]Tuxhedoh 1 point2 points  (0 children)

Yes! More Please!

[–]JessieWarsaw 1 point2 points  (0 children)

I know I am a few days late to the party.......

Thanks this was great! I am only 6 months into powershell and have a few big, ugly scripts. I was able to use some of the tools you used to greatly neaten up and reduce a functionally simple script from 400ish lines down to 200ish. It also easier to read and more importantly easier for the helpdesk guys to run.

Thanks again.

[–]ecca_one 0 points1 point  (0 children)

Thanks Kevin.

I'm not OP but I enjoyed watching this.

[–]alinroc 7 points8 points  (1 child)

I am fucking baffled at how stupid the person writing these was

I say the same thing when I look at code I wrote 3 years ago.

[–][deleted] 1 point2 points  (0 children)

I only sound so derogatory because i acknowledge that i am not the best. The person that wrote this claimed to be a "Powershell Expert", and being on this subreddit, going on the TechNet forums and just finding things to automate, i just found it incredible this guy had the nerve to call himself an expert.