On this page

Get-ServerConfiguration

SYNOPSIS

Get the data of a stored server.

SYNTAX

_All (Default)

Get-AtlassianServerConfiguration [<CommonParameters>]

ServerDataByUri

Get-AtlassianServerConfiguration [-Uri] <Uri> [<CommonParameters>]

ServerDataByName

Get-AtlassianServerConfiguration [-Name] <String[]> [<CommonParameters>]

DESCRIPTION

Retrieve the stored servers.

EXAMPLES

EXAMPLE 1

Get-AtlassianServerConfiguration

Get all stored servers

EXAMPLE 2

Get-AtlassianServerConfiguration -Name "prod"

Get the data of the server with Name “prod”

EXAMPLE 3

Get-AtlassianServerConfiguration -Uri "https://myserver.com"

Get the data of the server with address https://myserver.com

PARAMETERS

-Uri

Address of the stored server.

Is not case sensitive

Type: Uri
Parameter Sets: ServerDataByUri
Aliases: Url, Address

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Name of the server that was defined when stored.

Is not case sensitive

Type: String[]
Parameter Sets: ServerDataByName
Aliases: ServerName, Alias

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

[AtlassianPS.ServerData]

NOTES

AtlassianPS.ServerData

Set-ServerConfiguration

Remove-ServerConfiguration

Export-Configuration