title: set-aduser attributes different than AD properties?
body: <p>When I type <code>help set-aduser</code> at the PowerShell command line, I get the information listed below. The property that I am interested in changing is the office. </p>
  
  <p>According to the information listed below, that attribute is specified as <code>-office</code>. But there is no attribute in AD named office, it is actually <code>physicalDeliveryOfficeName</code>. Do they both refer to the same attribute in AD? Why is this, I would think that I can just specify the LDAP name?  </p>
  
  <pre><code>NAME
      Set-ADUser
  
  SYNOPSIS
      Modifies an Active Directory user.
  
  SYNTAX
      Set-ADUser [-Identity] &lt;ADUser&gt; 
      [-AccountExpirationDate &lt;System.Nullable[System.DateTime]&gt;] 
      [-AccountNotDelegated &lt;System.Nullable[bool]&gt;] [-Add &lt;hashtable&gt;] 
      [-AllowReversiblePasswordEncryption &lt;System.Nullable[bool]&gt;] 
      [-CannotChangePassword &lt;System.Nullable[bool]&gt;] [-Certificates &lt;hashtable&gt;] 
      [-ChangePasswordAtLogon &lt;System.Nullable[bool]&gt;] [-City &lt;string&gt;] 
      [-Clear &lt;string[]&gt;] [-Company &lt;string&gt;] [-Country &lt;string&gt;] [-Department &lt;string&gt;] 
      [-Description &lt;string&gt;] [-DisplayName &lt;string&gt;] [-Division &lt;string&gt;] 
      [-EmailAddress &lt;string&gt;] [-EmployeeID &lt;string&gt;] [-EmployeeNumber &lt;string&gt;] 
      [-Enabled &lt;System.Nullable[bool]&gt;] [-Fax &lt;string&gt;] [-GivenName &lt;string&gt;] 
      [-HomeDirectory &lt;string&gt;] [-HomeDrive &lt;string&gt;] [-HomePage &lt;string&gt;] 
      [-HomePhone &lt;string&gt;] [-Initials &lt;string&gt;] [-LogonWorkstations &lt;string&gt;] 
      [-Manager &lt;ADUser&gt;] [-MobilePhone &lt;string&gt;] [-Office &lt;string&gt;] 
      [-OfficePhone &lt;string&gt;] [-Organization &lt;string&gt;] [-OtherName &lt;string&gt;] 
      [-PasswordNeverExpires &lt;System.Nullable[bool]&gt;] 
      [-PasswordNotRequired &lt;System.Nullable[bool]&gt;] [-POBox &lt;string&gt;] 
      [-PostalCode &lt;string&gt;] [-ProfilePath &lt;string&gt;] 
      [-Remove &lt;hashtable&gt;] [-Replace &lt;hashtable&gt;] [-SamAccountName &lt;string&gt;] 
      [-ScriptPath &lt;string&gt;] [-ServicePrincipalNames &lt;hashtable&gt;] 
      [-SmartcardLogonRequired &lt;System.Nullable[bool]&gt;] [-State &lt;string&gt;] 
      [-StreetAddress &lt;string&gt;] [-Surname &lt;string&gt;] [-Title &lt;string&gt;] 
      [-TrustedForDelegation &lt;System.Nullable[bool]&gt;] 
      [-UserPrincipalName &lt;string&gt;] [-AuthType {Negotiate | Basic}] 
      [-Credential &lt;PSCredential&gt;] [-Partition &lt;string&gt;] [-PassThru &lt;switch&gt;] 
      [-Server &lt;string&gt;] [-Confirm] [-WhatIf] [&lt;CommonParameters&gt;]
  
      Set-ADUser -Instance &lt;ADUser&gt; [-SamAccountName &lt;string&gt;] [-AuthType {Negotiate | Basic}] [-Credential &lt;PSCredential
      &gt;] [-Partition &lt;string&gt;] [-PassThru &lt;switch&gt;] [-Server &lt;string&gt;] [-Confirm] [-WhatIf] [&lt;CommonParameters&gt;]
  </code></pre>