Add Snippet for Documentation
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- powershell
- 领域
- tooling
调研方向
Start with the issue description and its linked Microsoft documentation example; no repository file, test, or entry point is identified. Review the existing PowerShell snippet conventions in the repository, then add the requested documentation snippet and verify that it matches the project's established format.
由索引模型根据 Issue 内容生成。
描述
We should add a snippet for documentation. https://technet.microsoft.com/en-us/magazine/ff458353.aspx is the closest I found to a published standard.
Their example is:
<#
.SYNOPSIS
Retrieves service pack and operating system information from one or more remote computers.
.DESCRIPTION
The Get-Inventory function uses Windows Management Instrumentation (WMI) toretrieve service pack version, operating system build number, and BIOS serial number from one or more remote computers.
Computer names or IP addresses are expected as pipeline input, or may bepassed to the –computerName parameter.
Each computer is contacted sequentially, not in parallel.
.PARAMETER computerNameAccepts
a single computer name or an array of computer names. You mayalso provide IP addresses.
.PARAMETER path
The path and file name of a text file. Any computers that cannot be reached will be logged to this file.
This is an optional parameter; if it is notincluded, no log file will be generated.
.EXAMPLE
Read computer names from Active Directory and retrieve their inventory information.
Get-ADComputer –filter * | Select{Name="computerName";Expression={$_.Name}} | Get-Inventory.
.EXAMPLE
Read computer names from a file (one name per line) and retrieve their inventory information
Get-Content c:\names.txt | Get-Inventory.
.NOTES
You need to run this function as a member of the Domain Admins group; doing so is the only way to ensure you have permission to query WMI from the remote computers.
#>
- 主要语言
- PowerShell
- 星标
- 335
- 派生
- 80
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SublimeText/PowerShell 的其他 Issue
-
tooling
难度 4/5 3-5 天 新手友好度 42/100
SublimeText/PowerShell#226 ·
-
syntax
难度 3/5 1-2 天 新手友好度 55/100
SublimeText/PowerShell#218 · 1 条评论 ·
-
syntax
难度 3/5 1-2 天 新手友好度 48/100
SublimeText/PowerShell#211 ·
-
build system
难度 3/5 1-2 天 新手友好度 45/100
SublimeText/PowerShell#170 · 8 条评论 ·
-
build system
难度 4/5 3-5 天 新手友好度 25/100
SublimeText/PowerShell#167 · 2 条评论 ·
查看 SublimeText/PowerShell 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
vercel-labs/just-bash#464 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100