Last active
September 12, 2019 09:21
-
-
Save jhorsman/d92d11fc2b65efe6c9e9c49cd7f75740 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
# see https://github.com/pkjaer/tridion-powershell-modules | |
# see https://gist.github.com/jhorsman/b218ba7e2e5587d21c395d5968583b61 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