AutoGenerated/DeviceConfigurationGroupAssignment.ps1
Function Get-GraphDeviceConfigurationGroupAssignment { Param( [string]$Filter, [string]$Id, [string]$version = 'beta' ) try { if(-not [string]::IsNullOrEmpty($Id)) { $Id = $Id.Replace('@','%40') Invoke-GraphMethod -query "DeviceConfigurationGroupAssignment/$($Id)" -filter $Filter -version $version } else { Invoke-GraphMethod -query "DeviceConfigurationGroupAssignment" -filter $Filter -version $version } } catch { Write-Error -Message $_.Exception.Message } } |