2023-04-02
# is okay
function ShouldHide { '🐈' }
ShouldHide
function ShouldHide {
[CmdletBinding()]
param()
'🐈'
}
# is okay
ShouldHide
function ShouldHide {
[Alias('ShouldHide')]
[CmdletBinding()]
param()
'🐈'
}
ShouldHide
### failed reference
ShouldHide:
Line |
8 | ShouldHide
| ~~~~~~~~~~
| The term 'ShouldHide' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.