Get-ASIntuneGroups
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.
Return all the group names and their corresponding IDs present in Intune.
Example
The following is an example of the Get-ASIntuneGroups cmdlet:
Get-ASIntuneGroups -ConnectionName 'Intune' -Group 'TestGroup'
Parameters
The Get-ASIntuneGroups cmdlet has the following parameters:
Parameter |
Description |
ConnectionName |
(Required) Use to specify named connection to Intune deployment system. |
Group |
Use to specify the group name. Note:When a group name is entered, the system retrieves the first 100 groups that contain the specified name. If no group name is provided, it returns the first 100 Intune groups. |
Returns
Return all the group names and their corresponding IDs present in Intune.