Igloo: A simple Windows automation tool
easyigloo.org
easyigloo.org
For example:
update
Instead of wuauclt /updatenow
Or, to enable Windows Biometrics: install feature biometrics
Instead of: dism /online /Enable-Feature /FeatureName:Biometrics
Really, really great. But both the landing page and the About page desparately need a "quick to see" example of the project. I didn't even read past the first paragraph in the About page, to be honest. Make it prominent what the app is right away on the splash page.Edit: The new About page is much better!
For that second command Install-WindowsFeature Biometrics is almost as long and you're tab completing anyway.
Install-WindowsFeature Biometric
And it's not arbitrary reason . PowerShell is closer to a OOP language than other shells.
In my book, anybody complaining about terseness of powershell knows 0 about it and should be treated as ignorant. Give me a random bash command and I will probably make it shorter in Powershell without any custom made mumbo jumbo.
It is a collection of syntax sugars, anybody can make one in an hour. Here is mine:
* https://github.com/majkinetor/posh/tree/master/MM_Sugar
In it you can see things like `groups` in `Show-Group` that can be used to show Windows groups you belong to, or typical linux commands for machine restarting in Shutdown.ps1 (halt, reboot...) and something I use zillion times a day:
function Enter-Parent { cd .. }
function Enter-GrandParent { cd ..\.. }
sal .. Enter-Parent
sal ... Enter-GrandParent
Aim of the project is probably to have more standardized syntax sugars rather then each person inventing their own...Funny. The verbosity of Powershell was definitely a turn-off before I started using it... but it wasn't long before I came to see it as one of Powershell's greatest strengths. Verb-Noun is great for discoverability and a script that avoids aliases should be understandable by someone who doesn't know the first thing about Powershell, what the script does, or even scripting in general.
Terseness is an anti-feature. K&R got it wrong.
Could you be a little less terse here?
I believe it is also used to refer to the format/syntax of C before ANSI C was standardized.
I disagree. You spend very little time learning a language, compared to the amount of time you spend using it. It pays to take the up-front cost of learning the language in exchange for increased productivity later.
EDIT: consistency, discoverability, and user-friendliness are all important. But those are all as part of productivity, where productivity is optimized for people who have already spent a decent amount of time learning the shared language; that is to say that terseness, consistency, and discoverability all work together. This is why sed syntax is not so terse as machine language, because sed is still designed to be used by humans.
> Aliases should for example not be used in scripts as they may be changed
Nonsence. Default aliases din't change at all from v2 - v5, they changed a bit by necessity with pwsh (v6), and cmdlets can and do change, and changed more then aliases (particularly with v6, especially network). Using full name doesn't guarantiee more stable script then using aliases, you need to use full qualified cmdlet name to have that which is not something anybody uses.
Most of the stuff only gets written once, and is read multiple times across the years from team members and external consultants with different degrees of skill levels.
Automatically completion on CLI and IDEs have solved the "too many letters" problem for decades now.
The only gains you’ll get are the minimal speed gains with terse names.
1. As a replacement shell, it's not scriptable. If you haven't already, you should make it such that you can do one-shot commands from a regular shell without entering the full environment. For example:
igloo crypto connect <name>
2. There is no highlights section on the website talking about why this project is awesome. You need examples of things that any IT person will instantly recognize as gold.3. I was having trouble navigating the docs section from a mobile device. Desktop interface works perfectly, though.
4. Change your about page. You're denigrating yourself, and making yourself and the project look weak. This project is an amazing accomplishment, so present it and yourself as such!
I took your advice and changed the About page. Thanks for your encouragement.
[edit]
Igloo simplifies Windows administration by offering pre-made aliases for lengthy PowerShell commands. For example, displaying outbound firewall rules in PowerShell uses the following syntax...
Totally different.
Calling it a "simplified administration shell" or "logically organised cli shortcuts" would be closer to what it really is, I think.
https://www.reddit.com/r/sysadmin/comments/bvrlh6/i_created_...
The blurbs read like one of those "we create solutions for complex business needs" kind of things.