Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

PowerShell detailed reference Expand / Collapse
Author
Message
Posted Monday, October 5, 2009 12:31 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, July 18, 2014 5:31 AM
Points: 363, Visits: 1,317
Is there any reference that lists the properties and methods for the PowerShell commands and objects? I know I can use the "get-member" cmdlet, but it is a little bit tedious...
Will the "graphical powershell" scripting environment have "intellisense" in its final build?
Post #798113
Posted Monday, October 5, 2009 12:38 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 2:28 PM
Points: 33,062, Visits: 15,174
Not sure. The HELP section for BOL seems to reference the get-help command.

http://msdn.microsoft.com/en-us/library/cc281954.aspx


The learning item references the Windows shell.

http://msdn.microsoft.com/en-us/library/cc281945.aspx







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #798115
Posted Monday, October 5, 2009 12:39 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 8:27 AM
Points: 836, Visits: 2,286
This link mentions use of -Membertype argument to filter the output a little.
get-Process | get-Member -Membertype property

OR
get-Process | get-Member -Membertype method

I have not worked with PowerShell to much yet so I don't know if that is what you are looking for or not.


Shawn Melton
PS C:\>(Find-Me).TwitterURL
@wsmelton
PS C:\>(Find-Me).BlogURL
meltondba.wordpress.com
Post #798116
Posted Monday, October 5, 2009 2:21 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, July 18, 2014 5:31 AM
Points: 363, Visits: 1,317
Steve, Shawn, thanks for your quick responses.
Shawn - yes, that's what I'm already using ("MemberType"). While working on PS scripts, I try to build my own reference by copying the output into the good old Notepad.
Unfortunately it seems that Microsoft releases its products before finishing writing the appropriate documentation. And when, finally, the documentation is ready, it seems to me that it is written by some overseas guys, who copy and paste content without knowing the product in depth...
Post #798179
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse