It might be desired to have any script or function work as an extension in a given context.
This may not scope to one or more commands that are being extended.
Thus:
If an author wishes to, they can -RequireCmdletAttribute
Otherwise, lacking a cmdlet attribute will not prevent the script/function from being recognized as an extension.
It might be desired to have any script or function work as an extension in a given context.
This may not scope to one or more commands that are being extended.
Thus:
If an author wishes to, they can -RequireCmdletAttribute
Otherwise, lacking a cmdlet attribute will not prevent the script/function from being recognized as an extension.