|
Guy recommends: This CG will put you in charge of controlling changes to network routers and other SNMP devices. Download your free Config Generator |
Windows PowerShell NounsIntroduction to Windows PowerShell NounsIn PowerShell, nouns always come after the verb. For instance: Verb-noun, Get-Process, New-Alias or Set-Location. One advantage of researching a noun is that it can lead to other interesting cmdlets in the same family. Noun ExperimentsExperiment with these commands, just substitute the noun that you are interested in: Get-Service) Special note: the pipeline symbol displays as ¦ at the PowerShell command-line, but as | in notepad. # To get a list of nouns for PowerShell v 2.0 try this: Note: There is a sister parameter -verb Refine your list like so: # To get a list of nouns for PowerShell v 2.0 try this: PowerShell Noun ListAcl (Get-Acl) Alias Childitem (Get-Childitem has an Alias of dir) Command (Get-Command) Content (Get-Content machines.csv) Drives Env Eventlog (not eventvwr)
˚
File (Out-file) Item (Get-Item d:\scripts) Object (Rare in that Get-object does not work, object used with where, new, group and sort, for example, new-object comobject and New-Object DirectoryServices.DirectoryEntry. Also where-object) Process Property (Get-Property c:\boot.ini) Provider Service WmiObject See also Windows PowerShell Verbs
Guy Recommends: SolarWinds Engineer's Toolset v10
|
|||||
Download my ebook:
|
*
|
|
Guy
Recommends: WMI Monitor and Its Free!
|
|
Home Copyright © 1999-2010 Computer Performance LTD All rights reserved Please report a broken link, or an error. | |