-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.
Milestone
Description
Steps to reproduce
[adsi]Expected behavior
The code should return a System.RuntimeType representing the System.DirectoryServices.DirectoryEntry class, similar to the full version of PowerShell.
PS D:\Users\tsulli\sshscan> [adsi].GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
False True RuntimeType System.Reflection.TypeInfoActual behavior
Throws an exception.
PS /Users/tsulli> [adsi]
Unable to find type [adsi].
At line:1 char:1
+ [adsi]
+ ~~~~~~
+ CategoryInfo : InvalidOperation: (adsi:TypeName) [], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound
Environment data
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.15
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1Cheers,
Trevor Sullivan
Docker Captain
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86
jbolduan and dronkoff
Metadata
Metadata
Assignees
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.