I've been writing some basic PowerShell scripts for a while now and want to stick to the appropriate naming conventions by starting the name with approved verbs. I can't see the difference between "Get" and "Find" though.

Supposing I make a script that searches Twitter for certain words should I call that Get-Tweets or Find-Tweets?


Get is for retrieving an object or resource. Find is find for looking for the existence of an object or resource. There are plenty of approved verb lists that detail usage. One is here: Approved Verbs List

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.