memesearch

Different Ways to Get DistinguishedName

Download Find similar pictures
Text on the meme
There's different ways to go at it. Or if you only want to purely display the DistinguishedName (ie for export purposes): Get-ADUser <username> -Properties DistinguishedName | Select-Object -ExpandProperty DistinguishedName (Get-ADUser <username> -Properties DistinguishedName).DistinguishedName Or if you're lazy (and in the future want to replace the DistinguishedName property with whatever property you want to extract): Get-ADUser <username> -Properties * | Select-Object DistinguishedName Get-ADUser <username> -Properties * | Select-Object -ExpandProperty DistinguishedName (Get-ADUser <username> -Properties *).DistinguishedName
What it means

A Reddit-style programming screenshot shows several PowerShell methods for retrieving or displaying an Active Directory user's DistinguishedName. The joke is that a simple task is explained with multiple increasingly convenient approaches, including an intentionally lazy wildcard-properties method, making it relatable to programmers who overthink or optimize routine commands. EN: A Reddit-style programming screenshot shows several PowerShell methods for retrieving or displaying an Active Directory user's DistinguishedName. The joke is that a simple task is explained with multiple increasingly convenient approaches, including an intentionally lazy wildcard-properties method, making it relatable to programmers who overthink or optimize routine commands.

Objects
Tags
Source
Type
video, 0:07
Size
880×380 · 62.5 KiB
Mood
саркастичный, технический
Language
en
Added