2017-10-15 78 views
-2

我正在使用C#中的PSCmdlet类编写PowerShell Cmdlet。执行获取帮助PSCmdlet

[Cmdlet(VerbsCommon.Get, "Employee")] 
public class GetEmployee : PSCmdlet 

我想提供备注更多信息,描述的简介部分获取帮助获取,员工

任何人都知道如何添加/填补这些板块?

+0

http://go.microsoft.com/fwlink/?LinkID=123415 – PetSerAl

回答

0
/// <summary> 
/// <para type="synopsis">This is the cmdlet synopsis.</para> 
/// <para type="description">This is part of the longer cmdlet description.</para> 
/// <para type="description">Also part of the longer cmdlet description.</para> 
/// </summary> 
[Cmdlet(VerbsCommon.Get, "Employee")] 
public class GetEmployee : PSCmdlet 

看到这个博客帖子here更详细的例子。