jhorsman
4/7/2017 - 12:09 PM

Make an administrator user in SDL Web with PowerShell. Using the Tridion CoreService module (https://github.com/pkjaer/tridion-powershell-mo

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"