Created
February 28, 2018 19:58
-
-
Save Sambardo/e774f0d52e3d8e9572ea1d9558f9edd4 to your computer and use it in GitHub Desktop.
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
Function MyFunction | |
{ | |
[cmdletbinding(SupportsShouldProcess)] | |
param() | |
Write-host "some host message" -ForegroundColor Green | |
} | |
MyFunction -WhatIf | |
MyFunction -Confirm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment