Learn about Windows PowerShell
Summary: Use the Get-Help cmdlet to find the Windows PowerShell 3.0 preference variables.
How can you easily find a listing of all the Windows PowerShell 3.0 preference variables?
Use the Get-Help cmdlet to display about_Preference_Variables Help.
You do not need to type the entire command—the following command opens the Help:
help about_pref*
Also, you can type "help about_pre" and hit tab and tab complete hooks you up...
hi,
PS II> # 8 chars :)
PS II> man Pref
Always helpful, isn't it?
@Brian Wilhite yes you are correct
@Walid Toumi even better :-) "PowerShell MAN Pages"
@Livio Von Buren thank you.
hi
you can extend the man like this:
$hs=@'
if($Name -and (gcm $Name).CommandType -eq 'Application') {
iex "$Name /? | more"
} else {
Get-Help @PSBoundParameters | more
}
'@
${function:help} = ${function:help} -replace '.*@PSBoundParameters.*',$hs
PS II> help tasklist