No matter which version of the shell I use (PS5/PS7/Integrated) Get-Adobject won’t return the Flags attribute in universal. It will on the same machine using PS5/7 in terminal or ICE. Is this a bug?
yes - i see it also. only std attributes are being populated.
but its random sometimes (most of the times) it works sometimes its not
cannot track it down
that’s very strange, if it’s running an instance of powerhsell 5/7 from universal, why would it be any different from running it in a terminal?
Does replacing Format-list with “Select-Object *” make any difference?
I did Select * and it didn’t make a difference.
Try using System.DirectoryServices.Protocols instead.
You can use S.DS.P PowerShell module which uses System.DirectoryServices.Protocols.
How would I do that?
Thanks!
