Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.51 KB

File metadata and controls

41 lines (34 loc) · 1.51 KB

Get-EpiserverCmsConnectionStrings

Get and print the connection strings for specified resource group.
Example of connection strings for a resource group

Parameters

SubscriptionId

Your Azure SubscriptionId that holds the resource group.

ResourceGroupName

The name of the resource group.

DatabasePassword

The password to your database. The password that you specified when you created the database.

DatabaseName

If you have used your own ARM template. You may have used another database name then Epinovas example template. Then specify the name of the database.

Examples

Example 1

$SubscriptionId = "95a9fd36-7851-4918-b8c9-f146a219982c"
$ResourceGroupName = "mycoolwebsite"
$DatabasePassword = "KXIN_rhxh3holt_s8it"
Get-EpiserverCmsConnectionStrings -SubscriptionId $SubscriptionId -ResourceGroupName $ResourceGroupName -DatabasePassword $DatabasePassword

Example 2

Get-EpiserverCmsConnectionStrings -SubscriptionId "95a9fd36-7851-4918-b8c9-f146a219982c" -ResourceGroupName "mycoolwebsite" -DatabasePassword "KXIN_rhxh3holt_s8it"

How to get Subscription ID

Powershell

You can use powershell to get the subscription you are connected to.

Get-AzSubscription

Read more about Get-AzSubscription @ doc.microsoft

Manually

Obtain Azure Subscription ID

<< Back