Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

Get-ADUserResultantPasswordPolicy - Seems to run but returns no results and no errors

Im running whilst logged in as a domain admin. Any ideas?

Windows Server 2012
Active Directory
0
Dallas Smetter
Asked:
Dallas Smetter
  • 2
1 Solution
 
TechieMDCommented:
Is your domain functional level less than DS_BEHAVIOR_WIN2008? This may be the case. Other reasons for no return values can be found here.
0
 
Dallas SmetterSolution EngineerAuthor Commented:
Both forest and domain are at 2008 R2
0
 
Adam BrownSr Solutions ArchitectCommented:
Get-ADUserResultantPasswordPolicy  will return nothing if there is no Password Settings Object that applies to the user you run the cmdlet against. It will basically just query the msds-ResultantPSO attribute for any user you pass to the cmdlet and read the password settings for the referenced PSO. If no PSO is assigned to the user, this attribute doesn't exist for the user and can't be read, so the cmdlet returns nothing.
0
 
Adam BrownSr Solutions ArchitectCommented:
No response from user, but this is the most likely cause of the problem
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now