-
Notifications
You must be signed in to change notification settings - Fork 14
Examples Setup
chrismrgn edited this page Oct 6, 2017
·
1 revision
This function will allow you to specify the environment or Tridion instance you want to run all commands against.
You can get your current settings using the command Get-TridionCoreServiceSettings
ClassName : Tridion.ContentManager.CoreService.Client.SessionAwareCoreServiceClient
EndpointUrl : http://192.168.8.111/webservices/CoreService201603.svc/wsHttp
HostName : 192.168.8.111
ConnectionSendTimeout : 00:01:00
CredentialType : Default
Credential : System.Management.Automation.PSCredential
AssemblyPath : C:\Users\cmorg\Documents\WindowsPowerShell\Modules\Tridion-
CoreService\Clients\Tridion.ContentManager.CoreService.Cl
ient.Web_8_5.dll
ConnectionType : Default
ModuleVersion : 2.4.0.0
Version : Web-8.5
If you need to change anything, run a command similar to below (optionally using -Persist
if you want that to be saved across PowerShell sessions)
Set-TridionCoreServiceSettings -HostName host -Version version -Credential domain\username -Persist