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