Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dustindortch
Created March 26, 2018 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustindortch/2924d0048ea97bd2c3f741f0bf9a5a1a to your computer and use it in GitHub Desktop.
Save dustindortch/2924d0048ea97bd2c3f741f0bf9a5a1a to your computer and use it in GitHub Desktop.
Function Get-CmdletbindingExample {
[CmdletBinding()]
Param (
[String[]]$Name
)
Begin {# Runs once}
Process {
# Runs for each instance of $Name
Write-Verbose $Name
}
End {# Runs once}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment