Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

Newbie Question about Variables

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-18-2008   #1 (permalink)
greatbarrier86
Guest


 

Newbie Question about Variables

Hi,

Perhaps someone could help me with this. I'm a little stuck understanding
how to find out a specific piece of information from a list of data. For
instance, in Get-service, you have the various different parts, including
status. I know that when you use get-service, you use the $._Status, but do i
find out what ones are available? Are the available options the ones that are
displayed when you run the full query?

My System SpecsSystem Spec
Old 01-18-2008   #2 (permalink)
Brandon Shell [MVP]
Guest


 

Re: Newbie Question about Variables

<Command> | Get-Member
Example
Get-Process | Get-Member

More Info on Get-Member
http://technet.microsoft.com/en-us/l.../bb978623.aspx

Brandon Shell
---------------
Blog: http://www.bsonposh.com/
PSH Scripts Project: www.codeplex.com/psobject

g> Hi,
g>
g> Perhaps someone could help me with this. I'm a little stuck
g> understanding how to find out a specific piece of information from a
g> list of data. For instance, in Get-service, you have the various
g> different parts, including status. I know that when you use
g> get-service, you use the $._Status, but do i find out what ones are
g> available? Are the available options the ones that are displayed when
g> you run the full query?
g>


My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question Steve Grosz PowerShell 6 05-29-2008 07:34 PM
Newbie Question #3 Bare Foot Kid General Discussion 16 05-13-2008 07:39 PM
Newbie question Bare Foot Kid Graphic cards 2 04-12-2008 05:38 PM
Just a newbie question amplid General Discussion 2 03-09-2008 01:46 PM
Newbie question: autoexpanding variables that contain directory names using tab? arnaldo.cavazos PowerShell 3 09-16-2007 08:15 AM


Vistax64.com 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 2005-2008

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 47 48 49 50 51