Skip to content

Commit 7741a21

Browse files
committed
Rename $ref cmdlets to *ByRef.
1 parent 1791cf0 commit 7741a21

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

src/Groups.DirectoryObject/Groups.DirectoryObject/Microsoft.Graph.Groups.DirectoryObject.psd1

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 6/30/2020
6+
# Generated on: 8/11/2020
77
#
88

99
@{
@@ -12,13 +12,13 @@
1212
RootModule = './Microsoft.Graph.Groups.DirectoryObject.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.5.1'
15+
ModuleVersion = '0.9.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
1919

2020
# ID used to uniquely identify this module
21-
GUID = 'd71ce7fc-f468-4589-9ea5-70051551f824'
21+
GUID = '738e0555-0ea0-42f6-b411-b68e9a6e5b8b'
2222

2323
# Author of this module
2424
Author = 'Microsoft Corporation'
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.7.0'; })
54+
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.7.1'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Microsoft.Graph.Groups.DirectoryObject.private.dll'
@@ -70,11 +70,17 @@ FormatsToProcess = './Microsoft.Graph.Groups.DirectoryObject.format.ps1xml'
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
7272
FunctionsToExport = 'Get-MgGroupAcceptedSender', 'Get-MgGroupCreatedOnBehalf',
73-
'Get-MgGroupMember', 'Get-MgGroupMemberOf',
73+
'Get-MgGroupCreatedOnBehalfByRef', 'Get-MgGroupMember',
74+
'Get-MgGroupMemberByRef', 'Get-MgGroupMemberOf',
7475
'Get-MgGroupMemberWithLicenseError', 'Get-MgGroupOwner',
75-
'Get-MgGroupRejectedSender', 'Get-MgGroupTransitiveMember',
76+
'Get-MgGroupOwnerByRef', 'Get-MgGroupRejectedSender',
77+
'Get-MgGroupTransitiveMember', 'Get-MgGroupTransitiveMemberByRef',
7678
'Get-MgGroupTransitiveMemberOf', 'New-MgGroupAcceptedSender',
77-
'New-MgGroupMember', 'New-MgGroupRejectedSender',
79+
'New-MgGroupMember', 'New-MgGroupMemberByRef',
80+
'New-MgGroupOwnerByRef', 'New-MgGroupRejectedSender',
81+
'New-MgGroupTransitiveMemberByRef', 'Remove-MgGroupAcceptedSender',
82+
'Remove-MgGroupCreatedOnBehalfByRef',
83+
'Remove-MgGroupRejectedSender', 'Set-MgGroupCreatedOnBehalfByRef',
7884
'Update-MgGroupAcceptedSender', 'Update-MgGroupRejectedSender'
7985

8086
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.

src/readme.graph.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,11 @@ directive:
350350
variant: ^Check(.*)
351351
set:
352352
verb: Confirm
353+
# Rename all /$ref cmdlets to *ByRef e.g. New-MgGroupOwnerByRef
354+
- where:
355+
subject: ^(\w*[a-z])Ref([A-Z]\w*)$
356+
set:
357+
subject: $1$2ByRef
353358
# Remove cmdlets
354359
- where:
355360
verb: Test

0 commit comments

Comments
 (0)