Question

I've been trying to stick with the approved list of Powershell verbs when naming my cmdlets. I have a function which creates a resource, so it's called New-ClearCaseView. I'd also like to make a function which destroys this resource once it is no longer in use. However, I don't see any pair verb to go with New. The Remove verb is closest I think, but that's for removing a resource from a collection, not for actually destroying a resource.

Any suggestions? Is there any more up to date list of accepted Powershell verbs?

Thanks!

Was it helpful?

Solution

Remove would be the normal verb to use (eg. del is an alias for Remove-Item).

Unpublish might be another possibility (but only if your new is being used in a sense like publish). Equally Unregister (normally paired with register).

OTHER TIPS

Anything wrong with 'delete' in your situation?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top