powershell-intune-samples icon indicating copy to clipboard operation
powershell-intune-samples copied to clipboard

Function Get-AADGroup shares name with Microsoft.Graph.Intune Get-Groups Alias

Open marmingr opened this issue 4 years ago • 1 comments

The function Get-AADGroup in many of the scripts shares the same name as the Alias of Get-Groups in the Microsoft.Graph.Intune Powershell module, it has different parameters and if it is loaded when running these scripts the id parameters is not found because it tries to uses the module function instead of the function defined within the script.

marmingr avatar Jun 02 '21 23:06 marmingr

get-alias -Definition Get-Groups

CommandType Name Version Source


Alias Get-AADGroup 6.1907.1.0 Microsoft.Graph.Intune

marmingr avatar Jun 02 '21 23:06 marmingr