Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# see
# see to learn more about configuring the Tridion-CoreService module
# Install the Tridion-CoreService module from the Tridion-Powershell-Modules project
Install-Module -Name Tridion-CoreService
Import-Module -Name Tridion-CoreService
# Set the server configuration
Set-TridionCoreServiceSettings -Credential (Get-Credential) -CredentialType Windows
Set-TridionCoreServiceSettings -HostName my-cms-server -Version Web-8.5 -ConnectionType Basic-SSL
# Test configuration by listing the current user
Get-TridionUser -Current
#List all system/built-in/predefined users
$client = Get-TridionCoreServiceClient
$filter = New-Object Tridion.ContentManager.CoreService.Client.UsersFilterData;
$filter.IsPredefined = $true;
$client.GetSystemWideList($filter) | Select-Object Id, Title, Description, IsPredefined, IsEnabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment