mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-07 20:57:46 +00:00
22 lines
369 B
PowerShell
22 lines
369 B
PowerShell
$Json = @"
|
|
{
|
|
"indices": [
|
|
"identities"
|
|
],
|
|
"query": {
|
|
"query": "*",
|
|
"fields": [
|
|
"name"
|
|
]
|
|
}
|
|
}
|
|
"@
|
|
|
|
$Search = ConvertFrom-JsonToSearch -Json $Json
|
|
|
|
try {
|
|
Search-Post -Search $Search
|
|
} catch {
|
|
Write-Host ("Exception occurred when calling Search-Post: {0}" -f $_.ErrorDetails)
|
|
Write-Host ("Response headers: {0}" -f $_.Exception.Response.Headers)
|
|
} |