SpaceKey Parameter (Connect-Confluence Cmdlet)
Specifies the Confluence space key that provider uses to limit results to a single space.
Syntax
Connect-Confluence -SpaceKey string
Data Type
cstr
Default Value
""
Remarks
Set this property to return content only from the specified Confluence space. The value must match the key assigned to the target space in your Confluence instance.
If the SQL query also specifies a SpaceKey filter, the value in the SQL query overrides the connection property.
This property is useful when you want to restrict queries to a specific Confluence space without applying filters in every SQL statement.