Archivi categoria: ActiveDirectory

ActiveDirectory: Update ExtensionAttribute with PowerShell

  • Facebook
  • Twitter
  • Google Plus
  • Pinterest
  • Delicious
  • LinkedIn
  • Email
  • PDF

Updating ExtensionAttribute with a single command and with ActiveRoles Management Shell for Active Directory… it’s very easy: Example: Get-QADUser -SearchRoot ‘OU=Unit,DC=Domain’ -objectAttributes @{extensionAttribute1=”value”} | Set-QADUser -objectAttributes @{extensionAttribute2=”newvalue”} Only users with email: Get-QADUser -SearchRoot ‘OU=Unit,DC=Domain’ -objectAttributes @{extensionAttribute1=”value”} -LdapFilter ‘(mail=*)’ | Set-QADUser -objectAttributes … Continua a leggere

Pubblicato in ActiveDirectory | Contrassegnato , , | Lascia un commento