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