Forum / Remote Desktop Manager - PowerShell Repository

Batch Edit all users

  • Create an Issue
  • Cancel

Hello All,

I was wondering if there is a way to utilize the powershell options within RDM to Batch edit all of my users.

I currently have over half of my users setup as "Read only Users" and need to switch them to "Users"

Thanks for any advice in advance.

Clock2 mths

Hello,

Sure it is possible to use the RDM PowerShell cmdlets to modify the UserType property.

Here is a sample script you can use to change the UserType property from ReadOnly to User.

$users = Get-RDMUser | where {$_.UserType -eq "ReadOnly"}
foreach ($user in $users)
{
$user.UserType = "User"
Set-RDMUser $user
}
Best regards,



Érica Poirier

signaturesignature

Clock2 mths