South::CodeFF
Just some stuff from a bunch of LV coders
  Menu
Skip to content
  • Home
  • Copy-paste material

Category Archives: Active Directory

Get ExtensionAttributes via PowerShell

By Vampire | May 27, 2019 - 1:33 pm |May 27, 2019 Active Directory, Code snippets, PowerShell
Leave a comment
$u = Get-ADUser -Identity 'username' -Server 'server.lv' -Properties extensionAttribute1,extensionAttribute2

$u.extensionAttribute1
$u.extensionAttribute2

  • Recent Posts

    • MQTT C#
    • develop Notepad++ plugins (in c#).
    • Windows Service Creation
    • Actions with retries
    • Adding separator line in WinForms
  • Recent Comments

    • Archives

      • March 2021
      • September 2020
      • February 2020
      • November 2019
      • August 2019
      • July 2019
      • June 2019
      • May 2019
      • March 2019
    • Categories

      • .NET
      • Active Directory
      • cmd
      • Code snippets
      • PowerShell
      • Practical physics
      • SQL
      • Stupid
      • Uncategorized
      • Unity
      • WinForms
    • Meta

      • Log in
      • Entries feed
      • Comments feed
      • WordPress.org
    "I reject your reality and substitute my own."
    South::CodeFF | Powered by Mantra & WordPress.