Skip to content
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

onPremises rather than onPremise #2434

Open
mprentice22153 opened this issue Nov 13, 2023 · 0 comments
Open

onPremises rather than onPremise #2434

mprentice22153 opened this issue Nov 13, 2023 · 0 comments

Comments

@mprentice22153
Copy link

mprentice22153 commented Nov 13, 2023

Is your feature request related to a problem? Please describe.
The correct spelling is onPremises not onPremise. A premise is an idea. A premises is a place. Even truncating it to onPrem is better than onPremise. Currently there are approximately 155 cmdlets in the Graph and Graph Beta modules that are misspelled.
Get-Command -Module microsoft.graph* -name *onprem*

When using get-mgOrganization and other cmdlets they properly report back attributes:
OnPremisesLastSyncDateTime : 11/13/2023 2:14:34 PM
OnPremisesSyncEnabled : True

When setting permission scopes they properly use the truncated option:
OnPremDirectorySynchronization.Read.All

Describe the solution you'd like
Correct the name of the cmdlets to use "onPremises" but include aliases for "onPremise" and "onPrem" to avoid breaking previous work and to allow flexibility.

Describe alternatives you've considered
Using the incorrectly spelled cmdlets

Additional context
It is in Microsoft's best interest to publish cmdlets that are properly spelled.

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

No branches or pull requests

3 participants