2

I'm creating a PowerShell module. I've implemented a Delete function using Remove-blah. Now I need to implement an Undelete function. It isn't on the approved verb list, as far as I can see. Is there a convention for verb-usage for Undelete? If not, what should I use?

1 Answer 1

7

In the ActiveDirectory module, the cmdlet to undelete a deleted AD object is Restore-AdObject, so I'd think there's an arguable case for adoptiong that convention.

2
  • 'restore' was my first thought, as well.
    – EdgeVB
    Oct 16, 2013 at 16:37
  • That's good enough for me, thanks. Hadn't come across that one, before. Oct 17, 2013 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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