Add Snippet for Documentation
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- powershell
- Ambito
- tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
#>
- Lingua principale
- PowerShell
- Stelle
- 335
- Fork
- 80
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SublimeText/PowerShell
-
tooling
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
SublimeText/PowerShell#226 ·
-
syntax
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
SublimeText/PowerShell#218 · 1 commento ·
-
syntax
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
SublimeText/PowerShell#211 ·
-
build system
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
SublimeText/PowerShell#170 · 8 commenti ·
-
build system
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
SublimeText/PowerShell#167 · 2 commenti ·
Tutte le issue di SublimeText/PowerShell
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
elastic/gradle-plugins#156 ·
-
area:workflow bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fil-donadoni/tolaria#4409 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
dotenvx/dotenv-vscode#139 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Fission-AI/OpenSpec#1960 ·