Public/Tenant/Get-IDTenantCdsSuffix.ps1
|
# .ExternalHelp IdentityCommand-help.xml function Get-IDTenantCdsSuffix { [CmdletBinding()] param( ) BEGIN {}#begin PROCESS { $RestCall = @{ "URI" = "$($ISPSSSession.tenant_url)/Core/GetCdsAliasesForTenant" "Headers" = $($ISPSSSession.WebSession.Headers) "Method" = "Post" "ContentType" = "application/json" } #Send Request $result = Invoke-IDRestMethod @RestCall return $result.Results.Row }#process END {}#end } |