Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msDS-AllowedToDelegateTo Property Returns Empty #2

Open
rootlo0p opened this issue Mar 25, 2019 · 1 comment
Open

msDS-AllowedToDelegateTo Property Returns Empty #2

rootlo0p opened this issue Mar 25, 2019 · 1 comment
Assignees

Comments

@rootlo0p
Copy link

rootlo0p commented Mar 25, 2019

A command seeking the property msDS-AllowedToDelegateTo returns empty values.

Steps to Reproduce

  1. PS c:\test> Import-Module .\ADModule\Import-ActiveDirectory.ps1
  2. PS c:\test> Import-ActiveDirectory
  3. PS c:\test> Get-ADObject -Filter {msDS-AllowedToDelegateTo -Ne "$Null"} -Properties msDS-AllowedToDelegateTo | Select objectclass, name, distinguishedname, msds-allowedtodelegateto

Actual Output

ObjectClass Name      DistinguishedName                               msds-allowedtodelegateto
----------- ----      -----------------                               ------------------------
user        dbservice CN=dbservice,CN=Users,DC=us,DC=funcorp,DC=local
computer    UFC-DB1   CN=UFC-DB1,OU=Servers,DC=us,DC=funcorp,DC=local

Expected Output

objectclass name      distinguishedname                               msds-allowedtodelegateto
----------- ----      -----------------                               ------------------------
user        dbservice CN=dbservice,CN=Users,DC=us,DC=funcorp,DC=local {TIME/UFC-DC1.US.FUNCORP.LOCAL, TIME/ufc-dc1}
computer    UFC-DB1   CN=UFC-DB1,OU=Servers,DC=us,DC=funcorp,DC=local {CIFS/UFC-WEBPROD.US.FUNCORP.LOCAL, CIFS/ufc-webprod}
@samratashok samratashok self-assigned this Mar 26, 2019
@samratashok
Copy link
Owner

Hi,

Can reproduce. The problem is when you use Import-ActiveDriectory.ps1, only the DLL is imported but the ActiveDirectory.psd1 is not imported.

Please try with the following:
Import-Module .\Microsoft.ActiveDirectory.Management.dll
Import-Module .\ActiveDirectory\ActiveDirectory.psd1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants