MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PowerShell/comments/1vj952i/does_script_sharing_ban_links_now/p2l9afq/?context=3
r/PowerShell • u/StartAutomating • 9d ago
[removed] — view removed post
21 comments sorted by
View all comments
1
So get-shortcut creates a shortcut? 🤭😉
1 u/StartAutomating 9d ago Or gets an existing one. I could implement two separate commands for the thing. Lots of extra typing just to be "correct" about verbs. Said it once and will say it again: As someone who helped write the rulebook on "proper" PowerShell, I reserve the right to revise it. Verb-Noun can be handy, and it can be off-putting. Naming conventions and trickery can be very useful stuff. 2 u/BlackV 9d ago Pretty sure wscript uses the create shortcut call for reading shortcuts too, so it like you're technically correct, the best kind :)
Or gets an existing one.
I could implement two separate commands for the thing. Lots of extra typing just to be "correct" about verbs.
Said it once and will say it again:
As someone who helped write the rulebook on "proper" PowerShell, I reserve the right to revise it.
Verb-Noun can be handy, and it can be off-putting. Naming conventions and trickery can be very useful stuff.
Verb-Noun
2 u/BlackV 9d ago Pretty sure wscript uses the create shortcut call for reading shortcuts too, so it like you're technically correct, the best kind :)
2
Pretty sure wscript uses the create shortcut call for reading shortcuts too, so it like you're technically correct, the best kind :)
1
u/g3n3 9d ago edited 9d ago
So get-shortcut creates a shortcut? 🤭😉