Skip to content

Instantly share code, notes, and snippets.

@jhorsman
Last active January 6, 2022 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jhorsman/8b5b6fb23b94cd5f8b81fb1ab9106a5f to your computer and use it in GitHub Desktop.
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).
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