[GH-ISSUE #132] Powershell Command #113

Closed
opened 2026-02-27 10:09:45 +03:00 by kerem · 5 comments
Owner

Originally created by @mucookul on GitHub (Aug 25, 2022).
Original GitHub issue: https://github.com/massgravel/Microsoft-Activation-Scripts/issues/132

You can make the command smaller:
irm https://massgrave.dev/get | iex
Just sayin

Originally created by @mucookul on GitHub (Aug 25, 2022). Original GitHub issue: https://github.com/massgravel/Microsoft-Activation-Scripts/issues/132 You can make the command smaller: `irm https://massgrave.dev/get | iex` Just sayin
kerem closed this issue 2026-02-27 10:09:45 +03:00
Author
Owner

@mucookul commented on GitHub (Aug 27, 2022):

you didn't update the website and gitlab in case you forgot

<!-- gh-comment-id:1229232348 --> @mucookul commented on GitHub (Aug 27, 2022): you didn't update the website and gitlab in case you forgot
Author
Owner

@RokeJulianLockhart commented on GitHub (Jan 26, 2025):

https://github.com/massgravel/Microsoft-Activation-Scripts/issues/132#issue-1351482654

@Mukul1127, it's not generally a good idea to use aliases, though. They're fragile, since if anything in $PATH overrides them, you'll be calling another command, and they're frequently deprecated without much grace period. They're not even consistent across editions of PowerShell (like Core). Better to expand them to their commandlets.

<!-- gh-comment-id:2614340438 --> @RokeJulianLockhart commented on GitHub (Jan 26, 2025): > https://github.com/massgravel/Microsoft-Activation-Scripts/issues/132#issue-1351482654 @Mukul1127, it's not generally a good idea to use aliases, though. They're fragile, since if anything in `$PATH` overrides them, you'll be calling another command, and they're frequently deprecated without much grace period. They're not even consistent across editions of PowerShell (like Core). Better to expand them to their commandlets.
Author
Owner

@thecatontheceiling commented on GitHub (Jan 26, 2025):

I am afraid you're a bit late to the party (This change was made years ago!).
We haven't seen any users report issues with the shortened aliases rather than using the expanded commandlets, so your concerns have ended up not being an issue, thank you for the feedback though

<!-- gh-comment-id:2614342120 --> @thecatontheceiling commented on GitHub (Jan 26, 2025): I am afraid you're a bit late to the party (This change was made years ago!). We haven't seen any users report issues with the shortened aliases rather than using the expanded commandlets, so your concerns have ended up not being an issue, thank you for the feedback though
Author
Owner

@mucookul commented on GitHub (Jan 26, 2025):

#132 (comment)

@Mukul1127, it's not generally a good idea to use aliases, though. They're fragile, since if anything in $PATH overrides them, you'll be calling another command, and they're frequently deprecated without much grace period. They're not even consistent across editions of PowerShell (like Core). Better to expand them to their commandlets.

Hm, I didn't know that, maybe we could add a note to the docs using iwr -useb. I believe irm works in all versions of PowerShell though and I don't know of any tool using that name.

<!-- gh-comment-id:2614537845 --> @mucookul commented on GitHub (Jan 26, 2025): > > [#132 (comment)](https://github.com/massgravel/Microsoft-Activation-Scripts/issues/132#issue-1351482654) > > [<img alt="" width="16" height="16" src="https://avatars.githubusercontent.com/u/71291707?u=c50ad2f5288f667160de2aca30553f391bc9a387&amp;v=4&amp;size=80">@Mukul1127](https://github.com/Mukul1127?rgh-link-date=2025-01-26T11%3A47%3A34.000Z), it's not generally a good idea to use aliases, though. They're fragile, since if anything in `$PATH` overrides them, you'll be calling another command, and they're frequently deprecated without much grace period. They're not even consistent across editions of PowerShell (like Core). Better to expand them to their commandlets. Hm, I didn't know that, maybe we could add a note to the docs using `iwr -useb`. I believe `irm` works in all versions of PowerShell though and I don't know of any tool using that name.
Author
Owner

@thecatontheceiling commented on GitHub (Jan 26, 2025):

It's not necessary

<!-- gh-comment-id:2614538420 --> @thecatontheceiling commented on GitHub (Jan 26, 2025): It's not necessary
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Microsoft-Activation-Scripts#113
No description provided.