Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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