Public/InterceptionScripts/Get-R1InterceptionScriptLibrary.ps1
|
# .ExternalHelp psRadiantOne-help.xml function Get-R1InterceptionScriptLibrary { [CmdletBinding()] [OutputType('System.String')] param( ) Begin { Assert-R1Session -RequireToken }#begin Process { $URI = Resolve-R1ServiceUrl -Service Namespace -Path 'interception_scripts/libraries' $Result = Invoke-R1RestMethod -Uri $URI -Method GET if ($null -ne $Result) { $Result } }#process End { }#end } |