Public/GlobalNamespace/Get-R1GlobalDynamicGroup.ps1
|
# .ExternalHelp psRadiantOne-help.xml function Get-R1GlobalDynamicGroup { [CmdletBinding()] [OutputType('psRadiantOne.DynamicGroup')] param( ) Begin { Assert-R1Session -RequireToken }#begin Process { $URI = Resolve-R1ServiceUrl -Service Namespace -Path 'dynamic_groups/global' $Result = Invoke-R1RestMethod -Uri $URI -Method GET if ($null -ne $Result) { $Result | Add-CustomType -Type psRadiantOne.DynamicGroup } }#process End { }#end } |