Argument Transformation Attributes
Introduction
Argument transformation attributes make it possible to offer your users
some flexibility in how they supply values for parameters. I've started to use
these in the MilestonePSTools module to
make it possible to provide a name instead of a strongly typed object like a
[RecordingServer]
or a [Role]
, while still making it clear in the
Get-Help
documentation what the expected object type is, and without
polluting functions with object transformation code.