Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个 PowerShell 模块。我已经使用 Remove-blah 实现了一个删除功能。现在我需要实现一个取消删除功能。据我所知,它不在批准的动词列表中。Undelete 的动词用法有约定吗?如果没有,我应该使用什么?
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.