Created
September 12, 2019 09:10
-
-
Save jhorsman/b218ba7e2e5587d21c395d5968583b61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install the Tridion-CoreService module from the Tridion-Powershell-Modules project. See https://github.com/pkjaer/tridion-powershell-modules | |
Install-Module -Name Tridion-CoreService | |
Import-Module -Name Tridion-CoreService | |
# Set the server configuration | |
Set-TridionCoreServiceSettings -HostName my-cms-server -Version Web-8.5 -ConnectionType Basic | |
Set-TridionCoreServiceSettings -Credential (Get-Credential) -CredentialType Windows | |
# Alternatively use SSL (https) | |
#Set-TridionCoreServiceSettings -HostName my-cms-server -Version Web-8.5 -ConnectionType Basic-SSL | |
#Set-TridionCoreServiceSettings -Credential (Get-Credential) -CredentialType Windows | |
# Alternatively if it is safe to save the password in plain-text format... | |
#Set-TridionCoreServiceSettings -HostName localhost -Version Web-8.5 -ConnectionType Basic | |
#$credential = New-Object System.Management.Automation.PSCredential("vagrant", (ConvertTo-SecureString "vagrant" -AsPlainText -Force)) | |
#Set-TridionCoreServiceSettings -Credential $credential -CredentialType Windows | |
# Test configuration by listing the current user | |
#Get-TridionUser -Current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment