When I read this article, I found that,alias of a function can be set directly in its attribute.
So I also want to know if there are other attributes that can be added like this.
But I have searched a lot of materials, but I didn't find it. I don't think this feature is mentioned in the help document.
I only found that the help document mentioned that you can add attributes to the function / cmdlet parameters, but not the function itself.
Alias Attribute Declaration - PowerShell | Microsoft Docs
about_Functions_Advanced_Parameters - PowerShell | Microsoft Docs
Is this feature mentioned in the help document? If so, where is it?
2.1m questions
2.1m answers
60 comments
57.0k users