Skip to content

Commit 461f7f2

Browse files
Fix conflicting PS alias
1 parent a60cd89 commit 461f7f2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Src/DSInternals.Passkeys/DSInternals.Passkeys.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
RootModule = 'DSInternals.Passkeys.psm1'
99

1010
# Version number of this module.
11-
ModuleVersion = '1.0'
11+
ModuleVersion = '1.0.1'
1212

1313
# Supported PSEditions
1414
CompatiblePSEditions = @('Desktop','Core')
@@ -74,7 +74,7 @@ CmdletsToExport = @()
7474
VariablesToExport = @()
7575

7676
# Aliases 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 aliases to export.
77-
AliasesToExport = @('New-MgUserAuthenticationFido2Method')
77+
AliasesToExport = @('Register-MgUserAuthenticationFido2Method')
7878

7979
# DSC resources to export from this module
8080
# DscResourcesToExport = @()

Src/DSInternals.Passkeys/DSInternals.Passkeys.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function Get-MgGraphEndpoint
217217
}
218218
}
219219

220-
New-Alias -Name New-MgUserAuthenticationFido2Method -Value New-Passkey
220+
New-Alias -Name Register-MgUserAuthenticationFido2Method -Value Register-Passkey
221221

222222
Export-ModuleMember -Function 'Get-PasskeyRegistrationOptions','New-Passkey','Register-Passkey' `
223-
-Alias 'New-MgUserAuthenticationFido2Method'
223+
-Alias 'Register-MgUserAuthenticationFido2Method'

0 commit comments

Comments
 (0)