Differences between revisions 2 and 3
Revision 2 as of 2017-03-03 00:04:54
Size: 329
Editor: SamatJain
Comment:
Revision 3 as of 2017-03-20 23:25:50
Size: 391
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:

# Equivalent of UNIX `which`
(Get-Command which).Path
Line 6: Line 9:

   1 # Print current environment (i.e. export)
   2 Get-ChildItem Env:
   3 
   4 # Equivalent of UNIX `which`
   5 (Get-Command which).Path


CategoryCheatSheet

SamatsWiki: CheatSheet/PowerShell (last edited 2019-12-18 21:01:59 by SamatJain)