Skip to content

Some of the auto-generated commands have atrocious nouns #75

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

Closed
KirkMunro opened this issue Jan 12, 2020 · 2 comments
Closed

Some of the auto-generated commands have atrocious nouns #75

KirkMunro opened this issue Jan 12, 2020 · 2 comments

Comments

@KirkMunro
Copy link

I suspect you already know this, but there are some terrible, nonsensical nouns in these auto-generated cmdlets.

For example:

Get-PrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequest
New-PrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequest
Remove-PrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequest
Update-PrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequestPrivilegedRoleAssignmentRequest

Hopefully these names can be corrected to eliminate duplication of text in the noun.

Also, some examples from OneNote that don't make sense at all (is there a loop in the command generation logic that's creating nonsensical permutations and combinations of the same thing?):

Get-UserOnenoteSectionParentSectionGroup
Update-UserOnenotePageParentSectionGroup
Get-UserOnenotePageParentNotebookSection
New-UserOnenoteSectionParentSectionGroup
New-UserOnenotePageParentNotebookSection
Get-UserOnenoteSectionPageParentNotebook
Update-UserOnenoteSectionGroupSectionPage
Get-UserOnenoteSectionGroupParentNotebook
Get-UserOnenoteNotebookSectionGroupSection
Update-UserOnenoteSectionPageParentSection
New-UserOnenoteNotebookSectionGroupSection
Update-UserOnenotePageParentNotebookSection
Update-UserOnenoteSectionParentSectionGroup
Update-UserOnenoteSectionPageParentNotebook
Get-UserOnenoteSectionParentNotebookSection
New-UserOnenoteSectionParentNotebookSection
New-UserOnenotePageParentSectionGroupSection
New-UserOnenotePageParentNotebookSectionPage
Get-UserOnenoteNotebookSectionParentNotebook
Update-UserOnenoteSectionGroupParentNotebook
Get-UserOnenotePageParentNotebookSectionPage
Get-UserOnenotePageParentSectionGroupSection
New-UserOnenotePageParentNotebookSectionGroup
Get-UserOnenoteSectionGroupParentSectionGroup
Get-UserOnenotePageParentNotebookSectionGroup
Update-UserOnenoteNotebookSectionGroupSection
Update-UserOnenoteSectionParentNotebookSection
Get-UserOnenoteNotebookSectionGroupSectionPage
Get-UserOnenotePageParentSectionParentNotebook
New-UserOnenoteNotebookSectionGroupSectionPage
Get-UserOnenoteSectionParentSectionGroupSection
Update-UserOnenotePageParentNotebookSectionPage
Update-UserOnenoteNotebookSectionParentNotebook
Get-UserOnenoteSectionPageParentNotebookSection
New-UserOnenoteSectionParentSectionGroupSection
New-UserOnenoteSectionPageParentNotebookSection
Get-UserOnenoteNotebookSectionPageParentSection
Update-UserOnenotePageParentSectionGroupSection
Get-UserOnenoteNotebookSectionParentSectionGroup
Get-UserOnenoteNotebookSectionPageParentNotebook
New-UserOnenoteNotebookSectionParentSectionGroup
Get-UserOnenoteSectionGroupSectionParentNotebook
New-UserOnenoteSectionParentNotebookSectionGroup
Get-UserOnenoteSectionGroupParentNotebookSection
Get-UserOnenoteSectionParentNotebookSectionGroup
New-UserOnenoteSectionGroupParentNotebookSection
Update-UserOnenoteSectionGroupParentSectionGroup
Update-UserOnenotePageParentNotebookSectionGroup
Update-UserOnenotePageParentSectionParentNotebook
Get-UserOnenoteNotebookSectionGroupParentNotebook
Update-UserOnenoteNotebookSectionGroupSectionPage
Update-UserOnenoteSectionPageParentNotebookSection
Update-UserOnenoteNotebookSectionPageParentSection
Update-UserOnenoteSectionParentSectionGroupSection
Update-UserOnenoteNotebookSectionPageParentNotebook
Update-UserOnenoteNotebookSectionParentSectionGroup
Update-UserOnenoteSectionGroupParentNotebookSection
Get-UserOnenoteSectionGroupSectionPageParentSection
Update-UserOnenoteSectionParentNotebookSectionGroup
Update-UserOnenoteSectionGroupSectionParentNotebook
Get-UserOnenotePageParentSectionGroupParentNotebook
Get-UserOnenoteSectionGroupSectionParentSectionGroup
Get-UserOnenoteSectionPageParentNotebookSectionGroup
New-UserOnenoteSectionGroupParentNotebookSectionPage
Get-UserOnenotePageParentNotebookSectionGroupSection
Get-UserOnenoteSectionGroupSectionPageParentNotebook
Update-UserOnenoteNotebookSectionGroupParentNotebook
Get-UserOnenoteSectionGroupParentNotebookSectionPage
New-UserOnenotePageParentNotebookSectionGroupSection
New-UserOnenoteSectionPageParentNotebookSectionGroup
New-UserOnenotePageParentSectionParentNotebookSection
New-UserOnenoteSectionGroupParentNotebookSectionGroup
Get-UserOnenoteSectionGroupParentNotebookSectionGroup
Get-UserOnenoteNotebookSectionGroupParentSectionGroup
Get-UserOnenotePageParentSectionParentNotebookSection
Update-UserOnenoteSectionGroupSectionPageParentSection
Update-UserOnenotePageParentSectionGroupParentNotebook
Get-UserOnenotePageParentNotebookSectionParentNotebook
Get-UserOnenoteSectionParentSectionGroupParentNotebook
New-UserOnenoteSectionParentNotebookSectionGroupSection
Get-UserOnenotePageParentSectionGroupParentSectionGroup
New-UserOnenoteNotebookSectionParentSectionGroupSection
New-UserOnenoteSectionGroupSectionParentNotebookSection
Get-UserOnenoteSectionParentNotebookSectionGroupSection
Update-UserOnenoteSectionPageParentNotebookSectionGroup
Get-UserOnenoteSectionGroupSectionParentNotebookSection
Update-UserOnenoteSectionGroupSectionParentSectionGroup
Update-UserOnenoteSectionGroupSectionPageParentNotebook
Update-UserOnenotePageParentNotebookSectionGroupSection
Get-UserOnenoteNotebookSectionParentSectionGroupSection
Update-UserOnenoteSectionGroupParentNotebookSectionPage
Update-UserOnenoteNotebookSectionGroupParentSectionGroup
New-UserOnenotePageParentNotebookSectionGroupSectionPage
Get-UserOnenoteNotebookSectionGroupSectionParentNotebook
Update-UserOnenotePageParentSectionParentNotebookSection
Get-UserOnenotePageParentNotebookSectionGroupSectionPage
Update-UserOnenoteSectionGroupParentNotebookSectionGroup
Update-UserOnenotePageParentNotebookSectionParentNotebook
Update-UserOnenoteSectionParentSectionGroupParentNotebook
Get-UserOnenotePageParentNotebookSectionParentSectionGroup
Update-UserOnenoteSectionParentNotebookSectionGroupSection
Update-UserOnenoteSectionGroupSectionParentNotebookSection
Get-UserOnenotePageParentSectionParentNotebookSectionGroup
Update-UserOnenoteNotebookSectionParentSectionGroupSection
Get-UserOnenotePageParentSectionGroupParentNotebookSection
Update-UserOnenotePageParentSectionGroupParentSectionGroup
Get-UserOnenoteSectionParentSectionGroupParentSectionGroup
New-UserOnenotePageParentSectionParentNotebookSectionGroup
New-UserOnenotePageParentNotebookSectionParentSectionGroup
New-UserOnenotePageParentSectionGroupParentNotebookSection
Get-UserOnenoteNotebookSectionGroupSectionPageParentSection
Update-UserOnenoteNotebookSectionGroupSectionParentNotebook
Get-UserOnenoteSectionPageParentNotebookSectionGroupSection
Get-UserOnenotePageParentNotebookSectionGroupParentNotebook
New-UserOnenoteSectionGroupSectionPageParentNotebookSection
New-UserOnenoteSectionPageParentNotebookSectionGroupSection
Get-UserOnenoteSectionGroupSectionPageParentNotebookSection
Update-UserOnenotePageParentNotebookSectionGroupSectionPage
Get-UserOnenoteNotebookSectionGroupSectionPageParentNotebook
Get-UserOnenoteNotebookSectionGroupSectionParentSectionGroup
New-UserOnenoteSectionGroupSectionParentNotebookSectionGroup
Get-UserOnenoteSectionGroupSectionParentNotebookSectionGroup
Update-UserOnenotePageParentSectionParentNotebookSectionGroup
Update-UserOnenotePageParentNotebookSectionParentSectionGroup
Get-UserOnenoteSectionParentSectionGroupParentNotebookSection
Update-UserOnenoteSectionParentSectionGroupParentSectionGroup
Update-UserOnenotePageParentSectionGroupParentNotebookSection
New-UserOnenoteSectionParentSectionGroupParentNotebookSection
Update-UserOnenoteNotebookSectionGroupSectionPageParentSection
Get-UserOnenoteSectionGroupParentNotebookSectionParentNotebook
Update-UserOnenoteSectionPageParentNotebookSectionGroupSection
Update-UserOnenotePageParentNotebookSectionGroupParentNotebook
Get-UserOnenoteSectionParentNotebookSectionGroupParentNotebook
Update-UserOnenoteSectionGroupSectionPageParentNotebookSection
Get-UserOnenoteNotebookSectionParentSectionGroupParentNotebook
Get-UserOnenotePageParentNotebookSectionGroupParentSectionGroup
Update-UserOnenoteNotebookSectionGroupSectionPageParentNotebook
Get-UserOnenotePageParentSectionGroupParentNotebookSectionGroup
Update-UserOnenoteNotebookSectionGroupSectionParentSectionGroup
New-UserOnenotePageParentSectionGroupParentNotebookSectionGroup
Update-UserOnenoteSectionGroupSectionParentNotebookSectionGroup
New-UserOnenoteSectionGroupSectionPageParentNotebookSectionGroup
Get-UserOnenoteSectionGroupSectionPageParentNotebookSectionGroup
Update-UserOnenoteSectionParentSectionGroupParentNotebookSection
Get-UserOnenotePageParentSectionParentNotebookSectionGroupSection
New-UserOnenotePageParentSectionParentNotebookSectionGroupSection
Update-UserOnenoteSectionParentNotebookSectionGroupParentNotebook
Update-UserOnenoteSectionGroupParentNotebookSectionParentNotebook
Get-UserOnenoteSectionGroupParentNotebookSectionPageParentSection
Get-UserOnenotePageParentNotebookSectionParentSectionGroupSection
New-UserOnenotePageParentNotebookSectionParentSectionGroupSection
Update-UserOnenoteNotebookSectionParentSectionGroupParentNotebook
Get-UserOnenoteNotebookSectionParentSectionGroupParentSectionGroup
Get-UserOnenoteSectionParentNotebookSectionGroupParentSectionGroup
Get-UserOnenoteSectionGroupParentNotebookSectionPageParentNotebook
Get-UserOnenoteSectionGroupParentNotebookSectionParentSectionGroup
Get-UserOnenoteSectionPageParentNotebookSectionGroupParentNotebook
Get-UserOnenotePageParentNotebookSectionGroupSectionParentNotebook
Get-UserOnenoteSectionParentSectionGroupParentNotebookSectionGroup
Update-UserOnenotePageParentNotebookSectionGroupParentSectionGroup
Update-UserOnenotePageParentSectionGroupParentNotebookSectionGroup
New-UserOnenoteSectionParentSectionGroupParentNotebookSectionGroup
Update-UserOnenoteSectionGroupSectionPageParentNotebookSectionGroup
Update-UserOnenoteSectionGroupParentNotebookSectionPageParentSection
Update-UserOnenotePageParentNotebookSectionParentSectionGroupSection
Update-UserOnenotePageParentSectionParentNotebookSectionGroupSection
Update-UserOnenoteSectionParentSectionGroupParentNotebookSectionGroup
Update-UserOnenoteSectionPageParentNotebookSectionGroupParentNotebook
Update-UserOnenoteSectionParentNotebookSectionGroupParentSectionGroup
Update-UserOnenoteNotebookSectionParentSectionGroupParentSectionGroup
Update-UserOnenoteSectionGroupParentNotebookSectionPageParentNotebook
Update-UserOnenotePageParentNotebookSectionGroupSectionParentNotebook
Update-UserOnenoteSectionGroupParentNotebookSectionParentSectionGroup
Get-UserOnenotePageParentNotebookSectionGroupSectionParentSectionGroup
Get-UserOnenoteSectionPageParentNotebookSectionGroupParentSectionGroup
Get-UserOnenotePageParentSectionParentNotebookSectionGroupParentNotebook
Get-UserOnenotePageParentNotebookSectionParentSectionGroupParentNotebook
Update-UserOnenoteSectionPageParentNotebookSectionGroupParentSectionGroup
Update-UserOnenotePageParentNotebookSectionGroupSectionParentSectionGroup
Update-UserOnenotePageParentSectionParentNotebookSectionGroupParentNotebook
Update-UserOnenotePageParentNotebookSectionParentSectionGroupParentNotebook
Get-UserOnenotePageParentSectionParentNotebookSectionGroupParentSectionGroup
Get-UserOnenotePageParentNotebookSectionParentSectionGroupParentSectionGroup
Update-UserOnenotePageParentSectionParentNotebookSectionGroupParentSectionGroup
Update-UserOnenotePageParentNotebookSectionParentSectionGroupParentSectionGroup
@ghost ghost added the ToTriage label Jan 12, 2020
@darrelmiller
Copy link
Contributor

The first examples we have an idea of what to do. It is something that AutoREST need to fix for us at the moment. The second example is, well, quite special O_O. Thanks for bringing that to our attention, we will investigate.

@peombwa
Copy link
Member

peombwa commented Sep 24, 2020

These nouns have already been cleaned. Feel free to open a new issue if new ones surface.
Install-Module Microsoft.Graph -AllowClobber -Force.

@peombwa peombwa closed this as completed Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants