Last active
January 6, 2022 22:43
-
-
Save jhorsman/8b5b6fb23b94cd5f8b81fb1ab9106a5f to your computer and use it in GitHub Desktop.
Make an administrator user in SDL Web with PowerShell. Using the Tridion CoreService module (https://github.com/pkjaer/tridion-powershell-modules).
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
Import-Module Tridion-CoreService | |
Set-TridionCoreServiceSettings -HostName "my-cm-server" -Version Web-8.5 -ConnectionType Basic-SSL -Persist | |
New-TridionUser -UserName "domain\username" -Description "Person Name" -MakeAdministrator | |
# For Web 8.5 the -MakeAdministrator option does not work, you have to add the user to the System Administrator group instead | |
# New-TridionUser -UserName "domain\username" -Description "Person Name" -MemberOf "System Administrator" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment