Skip to content

Adds aliases to avoid conflicting cmdlets calling the same Api path. #3242

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Calendar/Calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,9 @@ directive:
verb: Get
subject: ^(UserCalendarSchedule)$
remove: true
#Remove cmdlet to avoid conflicts where alias has been set:[#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241)
- where:
verb: Get
subject: ^UserCalendarEventDelta$
remove: true
```
11 changes: 11 additions & 0 deletions src/CloudCommunications/CloudCommunications.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,15 @@ directive:
subject: ^UserOnlineMeeting$
variant: ^(Create|CreateExpanded|CreateViaIdentity|CreateViaIdentityExpanded)([1-9]{1,2})$
remove: true

#Remove cmdlet to avoid conflicts where alias has been set: [#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241)
- where:
verb: Get
subject: ^AllUserOnlineMeetingRecording$
remove: true
- where:
verb: Get
subject: ^AllUserOnlineMeetingTranscript$
remove: true

```
18 changes: 18 additions & 0 deletions src/readme.graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -962,5 +962,23 @@ directive:
subject: ^(.*)(OnPremise)(.*)$
set:
alias: ^(.*)(OnPremises)(.*)$

# Setting the alias below as per the request on issue [#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241)

- where:
verb: Get
subject: UserOnlineMeetingTranscript
set:
alias: Get-Mg${subject-prefix}AllUserOnlineMeetingTranscript
- where:
verb: Get
subject: UserEventDelta
set:
alias: Get-Mg${subject-prefix}UserCalendarEventDelta
- where:
verb: Get
subject: UserOnlineMeetingRecording
set:
alias: Get-Mg${subject-prefix}AllUserOnlineMeetingRecording

```
Loading