Skip to content

onPremises rather than onPremise #2434

Closed
@mprentice22153

Description

@mprentice22153

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions