8 EYLÜL 2011, PERŞEMBE
Nasıl PowerShell kod açıklama mı?
Nasıl PowerShell (1.0 veya 2.0) kod açıklama mı?
CEVAP
8 EYLÜL 2011, PERŞEMBE
PowerShell V1 tek #
sonra metni bir açıklama yok.
# This is a comment in Powershell
V2 <# #>
PowerShell yardım bloğu yorum için ve daha spesifik olarak kullanılabilir yorumlar.
#REQUIRES -Version 2.0
<#
.SYNOPSIS
A brief description of the function or script. This keyword can be used
only once in each topic.
.DESCRIPTION
A detailed description of the function or script. This keyword can be
used only once in each topic.
.NOTES
File Name : xxxx.ps1
Author : J.P. Blanc (jean-paul_blanc@silogix-fr.com)
Prerequisite : PowerShell V2 over Vista and upper.
Copyright 2011 - Jean Paul Blanc/Silogix
.LINK
Script posted over:
http://silogix.fr
.EXAMPLE
Example 1
.EXAMPLE
Example 2
#>
Function blabla
{}
.SYNOPSIS
.*
hakkında daha fazla açıklama için about_Comment_Based_Help bkz.
Not: Bu işlev açıklamaları Get-Help
Çalıştırın ve kod kendisi sonra {}
içinde 9* *veya önceki veya anahtar önce konabilir.
Bunu Paylaş:
Nasıl XML etiketleri bir blok açıklama...
Nasıl java dönüştürmek için.açıklama.t...
Nasıl bir PowerShell komut dosyasını ç...
Nasıl bir WordPress kullanmak bir sonr...
Nasıl powershell'de bir fonksiyonu bir...