Last active
August 29, 2015 14:02
-
-
Save cantgis/6627ac538e21be0377c8 to your computer and use it in GitHub Desktop.
GitHub Example for 51cto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Short description | |
.DESCRIPTION | |
Long description | |
.EXAMPLE | |
Example of how to use this cmdlet | |
.EXAMPLE | |
Another example of how to use this cmdlet | |
#> | |
function Verb-Noun | |
{ | |
[CmdletBinding()] | |
[OutputType([int])] | |
Param | |
( | |
# Param1 help description | |
[Parameter(Mandatory=$true, | |
ValueFromPipelineByPropertyName=$true, | |
Position=0)] | |
$Param1, | |
# Param2 help description | |
[int] | |
$Param2 | |
) | |
Begin | |
{ | |
} | |
Process | |
{ | |
} | |
End | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment