Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: no-s
I script in PowerShell daily and frankly I'm sick of bizarre irregular syntax and constantly having to coerce strange objects with strange side effects and behaviors into doing my bidding.

If you hate it so much, why are you using it daily? I don't think there's anything you can do in a half-dozen line of PS code that couldn't be done just as well with a few hundred lines of VB.

7 posted on 05/06/2015 8:59:13 AM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 6 | View Replies ]


To: tacticalogic; no-s
> I don't think there's anything you can do in a half-dozen line of PS code that couldn't be done just as well with a few hundred lines of VB.

VB LOL ;-)

8 posted on 05/06/2015 10:38:33 AM PDT by dayglored (Listen, strange women lying in ponds distributing swords is...sounding pretty good about now.)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: tacticalogic
If you hate it so much, why are you using it daily?

heheh...because most of the time getting Windows stuff done requires using what Microsoft gave you to do it with, however inferior the solution is. Just an example, my Tier-1 staff got all excited about Circonus for some reason, they're into it like toddlers into cotton candy. Under the integration sugar is Node.js calling windows command line stuff. Who writes the Windows command line stuff? Yours truly - in powershell. This is actually an improvement over the previous Nagios integration - that was written by some name-withheld-to-protect-the-guilty ex-Hotmail DBA who cloned his exemplar VBscript a few thousand times and said "see how easy that was?"

13 posted on 05/06/2015 2:01:27 PM PDT by no-s (when democracy is displaced by tyranny, the armed citizen still gets to vote>)
[ Post Reply | Private Reply | To 7 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson