Difference between revisions of "Power Shell"

Jump to navigation Jump to search
358 bytes added ,  13:54, 3 September 2010
Added one "Useful One-Liners"
(→‎Credentials: Added "Store Password Securely")
(Added one "Useful One-Liners")
Line 33: Line 33:
=== Help Commands ===
=== Help Commands ===
<source lang="powershell">Get-Help <cmd>              # Provides help for CmdLets, use wildcards to broaden results.
<source lang="powershell">Get-Help <cmd>              # Provides help for CmdLets, use wildcards to broaden results.
<object> | Get-Member      # Provides information about an object</source>
<object> | Get-Member      # Provides information about an object
<variable>.gettype()        # Provides variable type info (string, array, etc)</source>
 
== Useful One-Liners ==
{|cellpadding="1" cellspacing="0" border="1"
|- style="background-color:#bbddff;"
! Command              !! Description
|-
|<code> Get-Content <file-path> <nowiki>|</nowiki> Out-GridView </code> || Display (log)file in the nice Grid View window   
|}


== Variables ==
== Variables ==

Navigation menu