Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista Tutorial - How to retrieve the information provider by the HelpMessage attrib

Reply
 
Old 11-07-2006   #1 (permalink)
Joannes Vermorel
Guest


 
 

How to retrieve the information provider by the HelpMessage attrib

It is possible to associate a HelpMessage attribute value to any cmdlet
parameter; but I can't figure out what is the "canonical" way to retrieve
this information from the PowerShell command line itself.

Does anyone has an idea on this matter?

Thanks in advance,
Joannes
http://www.peoplewords.com

My System SpecsSystem Spec
Old 11-08-2006   #2 (permalink)
Krishna Vutukuri[MSFT]
Guest


 
 

Re: How to retrieve the information provider by the HelpMessage attrib

Hi Joannes,

The helpMessage parameter is not directly used by the PowerShell help
system. However you can see the content by using get-command as follows

PS C:\Documents and Settings\kriscv> (get-command get-help).ParameterSets |
more

Parameter Set Name: AllUsersView
Is default parameter set: True

Parameter Name: Name
ParameterType = System.String
Position = 0
IsMandatory = False
IsDynamic = False
HelpMessage =
ValueFromPipeline = False
ValueFromPipelineByPropertyName = True
ValueFromRemainingArguments = False
Aliases = {}
Attributes =
System.Management.Automation.ParameterAttribute


Thanks
Krishna[MSFT]
Windows PowerShell Team
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

"Joannes Vermorel" <JoannesVermorel@discussions.microsoft.com> wrote in
message news:ED62B431-75E8-43BD-8318-D5513B56B628@microsoft.com...
> It is possible to associate a HelpMessage attribute value to any cmdlet
> parameter; but I can't figure out what is the "canonical" way to retrieve
> this information from the PowerShell command line itself.
>
> Does anyone has an idea on this matter?
>
> Thanks in advance,
> Joannes
> http://www.peoplewords.com



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Retrieve U3 Usb Information Drivers
Retrieve memory information VB Script
Retrieve information of a remote machine in vbscript VB Script
Retrieve Windows System Information. .NET General
Retrieve file version information PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46