Closed Liimurr closed 5 months ago
Build
has only been an approved verb since Sep-2017 and was added in PowerShell 6.0 (Jan-2018).
https://github.com/PowerShell/PowerShell/pull/4725.
I can only reproduce the above in PowerShell 5.1 - which is expected behaviour as it was released Aug-2016.
Thanks, looks like this is by design-- the verb list is retrieved at run time
Steps to reproduce
Expected behavior
nothing
Actual behavior
warning: 'The cmdlet Build-MyThing uses unapproved verb'
Notes
Build is listed as an approved verb