KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I define the following [parameter(Mandatory = $true)] [alias("db")] [string]$database, then I get an error Parameter alias cannot be specified because an alias with the name 'db' was defined multiple times for the command. Which is true, since db is already an alias for the universal -Debug parameter. Is it possible to define this alias without renaming the parameter?
Tags (comma-separated)
Save Edits
Cancel