Is it possible to have help on powershellISE for objects like "system.directoryServices.*" ?

Hello,

when i'm working on powershell ISE and i press F1 on the object "System.DirectoryServices.DirectorySearcher"
on the following line
$search = new-Object System.DirectoryServices.DirectorySearcher($ldapQuery)

Open in new window


the console get the line :
get-help "System.DirectoryServices.DirectoryEntry" -ShowWindow

Open in new window


but nothing appear, i receive an error message : "Get-Help could not find System.DirectoryServices.DirectoryEntry in a help file...."

if i start powershellISE as administrator nothing change.


my Questions:
is it possible to have help for such libraries in powershell ISE ?
if not how can i have help for such objects ?  for instance : i'd like to know what params they accept.

thank you.

toshi
Erwin PombettAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason CrawfordTransport NinjaCommented:
I've always just used MSDN:

https://msdn.microsoft.com/en-us/library/system.directoryservices(v=vs.110).aspx

You could always try running Update-Help, but I don't think it includes .NET.
0
FOXActive Directory/Exchange EngineerCommented:
0
Jason CrawfordTransport NinjaCommented:
Ultimately the best option is the ActiveDirectory module for PowerShell:

https://technet.microsoft.com/en-us/library/ee617195.aspx
0
footechCommented:
Get-Help doesn't work with objects, only commands, built-in topics, or scripts.

I think what you may be looking for is Get-Member (the alias is "gm").  Use that if you're looking to explore what properties and methods are available for an object type.  For example:
$search = New-Object System.DirectoryServices.DirectorySearcher
$search | gm

Open in new window


Learning to use that will help you a lot as you work with different .Net types.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.