I have a very simple command that dont get all the details I requested back using Powershell Studio. If I issue the same command in PowerGUI it works.
Code: Select all
$AdObjectInformation = Get-ADObject -LDAPFilter "(SamAccountName=$SamAccountName)" -Server $domain -Properties * | Select *
I find it very odd.
Anyone know why this is?
Code: Select all
DistinguishedName : CN=*************************************************************C=net
Name : McNutt, Martin G
ObjectClass : user
ObjectGuid : e***************************3
PropertyNames : {accountExpires, adminCount, altSecurityIdentities, authOrigBL...}
PropertyCount : 136