Skip to content

WARNING: Some commands use unapproved verbs #47

Description

@Morten-Loberg

First of all I want to underline my appreciation that you have developed this set of commands. Microsoft should have included these commandlets built-in.

I guess you already know this, but when importing the module, the following warning appears:

WARNING: The names of some imported commands from the module 'VirtualDesktop' 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 reason is that the verbs "Pin" and "Unpin" are not on the list of approved verbs (try Get-Verb), affecting the following commands:

  • Pin-Application
  • Pin-Window
  • Unpin-Application
  • Unpin-Window

It is just a suggestion of course, but what about renaming these using the verbs "Enable" and "Disable" instead, for instance as follows?

  • Enable-ApplicationOnAllDesktops
  • Enable-WindowOnAllDesktops
  • Disable-ApplicationOnAllDesktops
  • Disable-WindowOnAllDesktops

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions