Anyone know if there's a way in Windows PowerShell to find out if a parameter to the executing script has been passed as an alias? I want the script to behave differently if an alias is used but by the time the script runs, the alias has been "converted" to the real parameter name so $PSBoundParameters doesn't help. I asked
#ChatGPT 4 but it was no use