-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of Unapproved Verbs #54
Comments
I wasn't planning to address this, actually. You think it's necessary? |
I would argue that it is. What you could do in order not to break scripts that use your module is give the cmdlets a proper name with an approved verb, and specify the old name as an alias. Alternatively, give the cmdlets a proper name with an approved verb, and lets your users create their aliases locally? |
Hm, that's actually a good idea... |
... when I find the time ... |
Is this planned to be fixed in the future? I understand it is probably quite a low priority. I am using the "Import-NAVModules" function quite a lot in my scripts and it would be nice to suppress the warnings, even if it is just for this function. |
@nickrobbo ImportModule does have a -DisableNameChecking parameter... ;-) |
@jhoek yes this works with Import-Module, but not with the command I am using: "Import-NAVModules" - "PSModules/Cloud.Ready.Software.NAV/Import-NAVModules.ps1" although I can see that this parameter is used within the function, so I am not sure why this happens. |
@nickrobbo I see. :-) |
Do you have plans to address this?
WARNING: The names of some imported commands from the module 'Cloud.Ready.Software.Windows' include unapproved verbs
that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again
with the Verbose parameter. For a list of approved verbs, type Get-Verb.
The text was updated successfully, but these errors were encountered: