3 ms·
Well, there's the Windows PowerShell: http://en.wikipedia.org/wiki/Windows_PowerShell http://en.wikipedia.org/wiki/Windows_PowerShell It's actually got some q
by mjs 13y ago
Well, there's the Windows PowerShell:
http://en.wikipedia.org/wiki/Windows_PowerShell http://en.wikipedia.org/wiki/Windows_PowerShell
It's actually got some quite interesting concepts, and is extremely consistent. These tips also convey the approach and how it works:
http://technet.microsoft.com/en-us/library/ee692948.aspx http://technet.microsoft.com/en-us/library/ee692948.aspx
- WickyNilliams 13y agoI'm in the process of learning powershell, and I must say it's extremely intuitive. More so than BASH or CMD, I'd say. Every command is of the form Verb-Noun. Which means you can get off the ground really quickly, as there are only about 15 different verbs. This means you can often guess what you want, even for commands you've never used. Still can't find what you want? Then you can use wildcard searching on the Get-Command command, which returns all matching commands! The icing on the cake for me is the consistency between interacting with different data sets. For example, New-Item is a command for creating a new item (duh!). The great thing about this however is that this command can be used to create files, registry entries, websites in IIS. This works by allowing you to browse all these things just as you would a file system. e.g. you can "cd" into IIS and treat it just like you would files on disk. Really an eye opener into what a modern shell should be like
- ch_123 13y ago"Every command is of the form Verb-Noun. Which means you can get off the ground really quickly, as there are only about 15 different verbs. This means you can often guess what you want, even for commands you've never used." Sounds quite a lot like VMS' DCL, which is similarly intuitive, albeit overly verbose at times.
- WickyNilliams 13y agoJust had a look at it, you're right there's definite similarities between the two. I guess someone at MS had a soft spot for DCL!