Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11799
| From | "Mayayana" <mayayana@invalid.nospam> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: What should one read to learn VBScript? |
| Date | 2018-01-19 17:06 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <p3tq53$8g6$1@dont-email.me> (permalink) |
| References | <p3nh49$igo$1@news.albasani.net> <p3nptm$729$1@dont-email.me> <p3tntd$uhe$1@news.albasani.net> |
"Peter Percival" <peterxpercival@hotmail.com> wrote | What should one read to learn about PowerShell? I am new to PowerShell | but an experienced programmer. | Maybe someone else can answer that. Or there may be a PS group. As far as I'm concerned, life's too short for command line. PowerShell was designed to appeal to Linux people who are used to working in console windows with commands that are standalone applets. But in this case the applets are actually .Net programs. So .Net is a requisite. Imagine commandline Java. If that sounds like fun then maybe you want Powershell. But as a system of commandline applets it's really all about learning the commands rather than programming. Like WSH and WMI before it, PS is mainly aimed at admins. WMI turned out to be a vast system with very little value. WSH turned out to be a high-level programming system due to COM integration. PowerShell? It might be what you need, but you never did say anything about what you want to accomplish. If you want to get an admin IT job then definitely you want PS. Otherwise? Here's an example that might give you an idea of how it works. It's a discussion about searching for a word in a number of files. https://stackoverflow.com/questions/8153750/how-to-search-a-string-in-multiple-files-and-return-the-names-of-files-in-powers In VBScript that would be done in a way that's vaguely similar to the API: Get a folder object. Get the folder files as a collection. For Each through the files, opening them, searching the content as a string, creating a report to write to disk or show as a message.... that kind of thing. In PS it's more like DOS with endless switches and an unlimited possible number of commands.
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What should one read to learn VBScript? Peter Percival <peterxpercival@hotmail.com> - 2018-01-17 12:55 +0000
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-17 10:25 -0500
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-17 21:50 -0500
Re: What should one read to learn VBScript? Wally W. <ww84wa@aim.com> - 2018-01-17 22:49 -0500
Re: What should one read to learn VBScript? Peter Percival <peterxpercival@hotmail.com> - 2018-01-18 12:42 +0000
Re: What should one read to learn VBScript? Peter Percival <peterxpercival@hotmail.com> - 2018-01-19 21:28 +0000
Re: What should one read to learn VBScript? Peter Percival <peterxpercival@hotmail.com> - 2018-01-19 21:59 +0000
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-19 18:06 -0500
Re: What should one read to learn VBScript? Peter Percival <peterxpercival@hotmail.com> - 2018-01-20 14:15 +0000
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-19 17:06 -0500
Re: What should one read to learn VBScript? Peter Percival <peterxpercival@hotmail.com> - 2018-01-20 14:20 +0000
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-20 09:40 -0500
Re: What should one read to learn VBScript? Wally W. <ww84wa@aim.com> - 2018-01-19 17:20 -0500
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-19 17:52 -0500
Re: What should one read to learn VBScript? Sohel Alam <alam.sohel1990@gmail.com> - 2018-05-14 17:19 -0700
Re: What should one read to learn VBScript? Wally W. <ww84wa@aim.com> - 2018-01-17 22:44 -0500
Re: What should one read to learn VBScript? Peter Percival <peterxpercival@hotmail.com> - 2018-01-18 12:40 +0000
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-18 09:27 -0500
Re: What should one read to learn VBScript? Special Access <nonyabidnezz@hotmail.com> - 2018-01-18 21:57 -0500
Re: What should one read to learn VBScript? Wally W. <ww84wa@aim.com> - 2018-01-19 20:53 -0500
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-19 23:20 -0500
Re: What should one read to learn VBScript? Wally W. <ww84wa@aim.com> - 2018-01-20 10:33 -0500
Re: What should one read to learn VBScript? Wally W. <ww84wa@aim.com> - 2018-01-20 10:44 -0500
Re: What should one read to learn VBScript? "Mayayana" <mayayana@invalid.nospam> - 2018-01-20 13:53 -0500
csiph-web