Skip to content

Get-ConfluenceSiteInfo

SYNOPSIS

Get basic information about the connected Confluence site (read:space or read:page).

SYNTAX

__AllParameterSets

Get-ConfluenceSiteInfo [[-Context] <Object>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Returns the site's cloud ID (parsed from the API-gateway base URI) and the browsable site (wiki) base URL (read from the API's _links.base). A scoped v2 token cannot reach the dedicated site/settings endpoints (site name, edition, build number) — those are v1-only and are rejected.

EXAMPLES

EXAMPLE 1

Get-ConfluenceSiteInfo

Returns the cloud ID and browsable site URL for the connected site.

PARAMETERS

-Context

The context to use: an object, a context name, or $null for the default.

Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Management.Automation.PSObject

{{ Fill in the Description }}

NOTES