Add Snippet for Documentation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- powershell
- Lĩnh vực
- tooling
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
#>
- Ngôn ngữ chính
- PowerShell
- Star
- 335
- Fork
- 80
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SublimeText/PowerShell
-
tooling
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
SublimeText/PowerShell#226 ·
-
syntax
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
SublimeText/PowerShell#218 · 1 bình luận ·
-
Fully conform to Parsing rules Đang mởsyntax
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
SublimeText/PowerShell#211 ·
-
build system
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
SublimeText/PowerShell#170 · 8 bình luận ·
-
build system
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
SublimeText/PowerShell#167 · 2 bình luận ·
Tất cả issue của SublimeText/PowerShell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 bình luận ·
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 bình luận ·
-
Solved site promotion gate fails on runner PHP patch drift (expects 8.2.33, runner installs 8.2.34) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Automattic/blocks-engine#2161 ·