Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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