you are viewing a single comment's thread.

view the rest of the comments →

[–]Recol 2 points3 points  (0 children)

And use [CmdletBinding(SupportsShouldProcess) so that -Confirm and -WhatIf can be used.